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
 
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 ISSUE IN copying Sequential file reco... thesumitk JCL & VSAM 2 Wed Dec 13, 2017 3:07 pm
No new posts Merging 2 records at multiple rows wi... Bijesh DFSORT/ICETOOL 2 Wed Dec 06, 2017 1:50 am
No new posts File Tailoring -- Temporary dataset i... samzee71 CLIST & REXX 3 Fri Dec 01, 2017 3:12 am
No new posts Rexx - File tailoring samzee71 CLIST & REXX 10 Thu Nov 30, 2017 10:47 pm
No new posts Compare VSAM files using DFSORT pshongal DFSORT/ICETOOL 5 Thu Nov 23, 2017 10:24 am

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