View previous topic :: View next topic |
Author |
Message |
kishore_gk Beginner
Joined: 23 Jul 2003 Posts: 12 Topics: 8
|
Posted: Tue Feb 24, 2004 5:26 am Post subject: creating an output file as a PDS Member |
|
|
Hi All,
I wanted to create an OUTPUT file as a PDS member.
Ex:
Input File : A.B.C, DISP=SHR (Sequential File)
Output File : XYZ(ABC) (Output file as a PDS Member)
Pls help me for the same
Thanks in Advance ,
kishore _________________ kishore |
|
Back to top |
|
 |
Mike Beginner

Joined: 03 Dec 2002 Posts: 114 Topics: 0 Location: Sydney, Australia
|
Posted: Tue Feb 24, 2004 6:42 pm Post subject: |
|
|
//INDD DSN=A.B.C,DISP=SHR
//OUTDD DSN=X.Y.Z(ABC),DISP=OLD
where INDD and OUTDD are program dependant. _________________ Regards,
Mike. |
|
Back to top |
|
 |
kishore_gk Beginner
Joined: 23 Jul 2003 Posts: 12 Topics: 8
|
Posted: Wed Feb 25, 2004 1:44 am Post subject: |
|
|
Hi Mike,
When I use DISP=OLD , its saying that the Member is not present in the DATA SET. I wanted to create that particular Member in the existing PDS.
Pls let me know if u have any alternative.
Kishore _________________ kishore |
|
Back to top |
|
 |
raggop Beginner

Joined: 05 Feb 2003 Posts: 19 Topics: 3
|
Posted: Wed Feb 25, 2004 3:39 am Post subject: |
|
|
//STEP001 EXEC PGM=IEBGENER
//SYSUT1 DD DUMMY
//SYSUT2 DD DSN=EDUC12.PLI.PDS(MEM2),DISP=SHR
//SYSPRINT DD SYSOUT=*
//SYSIN DD DUMMY
raghu |
|
Back to top |
|
 |
Maton_Man Beginner

Joined: 30 Jan 2004 Posts: 123 Topics: 0
|
Posted: Wed Feb 25, 2004 10:09 pm Post subject: |
|
|
Sounds like you are not allocating these datasets in JCL???
JCL doesn't care if the member exists or not when allocated DISP=OLD. It will create it for you.
Are you dynamically allocating these files in a Rexx or something similar? _________________ My opinions are exactly that. |
|
Back to top |
|
 |
|
|