View previous topic :: View next topic
|
Author |
Message |
kabyab
New User
Joined: 31 Aug 2005 Posts: 34 Location: Pune, India
|
|
|
|
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 |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
What have you found in your own research that prompts to ask the question ? |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
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 |
|
|
kabyab
New User
Joined: 31 Aug 2005 Posts: 34 Location: Pune, India
|
|
|
|
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 |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
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 |
|
|
Anuj Dhawan
Superior Member
Joined: 22 Apr 2006 Posts: 6250 Location: Mumbai, India
|
|
|
|
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 |
|
|
|