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

FINDREP Failing


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sibi Yohannan

New User


Joined: 15 Apr 2009
Posts: 47
Location: Bangalore

PostPosted: Tue May 05, 2009 3:35 pm
Reply with quote

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
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3156
Location: Tucson AZ

PostPosted: Tue May 05, 2009 4:54 pm
Reply with quote

Please post the entire sysout.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


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

PostPosted: Tue May 05, 2009 5:08 pm
Reply with quote

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
View user's profile Send private message
Frank Yaeger

DFSORT Developer


Joined: 15 Feb 2005
Posts: 7129
Location: San Jose, CA

PostPosted: Tue May 05, 2009 9:04 pm
Reply with quote

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
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 -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts SMF Record Date conversion failing CLIST & REXX 1
This topic is locked: you cannot edit posts or make replies. Findrep - an identifier to mark the a... SYNCSORT 17
No new posts REXX exec (opercmd) failing quietly o... All Other Mainframe Topics 2
No new posts Invoke WebService failing with respon... CICS 3
Search our Forums:

Back to Top