Regarding ALTSEQ CODE

In this Mainframe Forum - You can post your queries on JCL, OS/390 JCL, MVS JCL, z/OS JCL, JES2 & JES3

Moderators: Frank Yaeger, DikDude, Moderator Group

Post Reply
ickgeek23
Member
Posts: 17
Joined: Tue Sep 13, 2011 7:57 am

Regarding ALTSEQ CODE

Post by ickgeek23 » Fri Feb 17, 2012 6:41 pm

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
:)

NicC
Active Member
Posts: 650
Joined: Sun Jul 24, 2011 5:27 pm
Location: Down on the pig farm

Post by NicC » Fri Feb 17, 2012 6:42 pm

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.
Regards
Nic

User avatar
Frank Yaeger
Moderator
Posts: 812
Joined: Sat Feb 18, 2006 5:45 am
Location: San Jose, CA
Contact:

Post by Frank Yaeger » Fri Feb 17, 2012 11:35 pm

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.
Frank Yaeger - DFSORT Development Team (IBM) - yaeger@us.ibm.com
Specialties: JOINKEYS, FINDREP, WHEN=GROUP, ICETOOL, Symbols, Migration
=> DFSORT/MVS is on the Web at http://www.ibm.com/storage/dfsort

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others