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 exec macro in the end of edit anatol CLIST & REXX 8 Fri Sep 22, 2017 5:10 am
No new posts Split 1 file into 10 output Files - S... Prasanth Kumar SYNCSORT 5 Sat Sep 16, 2017 12:02 am
No new posts Regarding time parameter shanthi gude JCL & VSAM 7 Mon Sep 04, 2017 2:31 pm
No new posts Changing sort Card Dynamically vickey_dw DFSORT/ICETOOL 5 Sat Aug 19, 2017 2:33 pm
No new posts Paasing symbolic parameter to instrea... Robert Sample JCL & VSAM 2 Thu Jul 27, 2017 1:22 pm

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