IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search Log in to check your private messages Log in
 

Changing Data Type


 
IBM Mainframe Forums -> SYNCSORT
Post new topic   Reply to topic
View previous topic :: :: View next topic  
Author Message
tgwacker50

New User


Joined: 22 Jun 2020
Posts: 3
Location: USA

PostPosted: Mon Oct 19, 2020 9:06 pm
Reply with quote

I am sorting a file and while doing so am to add some info at the end of the file. Most of the info is constants, which I can do without an issue. There is 1 field within the record with a definition of 9(12)V99. This field is to be copied to the end of the record with a definition of 9(12)V99 COMP-3, or PD. A co-worker said that I should be able to do it within the sort. They can't remember the format of the command to do so, nor have I been able to find how to do it. Can anyone help me?
Back to top
View user's profile Send private message
Joerg.Findeisen

Active User


Joined: 15 Aug 2015
Posts: 350
Location: Bamberg, Germany

PostPosted: Mon Oct 19, 2020 9:45 pm
Reply with quote

Look up the following in the manual:

Code:
p,m,f,to
Back to top
View user's profile Send private message
sergeyken

Active Member


Joined: 29 Apr 2008
Posts: 876
Location: Maryland

PostPosted: Mon Oct 19, 2020 11:07 pm
Reply with quote

Joerg.Findeisen wrote:
Look up the following in the manual:

Code:
p,m,f,to


P.S.
Hint: it is a part of BUILD= parameter.
Back to top
View user's profile Send private message
Rohit Umarjikar

Global Moderator


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

PostPosted: Tue Oct 20, 2020 2:37 am
Reply with quote

Conversion ZD to PD signed
Conversion of ZD TO PD
Back to top
View user's profile Send private message
tgwacker50

New User


Joined: 22 Jun 2020
Posts: 3
Location: USA

PostPosted: Tue Oct 20, 2020 5:30 am
Reply with quote

Thank you. I got it resolved.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> SYNCSORT
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Forum Replies
No new posts How to find which file contains my se... DFSORT/ICETOOL 6
No new posts Copying data from prev record using SORT SYNCSORT 19
No new posts how to get total count from numeric d... SYNCSORT 9
No new posts Map a data element to SPACES if it is 0 COBOL Programming 2
No new posts Extract part of data from file and wr... DFSORT/ICETOOL 9

Back to Top