MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

creating an output file as a PDS Member

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL)
View previous topic :: View next topic  
Author Message
kishore_gk
Beginner


Joined: 23 Jul 2003
Posts: 12
Topics: 8

PostPosted: Tue Feb 24, 2004 5:26 am    Post subject: creating an output file as a PDS Member Reply with quote

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
View user's profile Send private message
Mike
Beginner


Joined: 03 Dec 2002
Posts: 114
Topics: 0
Location: Sydney, Australia

PostPosted: Tue Feb 24, 2004 6:42 pm    Post subject: Reply with quote

//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
View user's profile Send private message
kishore_gk
Beginner


Joined: 23 Jul 2003
Posts: 12
Topics: 8

PostPosted: Wed Feb 25, 2004 1:44 am    Post subject: Reply with quote

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
View user's profile Send private message
raggop
Beginner


Joined: 05 Feb 2003
Posts: 19
Topics: 3

PostPosted: Wed Feb 25, 2004 3:39 am    Post subject: Reply with quote

//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
View user's profile Send private message
Maton_Man
Beginner


Joined: 30 Jan 2004
Posts: 123
Topics: 0

PostPosted: Wed Feb 25, 2004 10:09 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Job Control Language(JCL) All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group