I have a quick process / CAMLST macro question after readi
Hi All:

I have a quick process / CAMLST macro question after reading thru the DFHsmsdfp 
manual.
My situation is that I want to find a catalog QSAM file and then delete 
it..do I 
assume I do the following in Assembler:

1.  CAMLST LOCATE INDAB      where INDAB is the CAMLST macro with the dsname 
and 
storage area
2.  if this macro returns a R15 = 0 , means it was found
3.  CAMLST CATALOG REMOVE  where REMOVE ponts to CAMLST UNCAT,DSNAME
4   if this macro returns a R15=0 , means it was uncataloged
5.  CAMLST SCRATCH ABC   where ABC is CAMLST SCRATCH,DSNAME,,VOLIST,,OVRD

If this process is correct, how do I know where the dsname 'lives', which 
volume 
?  or is that returned in the LOCATE...

Any helpful points would be much appreciated.

Regards, 
Scott J Ford

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to