View previous topic :: View next topic |
Author |
Message |
ANDY Beginner
Joined: 07 Feb 2004 Posts: 127 Topics: 67
|
Posted: Tue Jun 07, 2005 6:47 am Post subject: How to copy a sequential file into a PDS member ? |
|
|
Can someone supply a JCL to realize the above function?
Appreciate !!! _________________ cheers,
Andy |
|
Back to top |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12372 Topics: 75 Location: San Jose
|
Posted: Tue Jun 07, 2005 7:57 am Post subject: |
|
|
Andy,
The following JCL will give you the desired results.
Code: |
//STEP0100 EXEC PGM=SORT
//SYSOUT DD SYSOUT=*
//SORTIN DD DSN=YOUR SEQ FILE,
// DISP=SHR
//SORTOUT DD DSN=YOUR PDS(MEMBER NAME),
// DISP=SHR
//SYSIN DD *
SORT FIELDS=COPY
/*
|
Hope this helps...
Cheers
kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
Back to top |
|
|
ofer71 Intermediate
Joined: 12 Feb 2003 Posts: 358 Topics: 4 Location: Israel
|
Posted: Tue Jun 07, 2005 10:23 am Post subject: |
|
|
Usualy - I do it with FILEAID 3.3 (COPY).
I think that you can do it with IEBGENER, too.
O.
________
hash honey oil
Last edited by ofer71 on Sat Feb 05, 2011 11:21 am; edited 1 time in total |
|
Back to top |
|
|
ANDY Beginner
Joined: 07 Feb 2004 Posts: 127 Topics: 67
|
Posted: Mon Jun 13, 2005 12:55 am Post subject: |
|
|
Kolusu,
Thanks. It works.
Ofer71,
IEBGENER has some errors when copy. _________________ cheers,
Andy |
|
Back to top |
|
|
|
|