Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
One important library

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
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    Post subject: One important library
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    Post subject:
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    Post subject: Re: One important library
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    Post subject:
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    Post subject:
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    Post subject:
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    Post subject:
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    Post subject:
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    Post subject:
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    Post subject:
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    IBMMAINFRAMES.com Support Forums -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. How to save expanded jcl's into one l... enrico-sorichetti CLIST & REXX 13 Thu Jul 27, 2017 2:45 pm
No new posts how to find clist's or view library Andrew Hsia CLIST & REXX 4 Tue Jun 28, 2016 6:07 pm
No new posts Syntax to create new tableBASE library Sumeendar IBM Tools 1 Tue Sep 15, 2015 6:25 pm
No new posts Search Member Name in Library (DSORG=... jackare JCL & VSAM 9 Thu Jun 25, 2015 8:15 pm
No new posts how to exec rexx for all member libra... italo_pm CLIST & REXX 6 Sat Apr 25, 2015 1:20 am

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us