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
 
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: 1806
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 question about dfsms management clas... Hervey Martinez IBM Tools 0 Tue Oct 10, 2017 6:19 pm
No new posts sort records based on length exceeds ... maxsubrat DFSORT/ICETOOL 7 Wed Oct 04, 2017 4:48 pm
No new posts JOINKEYS Paired and Unpaired Sort MFwhiz DFSORT/ICETOOL 4 Fri Sep 29, 2017 1:48 am
No new posts Difference in SORT & ICETOOL Mohan Kothakota DFSORT/ICETOOL 5 Fri Sep 22, 2017 4:56 pm
No new posts OC4 in SORT Mohan Kothakota DFSORT/ICETOOL 2 Tue Sep 12, 2017 6:30 pm

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