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


Please Help Members By Posting Answers For Below Questions

what are different types of substems?

1344


what is externally described file ?

939


in which specification the report layout can be defined?

982


what is match field indicator?

1027


how to declare a constant variable in the freeformat?

963






the maximum number of subfiles that can defined in a rpg program for one display file is ___ .

2179


what would be the effect on the field where reverse image, underline and highlight display attributes are active ?

1000


What is the default access path of a file?

589


what are the various types of device files?

999


What Does 'sr' In Columns 7-8 Of C Specs Mean?

1068


when would you use or not use this approach?

893


where can you specify an indicator in lokup operation?

1160


what are the important factors in error message subfile ?

568


define what a data area is along with a brief example of what it may be used for?

964


what is the command to know key fields of file?

623