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: 1610
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: 7240

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 Limit duplicate records in the SORT pshongal SYNCSORT 6 Mon Nov 21, 2016 12:54 pm
No new posts How to convert the VBM file to VB or... Sulabh Agrawal JCL & VSAM 4 Fri Nov 18, 2016 1:04 pm
No new posts Sort records based on numeric field. Alks SYNCSORT 2 Wed Oct 19, 2016 10:14 pm
No new posts How to delete second instance from Fl... Gunapala CN DFSORT/ICETOOL 6 Tue Oct 18, 2016 11:42 pm
No new posts abend sort based on count records in ... anatol DFSORT/ICETOOL 5 Mon Oct 17, 2016 10:10 pm


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