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

how do you specify the number of records to roll in a subfile ?

1684


What is file access opcodes?

1022


how to develop some simple graphs (bar charts) using just html?

838


how will you display a particular page in subfile ?

1353


what is sflpag and sflsiz ?

2821


how to define global parameter in ile ?

862


what is a non-join logical file?

1305


If i change any file through application after entering data , how to check which file is updated through applications . For call stack we takes esc 3 then we chose 11..But What is answer of below qtn..?

1676


what are the different types of variables available in cl?

1354


define a shared access path?

1282


what is the command used to invoke rlu ?

1506


what is a composite key?

1300


what is service program?

780


Using %check we are checking monika in mona what is output? What is %SCAN?

1192


how to get the cursor position?

913