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
 
Sorting variable block file

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

New User


Joined: 27 Nov 2008
Posts: 51
Location: Delhi, India

PostPosted: Wed Sep 29, 2010 2:52 pm    Post subject: Sorting variable block file
Reply with quote

I have a variable block file where a “$” marks the beginning of a new record and records are split over multiple rows. This is how couple of records in the file look like:

${1:F01NWBKUSUSDXXX2580037162}
0}}{5:{CHK:D015C98706D7}.
${1:F01NWBKUSUSDXXX2580037162}
05:E}{332:0
0}}{5:{CHK:{SYS:}}.

Now I want to write a job so that these 2 records are written on 2 rows instead of splitting over multiple rows. This is how the output will look like:

${1:F01NWBKUSUSDXXX2580037162}0}}{5:{CHK:D015C98706D7}.
${1:F01NWBKUSUSDXXX2580037162}05:E}{332:00}}{5:{CHK:{SYS:}}.
Back to top
View user's profile Send private message

enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10326
Location: italy

PostPosted: Wed Sep 29, 2010 3:18 pm    Post subject: Reply to: Sorting variable block file
Reply with quote

odd but the topic looks a lot like
http://ibmmainframes.com/viewtopic.php?t=51459

it would be nice if people working in the same organization would coordinate their forum posting
in order to avoid duplicate posts on the same issue and wasting people time in replying to many posts when the issue is really ONE
Back to top
View user's profile Send private message
sqlcode1

Active Member


Joined: 08 Apr 2010
Posts: 578
Location: USA

PostPosted: Wed Sep 29, 2010 11:06 pm    Post subject:
Reply with quote

ppandey07,
Refer to http://ibmmainframes.com/viewtopic.php?t=51459 for solution.

Thanks,
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


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

PostPosted: Wed Sep 29, 2010 11:19 pm    Post subject:
Reply with quote

and both of you learn that:

ROWS is a DB2 term
RECORDS is a file term.

good chance that there was no coordination because each speaks in his own
technical dialect, so no one understands what the other is doing.
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 Execute JCL step based on the content... sprikitik JCL & VSAM 2 Tue Oct 03, 2017 10:03 am
This topic is locked: you cannot edit posts or make replies. PS file data should be passed as symb... d_sarlie JCL & VSAM 15 Tue Oct 03, 2017 5:18 am
No new posts Garbage on output file Hervey Martinez SYNCSORT 4 Wed Sep 27, 2017 12:50 am
No new posts File Aid tool to compare numeric data balaji81_k Compuware & Other Tools 2 Tue Sep 26, 2017 3:35 am
No new posts Compare yesterday's date to the one o... migusd SYNCSORT 11 Fri Sep 22, 2017 11:35 pm

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