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: 6968
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 Multiple VSAM files single output fil... Mohan Kothakota DFSORT/ICETOOL 11 Wed Aug 09, 2017 7:57 pm
No new posts Read two inputs and write into output... murali.andaluri DFSORT/ICETOOL 6 Wed Jul 26, 2017 7:35 pm
No new posts Check if any Detail records and extra... V S Amarendra Reddy SYNCSORT 19 Mon May 08, 2017 8:54 pm
This topic is locked: you cannot edit posts or make replies. SDSF multiple spool datasets extracte... PJAlarcon CLIST & REXX 1 Fri Apr 21, 2017 10:50 pm
No new posts Data replication from multiple Db2 ta... kishpra DB2 9 Mon Mar 27, 2017 9:58 pm


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