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

Help required on SYSIN DD * maximum limits


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
kabyab

New User


Joined: 31 Aug 2005
Posts: 34
Location: Pune, India

PostPosted: Thu May 08, 2008 3:25 pm
Reply with quote

My requirement is to search for 10386 string values in a dataset. I need to know in which members in the dataset, each of those strings occur.

I have used ISRSUPC to code the following.
Here I have searched for two strings
SRCHFOR 'HBLI'
SRCHFOR 'LITE'

I need to know whether I can give 10386 entries under SYSIN DD * or is there any limit to it?

Also if I am providing the 10386 entires through some control card, then how many control cards at max can be coded in a JCL?


Code:

//SRCHFORE JOB (SRCH,FO),'SERC',REGION=8M,CLASS=C,
//     MSGCLASS=A,NOTIFY=&SYSUID                 
//SEARCH  EXEC PGM=ISRSUPC,                       
//            PARM=(SRCHCMP,                     
//            '')                                 
//NEWDD  DD DSN=JACK.JCL.WEST,               
//          DISP=SHR                             
//       DD DSN=JACK.JCL.STL,               
//          DISP=SHR                             
//OUTDD  DD DSN=JACK.OUTPUT.ISRSUPC2,           
//          DISP=(NEW,CATLG),UNIT=SYSDA,         
//          SPACE=(0,(50,100),RLSE),             
//          DCB=(BLKSIZE=0)                       
//SYSIN  DD *                                     
SRCHFOR  'HBLI'                             
SRCHFOR  'LITE'
/*                                               
Back to top
View user's profile Send private message
expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8797
Location: Welsh Wales

PostPosted: Thu May 08, 2008 4:04 pm
Reply with quote

What have you found in your own research that prompts to ask the question ?
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Thu May 08, 2008 4:24 pm
Reply with quote

if you use the parm IDPFX, you will make your output much easier to scrape (use).

i ran a test with 100,000 control cards and reached a memory limit. probably could have increase my region size and it would have worked, but what would i do with the output from a search of 100,000 items?

works with 14,000 without region size change.

again, how are you going to process this output file - by hand?
Back to top
View user's profile Send private message
kabyab

New User


Joined: 31 Aug 2005
Posts: 34
Location: Pune, India

PostPosted: Thu May 08, 2008 5:22 pm
Reply with quote

The requirement is such that we need to move a considerable number of members from a LOAD LIBRARY dataset to another new dataset. That Load Library is being referred to in many of our JCLs in the STEPLIB. We need to find out the how many of our JCLs are impacted i.e. dependent on those members which are being moved.

I was planning to put the member names in the SRCHFOR list and against NEWDD I will be using the JCL dataset.

Then we can find out how many members from the LOAD library are being referred to in the JCL.

I saw an earlier post where it was written that we can put as many entries as we like in the SRCHFOR list. So I was kind of wondering whether there is a limit to the number of entries we can mention in there.
Back to top
View user's profile Send private message
mmwife

Super Moderator


Joined: 30 May 2003
Posts: 1592

PostPosted: Thu May 08, 2008 7:37 pm
Reply with quote

Hi Kabyab,

Why don't you just try it? I assume you've got a list that can be cut pasted into a file or PDS member. Just propagate the SRCHFOR with M/OO and use the file/member as SYSIN.

If SUPRC coughs it up, find the max it will take and you can break SYSIN into segments and do multiple runs. Then combine & edit the O/Ps.
Back to top
View user's profile Send private message
Anuj Dhawan

Superior Member


Joined: 22 Apr 2006
Posts: 6250
Location: Mumbai, India

PostPosted: Thu May 08, 2008 11:34 pm
Reply with quote

Hi,

Try using
Code:
//SYSIN  DD DSN=DSN.CONTIANING.10386.ENTRIES

where DSN.CONTIANING.10386.ENTRIES is something like..
Code:
SRCHFOR  'REPRO'   
SRCHFOR  'IDCAMS' 
SRCHFOR  'START'   
.
.
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 -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Generate output lines (SYSIN card for... DFSORT/ICETOOL 4
No new posts SORT ERROR PARAMETER VALUE EXCEEDS M... DFSORT/ICETOOL 12
No new posts COBOL reading from SYSIN COBOL Programming 1
No new posts Required Date Format in Include Sort ... DFSORT/ICETOOL 6
No new posts concatenate sysin to dsn JCL & VSAM 7
Search our Forums:

Back to Top