View previous topic :: View next topic
|
Author |
Message |
Susanta
Active User
Joined: 17 Nov 2009 Posts: 126 Location: India
|
|
|
|
Hi
Need to convert S9(8)V9(2) USAGE COMP-3. to displayable decimal . could you please help. using syncsort.
tried with below card but gives error "WER268A OUTFIL STATEMENT : SYNTAX ERROR "
Code: |
SORT FIELDS=COPY
OUTFIL FNAMES=FINAL1,
OUTREC BUILD=(1:C'1'
,2:6,6,PD,TO=ZD,LENGHT=10),
REMOVECC,HEADER1=('0',2:'xyzfile ',12:DATE=(4MD-)),
TRAILER1=('9',COUNT=(M11,LENGTH=10)) |
Code'd |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
LENGHT. Fix the typo.
Please use the Code tags to preserve spacing in future posts, and ensure that the marker which indicates the location of the error appears in the correct place. To see what your posting looks like before submitting it, use the Preview button. |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
Having now code'd it, it looks a real mess.
Code: |
SORT FIELDS=COPY
OUTFIL FNAMES=FINAL1,
BUILD=(C'1',
6,6,PD,
TO=ZD,
LENGTH=10),
REMOVECC,
HEADER1=('0',2:'xyzfile ',12:DATE=(4MD-)),
TRAILER1=('9',COUNT=(M11,LENGTH=10)) |
|
|
Back to top |
|
|
Susanta
Active User
Joined: 17 Nov 2009 Posts: 126 Location: India
|
|
|
|
if i want to conver the PD to ZD with visible decimal pointer and leading +/- sign, how can i do that.. |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
Use EDIT= with the mask you want. Examples here, also all explained in your SyncSORT documentation. In future please try to post in the correct part of the forum. |
|
Back to top |
|
|
|