Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups 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: 6966
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 Append data from two files into a sin... Praveen04 DFSORT/ICETOOL 5 Thu Mar 16, 2017 7:29 pm
No new posts IMS DB-How to update a record (a sing... Nic Clouston IMS DB/DC 9 Thu Mar 09, 2017 4:38 pm
No new posts Join giving more records than expected Danielle.Filteau SYNCSORT 2 Thu Mar 09, 2017 3:28 am
No new posts TSO or command line utility to genera... kishpra JCL & VSAM 3 Thu Mar 09, 2017 1:11 am
No new posts Extract set of records matching on ac... bhaskar_kanteti DFSORT/ICETOOL 3 Mon Mar 06, 2017 7:19 am


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us