IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

One important library


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
ap_mainframes

Active User


Joined: 29 Dec 2005
Posts: 181
Location: Canada

PostPosted: Sat Mar 18, 2006 3:56 pm
Reply with quote

Hi ,
I was looking at couple of REXX codes and foud that
library SYS1.SISPLPA is used on many occasion.
However I was not able to get for what purpose it was used.
For example a REXX utility was using this dataset and it was used for searching a string in the Dataset.

Can anybody tell me whats this library and where can it be used???

Thanks
ap_mainframes
Back to top
View user's profile Send private message
jon_s_rice

Active User


Joined: 24 Mar 2005
Posts: 102
Location: Douglasville, GA USA

PostPosted: Sat Mar 18, 2006 5:29 pm
Reply with quote

I do not know what this ReXX program was doing but SYS1.SISPLPA is a load library.
Back to top
View user's profile Send private message
ap_mainframes

Active User


Joined: 29 Dec 2005
Posts: 181
Location: Canada

PostPosted: Sat Mar 18, 2006 6:04 pm
Reply with quote

Hey jon,

That utility has got this statement

"CALL 'SYS1.SISPLPA(ISRSUPC)','SRCHCMP'"
Can anybody make out whats this doing??

Thanks
Back to top
View user's profile Send private message
jon_s_rice

Active User


Joined: 24 Mar 2005
Posts: 102
Location: Douglasville, GA USA

PostPosted: Sat Mar 18, 2006 6:10 pm
Reply with quote

That utility is the superc utility for searching a PDS for one or more strings. This is the same as 3.12 or 3.14 on ISPF.
Back to top
View user's profile Send private message
ap_mainframes

Active User


Joined: 29 Dec 2005
Posts: 181
Location: Canada

PostPosted: Sat Mar 18, 2006 6:15 pm
Reply with quote

Just going ahead with this.
Even if anybody can tell me how do I use SUPERC from REXX even that would help me a great deal.

Thanks
ap_mainframes
Back to top
View user's profile Send private message
jon_s_rice

Active User


Joined: 24 Mar 2005
Posts: 102
Location: Douglasville, GA USA

PostPosted: Sat Mar 18, 2006 6:19 pm
Reply with quote

If you examine the rest of thr code you will see systsin. The search parameters are built ion this dataset. Also an INDD will be allocated. This is the PDS or PDS's to be searched/
Back to top
View user's profile Send private message
ap_mainframes

Active User


Joined: 29 Dec 2005
Posts: 181
Location: Canada

PostPosted: Sat Mar 18, 2006 6:31 pm
Reply with quote

ok..thanks jon,
I would be grateful if you can tell me how exactly ( pseudo code ) do i need to call the compare utility ( of ISPF ) ??
Thanks for all the information

thanks
ap_mainframes
Back to top
View user's profile Send private message
jon_s_rice

Active User


Joined: 24 Mar 2005
Posts: 102
Location: Douglasville, GA USA

PostPosted: Sat Mar 18, 2006 6:55 pm
Reply with quote

I apologize, in a previous post I said INDD but it should be NEWDD. Also SYSIN is used not SYSTSIN. Your ReXX code you already have should serve as an example. In order to do the superc you need the following:
1. Allocate NEWDD to PDS to be searched.
2. Allocate SYSIN for search parameters
Assign variable for this dataset
sysparm.1 = "SRCHFOR 'subcom'"
"execio * diskw sysin (stem sysparm. finis)"
3. Allocate outdd for ouput for the superc.
4. call superc
listparm = 'DELTAL,LINECMP'
address linkmvs "isrsupc listparm"
Back to top
View user's profile Send private message
ap_mainframes

Active User


Joined: 29 Dec 2005
Posts: 181
Location: Canada

PostPosted: Sat Mar 18, 2006 7:16 pm
Reply with quote

hey jon..thanks.
but this code seems to be for searching..actually I needed for comparing ( please see my previous message).
Can you please provide that .

thanks
ap_mainframes
Back to top
View user's profile Send private message
jon_s_rice

Active User


Joined: 24 Mar 2005
Posts: 102
Location: Douglasville, GA USA

PostPosted: Sat Mar 18, 2006 7:24 pm
Reply with quote

Sorry, for comparing assign OLDD and NEWDD to the PDS members you wish to compare. The information in step 4 above was for a compare instead of a search.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Calling an Open C library function in... CICS 1
No new posts Submit multiple jobs from a library t... JCL & VSAM 14
No new posts Duplicate several members of/in one l... JCL & VSAM 7
No new posts Issue after ISPF copy to Linklist Lib... TSO/ISPF 1
No new posts Access library name in REXX CLIST & REXX 6
Search our Forums:

Back to Top