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: 2022
Location: USA

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

Senior Member


Joined: 15 Aug 2015
Posts: 1255
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 TRIM everything from input, output co... DFSORT/ICETOOL 1
No new posts Modifying Date Format Using DFSORT DFSORT/ICETOOL 9
No new posts Sortjoin and Search for a String and ... DFSORT/ICETOOL 1
No new posts Replace Multiple Field values to Othe... DFSORT/ICETOOL 12
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
Search our Forums:

Back to Top