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
what is the favicon.ico request that my site receives now and then?
In RPG How to read a records from a file without using read opcodes?
What Is The Difference Between Goto & Exsr?
when do you explicitly open files and close files in an rpg program?
what is the purpose of dynslt keyword?
what is the difference between packed decimal and zoned decimal?
the maximum number of subfiles that can be active for a single file is ____ .
how can you execute a command from within an rpg program without calling a clp program?
explain the use of dftwrt display keyword?
What Does Lokup Does In Tables & Arrays?
when would you prefer logical file than opnqryf?
what is the maximum number of records you can specify in a display file?
can a indexed file be accessed in arrival sequence in rpg program?
what is cab?
What is compiler directive in as400? Give example of compiler directive.?