Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
2 records in single line

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
radhakrishnan82

Active User


Joined: 31 Mar 2005
Posts: 436
Location: chennai, India

PostPosted: Thu Feb 24, 2011 3:37 pm    Post subject: 2 records in single line
Reply with quote

I have a requirement below.

Input file 80char FB
Command ===>
Code:
 =COLS> ----+----1----+----2----+----3
 ****** *****************************
 000001 xxxxxxxx-01:  000001         
 000002 xxxxxxxx-02:  000002         
 ****** ****************************

Output file required 80 char FB
=COLS> ----+----1----+----2----+----3
****** *****************************
000001 xxxxxxxx-01: 000001 xxxxxxxx-02: 000002
****** ****************************

Can anyone please give me SORT step to acheive this.
Back to top
View user's profile Send private message

dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6970
Location: porcelain throne

PostPosted: Thu Feb 24, 2011 3:40 pm    Post subject:
Reply with quote

look at posts by frank for the last month or so.
there is a new function in DFSORT that provides a solution for your problem.

actually, not a problem, your request.
your problem can only be solved by changing your habits.
Back to top
View user's profile Send private message
kratos86

Active User


Joined: 17 Mar 2008
Posts: 148
Location: Anna NGR

PostPosted: Thu Feb 24, 2011 4:28 pm    Post subject:
Reply with quote

Check this

http://ibmmainframes.com/about51950.html
Back to top
View user's profile Send private message
radhakrishnan82

Active User


Joined: 31 Mar 2005
Posts: 436
Location: chennai, India

PostPosted: Fri Feb 25, 2011 2:26 pm    Post subject:
Reply with quote

RESIZE not accepted in my shop. My file has 80 char and the two rows which is having 20 char each in length. I want to write second record within 80 char position itself. Isnt possible. Not sure its an invalid question.
Back to top
View user's profile Send private message
fredrick andrews

New User


Joined: 10 Jun 2010
Posts: 52
Location: chennai

PostPosted: Fri Feb 25, 2011 3:20 pm    Post subject:
Reply with quote

This is covered in the Smart DFSORT Tricks pdf .
Back to top
View user's profile Send private message
radhakrishnan82

Active User


Joined: 31 Mar 2005
Posts: 436
Location: chennai, India

PostPosted: Fri Feb 25, 2011 4:41 pm    Post subject:
Reply with quote

Thanks. It works gr8. cool tricks.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts How to convert 2 bytes into single by... pkmurali DB2 6 Fri May 25, 2018 1:41 pm
No new posts Splitting one row into multiple Rows ... Rajan Moorthy DFSORT/ICETOOL 9 Mon May 14, 2018 10:58 pm
No new posts MXG - Processing Compressed DB2 SMF r... vasanthz All Other Mainframe Topics 2 Thu May 10, 2018 12:47 am
No new posts Extract the records with a PD field's... sudhakar84 DFSORT/ICETOOL 11 Mon Apr 02, 2018 7:26 pm
No new posts Merge 2 records sancraig16 SYNCSORT 19 Tue Mar 27, 2018 8:17 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us