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

How do I get the desired output using DFSORT


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
sudhakarraju

New User


Joined: 05 May 2005
Posts: 31

PostPosted: Thu Sep 22, 2022 12:02 am
Reply with quote

How to get the required output ?

File1
1
22
333
4444

File2
1a
1b
1c
22a
22b
22c
333
333a
333c
4444a

Output
1 1a
1 1b
1 1c
22 22a
22 22b
22 22c
333 333
333 333a
333 333c
4444 4444a
Back to top
View user's profile Send private message
sergeyken

Senior Member


Joined: 29 Apr 2008
Posts: 1614

PostPosted: Thu Sep 22, 2022 12:55 am
Reply with quote

You need to:

1) learn how to use the Code button to present your code

2) RTFM on the required tools (DFSORT) to be used

3) understand the logical sequence of required operations needed to produce the result

4) train yourself with DFSORT existing examples, to understand this tool

5) try to apply new knowledges to your job

6) if you get the required result, your job is over

7) if you do not get the results you need, then present at the forum the following info:
- your input data
- your desired results
- your own code you tried to use
- actual results produced by your code

Then we can continue this discussion.


Good luck!
Back to top
View user's profile Send private message
Joerg.Findeisen

Active Member


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

PostPosted: Fri Sep 23, 2022 10:02 pm
Reply with quote

You can achieve the desired result with about six lines of code. It can't be much more simple than this. Present what you have tried and someone will step in helping you.
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 -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts Jes2 command output All Other Mainframe Topics 4
No new posts Generate output lines (SYSIN card for... DFSORT/ICETOOL 4
No new posts Conditional replace values in output ... DFSORT/ICETOOL 3
No new posts COBOL - create and write to output fi... COBOL Programming 0
No new posts Inserting variable length into output... JCL & VSAM 2
Search our Forums:

Back to Top