View previous topic :: View next topic
|
Author |
Message |
sibi Yohannan
New User
Joined: 15 Apr 2009 Posts: 47 Location: Bangalore
|
|
|
|
I am using the below SORT Step to replace a STRING....
Code: |
//STEP1 EXEC PROC=SORTNW
//SORTIN DD DSN=INPUT.FILE,
// DISP=SHR
//SORTOUT DD DSN=OUTPUT.FILE,
// DISP=(,CATLG,DELETE),
// UNIT=unit,SPACE=(CYL,(2,1),RLSE)
//SYSIN DD *
SORT FIELDS=(1,2,CH,A)
OUTREC FINDREP=(IN=C'GOOD BYE',OUT=C'BYE')
/*
//*
|
JCL is abending with Condition Code of 16 and the the error Message
Code: |
SORT FIELDS=(1,2,CH,A)
OUTREC FINDREP=(IN=C'GOOD BYE',OUT=C'BYE')
$
INVALID INREC OR OUTREC STATEMENT OPERAND
END OF DFSORT |
|
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
Please post the entire sysout. |
|
Back to top |
|
|
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
User Guide for DFSORT PTF UK90013
url: www-947.ibm.com/systems/support/resources/sortugpf.pdf
Maybe the required PTF has not been applied.
the OP/TS has copied the FINDREP example from the above quoted document.
you can search thru Frank's post and find out what control cards you need
to determine your DFSORT 'status' (i.e. has this PTF been applied?) |
|
Back to top |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
Sibi,
The error message indicates you do not have z/OS DFSORT V1R5 PTF UK90013 (July, 2008) installed. You need this PTF in order to use FINDREP. Ask your System Programmer to install it (it's free).
For complete details on the FINDREP function and the other functions available with PTF UK90013, see:
Use [URL] BBCode for External Links |
|
Back to top |
|
|
|