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

2 records in single line


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

Active User


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

PostPosted: Thu Feb 24, 2011 3:37 pm
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: 6965
Location: porcelain throne

PostPosted: Thu Feb 24, 2011 3:40 pm
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
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: 435
Location: chennai, India

PostPosted: Fri Feb 25, 2011 2:26 pm
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
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: 435
Location: chennai, India

PostPosted: Fri Feb 25, 2011 4:41 pm
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 All times are GMT + 6 Hours
Forum Index -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts Format data from multiple records usi... SYNCSORT 4
No new posts Sort SMF records? SYNCSORT 6
No new posts To Sort detail records in a file with... SYNCSORT 5
No new posts Identify and write records containing... SYNCSORT 11
No new posts Filter records where condition is in ... SYNCSORT 6
Search our Forums:


Back to Top