How we can delete all the Logical File of a Physical file
in one instance ?
Answer Posted / anonymous- projo
You create a CL program using following tips
1. pass file name as a parameter.
2. Declare a Model DSPDBR outfile
3. Execute DSPDBR command and store the results in out file
declared in step 2.
4. Read this file to retrieve all file names in loop one
after another deleting each one.
| Is This Answer Correct ? | 18 Yes | 2 No |
Post New Answer View All Answers
how does union file maintains record formats?
what are the uses of factor1, factor2 and result field for the rpg operation code parm?
is it possible to create a physical file without dds?
what are the three types of keywords associated with printer file ?
can a join logical file be updated?
If I want to execute Sftp commands(LS & GET) stored in Physical file from CL program automatically...Can u Plz tell me how can I do this?...How the script will look?? THANX FOR NY HELP...
what is the use of data structures?
when do you use f-spec. Continuation line ?
which are the member types which seu supports?
what are the two record formats a subfile contain ?
what opcode will be used to test the zone of a character field?
what is the difference between sflclr and sflinz?
how can u check no of records in a file?
Space & Skip Are Which Level Keywords?
What Is The Error If We Don't Get Login Screen?