Page 1 of 1

FINDREP keyword

PostPosted: Tue Jan 24, 2012 4:16 pm
by jvinoth
Hi,

I used following jcl for replacing the characters
//STEP1 EXEC PGM=ICEMAN                                           
//SYSOUT DD SYSOUT=*                                             
//SORTIN DD DSN=infile1,DISP=SHR             
//SORTOUT DD DSN=outfile,                           
//           DISP=(NEW,CATLG,DELETE),                             
//           DCB=(LRECL=9,BLKSIZE=0,RECFM=FB),                   
//           SPACE=(TRK,(3,3))                                   
//SYSIN   DD  DSN=controlcard,DISP=SHR 

and my control card
 OPTION COPY                   
 INREC FINDREP=(INOUT=(C'JOHN',C'JONY'))

and it says cant find FINDREP keyword....so is there anyother keyword to replace ...please tell me
thanks

Re: FINDREP keyword

PostPosted: Tue Jan 24, 2012 4:22 pm
by BillyBoyo
Can you post the ICE201I message, plus the message including the error and the stuff around that message.

Re: FINDREP keyword

PostPosted: Tue Jan 24, 2012 4:51 pm
by enrico-sorichetti
if You do not post the EXACT message with the message identifier the chances of getting help are pretty slim

Re: FINDREP keyword

PostPosted: Tue Jan 24, 2012 5:09 pm
by jvinoth
I didn't submit the job actually..its a syntax error...i use jem command to check out the errors before submitting the job so in that it shows error

E1  8 DSS10065E  PARAMETER 'FINDREP' IS UNIDENTIFIED.

its a error i am getting

Re: FINDREP keyword

PostPosted: Tue Jan 24, 2012 5:29 pm
by enrico-sorichetti
the error You are getting is from the stupid jcl checker ( DSS.... )
not form <sort>

Re: FINDREP keyword

PostPosted: Tue Jan 24, 2012 5:37 pm
by jvinoth
so can you please tell me wht to do

Re: FINDREP keyword

PostPosted: Tue Jan 24, 2012 5:46 pm
by BillyBoyo
Ignore any errors from your JCL checker which relate to sort cards. If that is the only error, submit the job. DFSORT will tell you if there is a genuine error.

Then you'll tell us :-)

Re: FINDREP keyword

PostPosted: Tue Jan 24, 2012 5:51 pm
by enrico-sorichetti
all depends on Your organization standards
if the rule is that the stupid jcl checker must not return any errors You are out of luck... :geek:
speak to Your support, get a better jcl checker, or upgrade the current one (*)
otherwise just run the job

(*) jcl checkers most often are not current with the <control> statements used by some utilities/products ( SORT, IDCAMS)

Re: FINDREP keyword

PostPosted: Tue Jan 24, 2012 5:57 pm
by jvinoth
thank you all its working...so its not important to consider the DSS error...I am new to mainframe so fear to submit the job buz here ppl may something if i did anything wrong thank you so much enrico and billy.. thanks

Re: FINDREP keyword

PostPosted: Tue Jan 24, 2012 6:00 pm
by enrico-sorichetti
errors related to <real> JCL statements should be investigated
for the others it might become a religion war :geek: