Quantcast
Channel: IBM Mainframe Computers Forums
Viewing all articles
Browse latest Browse all 8500

SYNCSORT :: RE: SYNCSORT SEQNUM and FI fields.

$
0
0
Author: nartcr
Subject: Re: Reply to: SYNCSORT SEQNUM and FI fields.
Posted: Sat Jan 21, 2017 6:08 am (GMT 5.5)

Bill Woodger wrote:
What do you mean by "apparently, this code wouldn't work"?

Do you have more than a possible 32767 TEST_SID per TEST__ID? If not, what do you feel would be the difference between FI and BI, and if so, how would a signed "sequence number" help?


Sorry for the confusion. I am attaching the code,which i submitted. Ignore the code shown in previous post.

Code:

//SYSIN    DD   *
  SORT FIELDS=(1,4,FI,A,5,2,FI,A)
  OUTREC IFTHEN=(WHEN=INIT,
                 OVERLAY=(5:SEQNUM,2,FI,RESTART=(1,4)))
  OUTFIL BUILD=(1,80)
/*


What i mean is, i submitted this job, and it gave "Syntax error". Going through the manual, it said FI is not supported for SEQNUM. Only BI, ZD and PD values are supported.

The problem with BI is that when i reload back to the table, it has to be converted back to FI, if i understand correctly. Is there an easy way to handle this, other than doing through 2 steps.


Viewing all articles
Browse latest Browse all 8500

Trending Articles