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
 
How to arrange 9 records into single record in flat file.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
Narismha

New User


Joined: 22 Nov 2006
Posts: 23
Location: Mumbai

PostPosted: Fri Dec 15, 2006 11:51 am    Post subject: How to arrange 9 records into single record in flat file.
Reply with quote

Hi,

I have the file with 9 records. I want those 9 records into one record. Can you please tell me the TSO command?

Example :

Records in flat file:

123456,
234565,
456466,
564356,
324556,
687686,
057645,
678067,
567775


Expected result through tso Command..

123456,234565,456466,564356,324556,687686,057645,678067,567775

Thanks
-Narisimha
Back to top
View user's profile Send private message

guptae

Moderator


Joined: 14 Oct 2005
Posts: 1190
Location: Bangalore,India

PostPosted: Fri Dec 15, 2006 12:22 pm    Post subject:
Reply with quote

Hi Narismha,

Its not a very good solution but it will solve ur purpose
first give )7 on second line to shift it 7

Code:
0001 123456,
)7   234565,
0003 456466,


then it will look

Code:
123456,       
       234565,
456466,   


then give MOVE & OVERLAY

Code:
  O    123456,       
M             234565,
000003 456466,   


u will get
Code:
123456,234565,
456466,


Smilarly u can use for other rows..
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4650
Location: Raleigh, NC, USA

PostPosted: Fri Dec 15, 2006 12:39 pm    Post subject: Re: How to arrange 9 records into single record in flat file
Reply with quote

A single TEXT FLOW (TF) line command ought to work.
Back to top
View user's profile Send private message
guptae

Moderator


Joined: 14 Oct 2005
Posts: 1190
Location: Bangalore,India

PostPosted: Fri Dec 15, 2006 12:50 pm    Post subject:
Reply with quote

Thanks alot SuperK.
I learnt a new thing today
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4650
Location: Raleigh, NC, USA

PostPosted: Fri Dec 15, 2006 1:01 pm    Post subject: Re: How to arrange 9 records into single record in flat file
Reply with quote

TEXT FLOW (TF) and TEXT SPLIT (TS) - couldn't imagine working without them, especially when creating documents or help text.
Back to top
View user's profile Send private message
Narismha

New User


Joined: 22 Nov 2006
Posts: 23
Location: Mumbai

PostPosted: Fri Dec 15, 2006 1:24 pm    Post subject:
Reply with quote

Thank you Superk.

Regards
-Narisimha
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 -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts IDCAMS RENAMING VSAM FILE ALONG WITH ... upendrasri JCL & VSAM 11 Tue Apr 17, 2018 10:42 pm
No new posts VSAM file NOT Found error while proce... SumaReva CICS 5 Wed Apr 11, 2018 9:54 pm
No new posts VSAM - Accessing beyond record size Benchwarmer JCL & VSAM 6 Wed Apr 11, 2018 9:20 pm
No new posts converting a mainframe file with ASA ... Lynne Schuler All Other Mainframe Topics 5 Wed Apr 04, 2018 9:44 am
No new posts Extract the records with a PD field's... sudhakar84 DFSORT/ICETOOL 11 Mon Apr 02, 2018 7:26 pm

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