INREC - RDW NOT INCLUDED



Support for NetApp SyncSort for z/OS, Visual SyncSort, SYNCINIT, SYNCLIST and SYNCTOOL

INREC - RDW NOT INCLUDED

Postby fede_cbaa » Wed Apr 23, 2014 4:04 am

I'm trying to do this in the Sysin

OPTION COPY
INREC IFTHEN=(WHEN=INIT,FINDREP=(IN=C'"',OUT=C' ')),
IFTHEN=(WHEN=(8,1,CH,EQ,C' '),OVERLAY=(1,1,C' '))
*
but the Job returns me = ABEND U0016

INREC RDW NOT INCLUDED

Do I have something wrong in the Statements?
fede_cbaa
 
Posts: 1
Joined: Wed Apr 23, 2014 3:58 am
Has thanked: 0 time
Been thanked: 0 time

Re: INREC - RDW NOT INCLUDED

 

Re: INREC - RDW NOT INCLUDED

Postby BillyBoyo » Wed Apr 23, 2014 4:32 am

Yes, you need to check the manual for the default start positions for OVERLAY. They are different for fixed-length and variable-length records. It seems you have variable-length records, and you have attempted, by accident, to trample on the RDW, which SORT will not let you do.

It is not clear what you want to do with 1,1 anyway. For variable-length records, the first data-position is 5, so your OVERLAY should be (5:something), where 5: means "column five of the record, which is column one of the record", and the 5 itself should be the actual column where you want the OVERLAY to put data.
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 264 times

Re: INREC - RDW NOT INCLUDED

Postby Terry Heinze » Wed Apr 23, 2014 6:51 pm

Please use Code tags (available with Full Editor).
Click on Code, insert or paste the data, then click Preview.
.... Terry
Terry Heinze
 
Posts: 193
Joined: Wed Dec 04, 2013 11:08 pm
Location: Richfield, MN, USA
Has thanked: 10 times
Been thanked: 11 times


Return to Syncsort/Synctool

 


  • Related topics
    Replies
    Views
    Last post