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

Active User


Joined: 15 Aug 2015
Posts: 439
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
Warnings : 2

Senior Member


Joined: 29 Apr 2008
Posts: 1003

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: 2627
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 JCL (SET) variables in input stream data JCL & VSAM 0
No new posts Issues with outrec overlay while extr... SYNCSORT 7
No new posts compare two file to find position/dat... SYNCSORT 2
No new posts Secondary index error while loading d... IMS DB/DC 2
No new posts SKIP LOCKED DATA in UPDATE statement DB2 9
Search our Forums:

Back to Top