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

Copying multiple files into a single file


IBM Mainframe Forums -> Mainframe Interview Questions
Post new topic   Reply to topic
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
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: 3156
Location: Tucson AZ

PostPosted: Tue Feb 27, 2007 11:49 pm
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
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> Mainframe Interview Questions

 


Similar Topics
Topic Forum Replies
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 2
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
Search our Forums:

Back to Top