Hi,
This is how I do it.
/file aaa;code=0
dscopy prvfile to *aaa; ;fcode=-400 { use listf aaa,3 to find the file code }
Source file: prvfile
Target file: AAA
10 logical record(s) transferred.
/listf aaa,2
FILENAME CODE ------------LOGICAL RECORD----------- ----SPACE----
SIZE TYP EOF LIMIT R/B SECTORS #X MX
AAA 128W FB 10 10 1 16 1 1
Then use qedit command
/list $c aaa all
to dump the content.
Thanks
Michael
Ewart writes :
I have an application which creates a PRIV file (not Image, so that users
can't delete it by accident) and I need to see what has been written into
it.
Does anyone know of a standard utility which will read such files. No
matter what I try to use, I always get FSError 45.."Privilege mode
violation".
Can't even drop it to a PC to examine it.
All I can think of is to take my program which reads this file and add an
option to print the details but if there is some other way........?