Batch INSYNC help needed...

Posted by Raja Reddy on Stack Overflow See other posts from Stack Overflow or by Raja Reddy
Published on 2009-12-24T05:10:05Z Indexed on 2010/05/13 1:34 UTC
Read the original article Hit count: 300

Filed under:
|
|
|

I have a INSYNC batch to 'extract' certain conditioned data output. For instance, below insync code extracts the data if 44 pos has a value of '25'. Question here is, I wanna get the output in a sorted manner based on a particular field. Can we incorporate the SORT criteria below. Suggestions are really appreciated.

FUNCTION=EXTRACT
INDD=#INDD 
OUTDD=#OUTDD 
RDW=OFF 
LINESPERPAGE=080
CASE
  SEARCHDATA=(00044,002,EQ,C'25')
ENDCASE

PS: We can achieve the same by means of SORT utility through 'SORT FIELDS' parameter.

© Stack Overflow or respective owner

Related posts about mainframe

Related posts about sort