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
 

 

SORT - TRAILER3 question

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
jpdeshai

New User


Joined: 24 Jun 2007
Posts: 57
Location: US

PostPosted: Thu Oct 09, 2014 8:36 am    Post subject: SORT - TRAILER3 question
Reply with quote

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,
Code:
 5:28,4
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
View user's profile Send private message

Rohit Umarjikar

Senior Member


Joined: 21 Sep 2010
Posts: 1742
Location: NY,USA

PostPosted: Thu Oct 09, 2014 11:27 am    Post subject:
Reply with quote

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
View user's profile Send private message
saravanakmr.tpr

New User


Joined: 16 Feb 2012
Posts: 7
Location: India

PostPosted: Fri Aug 21, 2015 5:32 pm    Post subject:
Reply with quote

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
View user's profile Send private message
Bill Woodger

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7315

PostPosted: Fri Aug 21, 2015 5:43 pm    Post subject: Reply to: SORT - TRAILER3 question
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Changing sort Card Dynamically vickey_dw DFSORT/ICETOOL 3 Sat Aug 19, 2017 2:33 pm
No new posts SORT to unpack a feild shr_amar DFSORT/ICETOOL 7 Fri Jul 07, 2017 4:32 am
No new posts How to write Specific Fields from Mul... Padhu SYNCSORT 6 Thu Jul 06, 2017 10:26 am
No new posts Optimize sort inrec parse vishwakotin DFSORT/ICETOOL 6 Mon Jun 26, 2017 11:15 pm
No new posts Reduce CPU Times for Join Sort santoshn SYNCSORT 12 Sat Jun 10, 2017 1:40 pm


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