I have to list out the PDS members which are existing in more than one PDS. To do that each time I am processing 2 PDS files. First I issue LMINIT and LMOPEN commands on first 2 PDS files
.
Iam issuing LMMLIST on PDS1 to read the PDS members sequentially and LMMFIND on the second PDS with MEMBER option to find if it existing. The MEMBER will have the value which was read by using LMMLIST. After processing all the members from the first PDS, I close and Free the PDS files by using LMCLOSE and LMFREE.
Now I have to do the same process on PDS2 and PDS3. While doing this when I issue LMOPEN after sucessful LMINIT on PDS2 there I am getting RC=10.
Even after successful LMINIT on PDS2 why I am getting RC=10.
Please correct me if I am doing some thing wrong here.
Posted: Mon Feb 07, 2005 1:42 pm Post subject: [b]PLEASE Ignore this- Sorry about posting it in hurry.[/b]
I just removed the semicolumns for DATAID field while issuing the LMINIT command. It worked now. What I am wondering is for first execution why it didn't give me any error.
If you did not, prior to this statement, assign a value to the variable 'AJXDATID', then, by REXX conventions, the value of the undefined variable is the name of the variable in upper-case, or 'AJXDATID'. So, this statement is processed as:
Joined: 03 Jan 2003 Posts: 1014 Topics: 13 Location: Atlantis
Posted: Mon Feb 07, 2005 11:10 pm Post subject:
Not an answer to your question, but ISPF already has that funciton built in. Allocate the PDSs to any ddname, start ISRDDN by typing TSO ISRDDN or just DDLIST, and type DUP ddname. Then once you see the list of duplicates, type SAVE and ISPF will create 'userid.ISRDDN.DUPLICAT'. ddname is any whole or partial ddname. If you don't specify a ddname, all ddnames are searched. Note that this also checks for duplicates loaded in storage (LPA), and the list supports FIND/RFIND.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum