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
 

 

Copying multiple files into a single file

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
View previous topic :: :: View next topic  
Author Message
Shrikanth
Warnings : 1

New User


Joined: 26 Feb 2007
Posts: 5
Location: Bangalore

PostPosted: Tue Feb 27, 2007 11:41 pm    Post subject: Copying multiple files into a single file
Reply with quote

Hi

How are you all! i have small and simple query,

I have 5 files wanted to copy all the 5 files in a single file, what are the different types of logics we can use.

Thanks and Regards
Shrikanth
Back to top
View user's profile Send private message

William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Tue Feb 27, 2007 11:49 pm    Post subject:
Reply with quote

Of the top of my head, concatination and multiple SORTINs.
Back to top
View user's profile Send private message
banu_parveen

New User


Joined: 30 Jan 2007
Posts: 6
Location: india

PostPosted: Wed Feb 28, 2007 6:42 pm    Post subject: Re: Copying multiple files into a single file
Reply with quote

Hi,
You can also use Fileaid program.
As mentioned previously the you can concatenated all the n input files in the INDD and mention the output dataset in OUTDD.
The sysin card can be dummy.
Back to top
View user's profile Send private message
kshalini

New User


Joined: 20 Feb 2007
Posts: 8
Location: Banglore

PostPosted: Tue Mar 13, 2007 1:17 pm    Post subject: :Re
Reply with quote

Use IEBEGENER step
Back to top
View user's profile Send private message
nikhil.tak8

New User


Joined: 12 Jan 2007
Posts: 2
Location: delhi

PostPosted: Mon Mar 19, 2007 10:01 am    Post subject:
Reply with quote

its right u can use IEBEGENER utility
aur u can IEBCOPY if you r copying members from pds...
Back to top
View user's profile Send private message
kgumraj

Active User


Joined: 01 May 2006
Posts: 151
Location: Hyderabad

PostPosted: Wed Mar 21, 2007 3:51 pm    Post subject:
Reply with quote

Hi,

Logic comes only in programs, so You are expecting something from program, if so,

open file
read the file
write the record.

repeat this five times,
also can you give little more details regarding this ?
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 -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Export flat file data into excel sheet murali.andaluri DFSORT/ICETOOL 2 Mon Mar 20, 2017 5:39 pm
No new posts Formatting VB File Learncoholic DFSORT/ICETOOL 3 Mon Mar 20, 2017 12:29 pm
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 Updating a VSAM file with DISP=OLD sheersh JCL & VSAM 8 Tue Mar 14, 2017 6:14 pm
No new posts SORT VSAM file with each field one by... maxsubrat DFSORT/ICETOOL 6 Tue Mar 14, 2017 1:07 pm


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