View previous topic :: View next topic
|
Author |
Message |
Vayunandanrao
New User
Joined: 22 Mar 2005 Posts: 9
|
|
|
|
hi,
How to copy a flat file to VSAM file |
|
Back to top |
|
|
priyesh.agrawal
Senior Member
Joined: 28 Mar 2005 Posts: 1448 Location: Chicago, IL
|
|
|
|
Using IDCAMS, you can copy a flat file to a VSAM FIle.
//STEP EXEC PGM=IDCAMS
//SYSPRINT DD SYSOUT=*
//INFILE DD DSN=FLAT.FILE,
// DISP=(OLD,DELETE,KEEP)
//OUTFILE DD DSN=VSAM.FILE,
// DISP=OLD
//SYSIN DD *
REPRO-
INFILE(INFILE)-
OUTFILE(OUTFILE)
/*
Regards,
Priyesh |
|
Back to top |
|
|
atul
New User
Joined: 06 Apr 2005 Posts: 3
|
|
|
|
Using Repro
As the code is already provide by priyesh.
But i would like to provide u a table, try to fill it!
Y=Yes, N=No
For Copying:
I mean from a ps to ps, esds to rrds, and so on...
Chk urself!
Reply
PS ESDS RRDS KSDS
PS Y Y Y Y
ESDS Y
RRDS
KSDS |
|
Back to top |
|
|
|