Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

EDIT parameter in SYNCSORT control card

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
kalais

New User


Joined: 18 Apr 2006
Posts: 22

PostPosted: Thu Nov 23, 2006 4:40 pm    Post subject: EDIT parameter in SYNCSORT control card
Reply with quote

Hi,


I need to know the use of EDIT parameter provided in the SORT control card as

OUTREC FIELDS=(1:1,4,5:7,8,13:252,2,BI,EDIT=(TT),15:254,44)


Thanks,
Kalai
Back to top
View user's profile Send private message

Frank Yaeger

DFSORT Moderator


Joined: 15 Feb 2005
Posts: 7130
Location: San Jose, CA

PostPosted: Thu Nov 23, 2006 9:36 pm    Post subject:
Reply with quote

13:252,2,BI,EDIT=(TT)

Converts the 2-byte BI field at positions 252-253 of the input record to two EBCDIC digits at positions 13-14 in the output record. Examples: X'0001' -> '01', X'0015' -> '21', X'0100' -> '56'. Note that the 2 digits allowed by TT will cause the value to be truncated on the left if it's above 99 (X'0063'). That's why X'0100' will give '56' instead of '256'. The largest 2-byte BI value is X'FFFF' = 65535 and requires 5 digits -> EDIT=(TTTTT).
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Mass comment and edit elixir1986 IBM Tools 3 Thu Mar 02, 2017 10:09 pm
No new posts Can DFSPARM override SORTKEYS paramet... ashek15 DB2 2 Tue Jan 31, 2017 11:36 pm
No new posts Sort Card to Remove Duplicate records... raj4neo SYNCSORT 2 Wed Jan 25, 2017 4:44 am
No new posts SYNCSORT SEQNUM and FI fields. nartcr SYNCSORT 7 Sat Jan 21, 2017 4:02 am
No new posts Syncsort Help to group fields sudhakarraju SYNCSORT 6 Thu Dec 29, 2016 1:38 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us