Page 1 of 1

Regarding ALTSEQ CODE

Posted: Fri Feb 17, 2012 6:41 pm
by ickgeek23
Hi All,

SORT FIELDS=(10,2,CH,A)
ALTSEQ CODE=(ISAB)

Can any one tell me what is ALTSEQ and how it is used



THanks in Advance
:)

Posted: Fri Feb 17, 2012 6:42 pm
by NicC
Read the manual. Note: it is in the DFSORT manual not the JCL manual. I put this in extra because you seem to think it was a JCL query and not a SORT query. These two different products have their own sections within the forum.

Posted: Fri Feb 17, 2012 11:35 pm
by Frank Yaeger
ALTSEQ is used for changing the collating sequence. The following gives details of the DFSORT ALTSEQ statement:

http://publibz.boulder.ibm.com/cgi-bin/ ... 0608113434

However, the control statements you show are NOT valid for using ALTSEQ for two reasons:

1) The SORT statement uses CH so you would also need option CHALT in effect (it might be set as an installation default). Otherwise, you would have to use AQ, not CH.
2) CODE=(ISAB) is invalid. The values within CODE must all be valid hex characters (0-F). I and S are NOT valid hex characters.