View previous topic :: View next topic
|
Author |
Message |
jpdeshai
New User
Joined: 24 Jun 2007 Posts: 57 Location: US
|
|
|
|
Hi,
Can someone please help me with this TRAILER3 query.
Here is my Stmt:
Code: |
TRAILER3=(5:28,4,10:25,3,15:17,2,25:19,01,45:COUNT) |
in Above stmt,
is a packed decimal field. (Date:2014273). IT i snow printing in Packed format. But I need it to convert it to display format.
Please advise. |
|
Back to top |
|
|
Rohit Umarjikar
Global Moderator
Joined: 21 Sep 2010 Posts: 3053 Location: NYC,USA
|
|
|
|
You probably be looking for EDIT and SIGNS to be used to do the same also see if you can use TO=ZD operator. |
|
Back to top |
|
|
saravanakmr.tpr
New User
Joined: 16 Feb 2012 Posts: 9 Location: India
|
|
|
|
I am also having the same kind of requirement..
My input is in binary & i need to convert it to ZD. But, as I checked in some manuals, we cannot edit fields in TRAILER3 unless we specify it in aggregate functions like TOT, AVG etc..
Could anyone please confirm on the same ?
Is there any way to change it in trailer3 itself rather changing it using INREC fields ? |
|
Back to top |
|
|
Bill Woodger
Moderator Emeritus
Joined: 09 Mar 2011 Posts: 7309 Location: Inside the Matrix
|
|
|
|
Your interpretation of the manual was correct. You can only access "unedited input" to the OUTFIL on TRAILER3 as far as direct source-data is concerned. So you'll have to use INREC or OUTREC. |
|
Back to top |
|
|
|