IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

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

Senior Member


Joined: 15 Aug 2015
Posts: 1306
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

Senior Member


Joined: 29 Apr 2008
Posts: 2119
Location: USA

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: 3075
Location: NYC,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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> SYNCSORT

 


Similar Topics
Topic Forum Replies
No new posts External data queue (changes?) CLIST & REXX 0
No new posts Sort based on the record type DFSORT/ICETOOL 1
No new posts Pull data using date difference betwe... DB2 6
No new posts fast data scrambling PL/I & Assembler 10
No new posts How to save SYSLOG as text data via P... All Other Mainframe Topics 4
Search our Forums:

Back to Top