Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 Reformatting and adding additional fi... Badbeef SYNCSORT 6 Thu Apr 05, 2018 4:45 pm
No new posts Need better approach to create a sort... Vamshi Veludandi DFSORT/ICETOOL 8 Thu Mar 08, 2018 5:59 pm
No new posts SORT CARD ram_vizag DFSORT/ICETOOL 13 Thu Mar 01, 2018 4:55 am
No new posts can we hardcode a value in db2 load c... ram_vizag DB2 2 Wed Feb 28, 2018 11:04 pm
No new posts How to control Panel Attributes throu... rsshanmugam CLIST & REXX 3 Mon Feb 26, 2018 9:51 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us