Portal | IBM Manuals | Downloads | Products | Refer | Info | Programs | JCLs | Forum Rules*| Site Map | Mainframe CD 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index
 
Register
 
IBMMAINFRAMES.com - IBM Mainframe Support Forums Index FAQ Search Memberlist Usergroups Profile Log in to check your private messages Log in
 
Check for Member existence in an PO-dataset

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL
Author Message
hblun

New User


Joined: 29 Nov 2006
Posts: 3
Location: Germany

PostPosted: Fri Dec 01, 2006 4:04 am    Post subject: Check for Member existence in an PO-dataset
Reply with quote

Hi,

who knows how to check in a step whether an member in an PO-dataset exists or not. The way how to do it via rexx I know but I have no idea to do it just with JCL-statements for acting in the next steps in one or another way. Is there any Utility?

Hans
Back to top
View user's profile Send private message
References
rkprasanth_m

New User


Joined: 22 Jun 2006
Posts: 44

PostPosted: Fri Dec 01, 2006 4:23 pm    Post subject: Re: Check for Member existence
Reply with quote

would you be more specific?

What do you want to do if it exists and what if it doesn't exist?
Back to top
View user's profile Send private message
hblun

New User


Joined: 29 Nov 2006
Posts: 3
Location: Germany

PostPosted: Sat Dec 02, 2006 2:49 am    Post subject: Check for Member existence in an PO-dataset
Reply with quote

Thanks for reply. I'll copy data into the member if it exists. Otherwise I have to create the meber and copy some header records to this memebr. Afterwards I'll copy above data into this just created member too.
Hopefully it's understandable.
Regards
Hans
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 3264
Location: Charlotte,NC USA

PostPosted: Sat Dec 02, 2006 4:03 am    Post subject: Re: Check for Member existence in an PO-dataset
Reply with quote

Out of curiosity, what happens if you run IEBCOPY and attempt to select that one member only?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL All times are GMT + 6 Hours
Page 1 of 1