IGGCSIRX filter key



IBM's Command List programming language & Restructured Extended Executor

IGGCSIRX filter key

Postby Wilscat » Mon Dec 19, 2016 11:13 pm

I am using IGGCSIRX to find datasets with a wildcard. Is there a way to find more than one at a time?

My JCL looks like:

//STEP10 EXEC PGM=IKJEFT01
//SYSPROC DD DSN=SYS1.SAMPLIB,DISP=SHR
//SYSTSPRT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSTSIN DD *
%IGGCSIRX
*.ABC.F34634.FSE
/*
//

But, I have many datasets that I need to look for with wildcards and would prefer not to run the job multiple times. Does the filter key have a continuation syntax?

Thank you!
Wilscat
 
Posts: 2
Joined: Mon Dec 19, 2016 11:07 pm
Has thanked: 0 time
Been thanked: 0 time

Re: IGGCSIRX filter key

Postby Pedro » Mon Dec 19, 2016 11:41 pm

I was able to repeat the input lines in the same step:
//STEP10 EXEC PGM=IKJEFT01
//SYSPROC DD DSN=SYS1.SAMPLIB,DISP=SHR
//SYSTSPRT DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSTSIN DD *
%IGGCSIRX        
PEDRO.CLIST.CLIST
%IGGCSIRX        
PEDRO.JCL.CNTL  
/*
 


And IGGCSIRX is a sample program. You can make a copy of it to modify. It currently issues only one PULL statement (one line from the input file). To meet your criteria, you could add a loop so that it keeps PULL-ing until it gets a null.
Pedro Vera
User avatar
Pedro
 
Posts: 686
Joined: Thu Jul 31, 2008 9:59 pm
Location: Silicon Valley
Has thanked: 0 time
Been thanked: 53 times

Re: IGGCSIRX filter key

Postby Wilscat » Mon Dec 19, 2016 11:51 pm

Ok, that works. Thank you for the suggestion. I'm a rookie so will continue to use the sample program :-)
Wilscat
 
Posts: 2
Joined: Mon Dec 19, 2016 11:07 pm
Has thanked: 0 time
Been thanked: 0 time


Return to CLIST & REXX