Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to check if a dataset is exist before creating

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
husj

New User


Joined: 05 Sep 2005
Posts: 12
Location: P.R.C

PostPosted: Mon Sep 05, 2005 6:39 am    Post subject: How to check if a dataset is exist before creating
Reply with quote

Dear Friends,

In JCL,How to check if a sequential dataset is exist ? If it is not exsit, i have to create one.
Back to top
View user's profile Send private message

Kevin

Active User


Joined: 25 Aug 2005
Posts: 234

PostPosted: Mon Sep 05, 2005 7:23 am    Post subject: Re: check SAM file
Reply with quote

Here's just a few previous posts found with the search option:

http://ibmmainframes.com/viewtopic.php?t=3556&highlight=empty
http://ibmmainframes.com/viewtopic.php?t=4864&highlight=empty
http://ibmmainframes.com/viewtopic.php?t=590&highlight=empty
http://ibmmainframes.com/viewtopic.php?t=2742&highlight=empty
Back to top
View user's profile Send private message
husj

New User


Joined: 05 Sep 2005
Posts: 12
Location: P.R.C

PostPosted: Mon Sep 05, 2005 9:21 am    Post subject:
Reply with quote

hi,Kevin
I mean checking if the dataset is exist or not ,not empty. but whatever thanks a lot. I have found the answers by searching old posts.

beast regards
Back to top
View user's profile Send private message
Kevin

Active User


Joined: 25 Aug 2005
Posts: 234

PostPosted: Mon Sep 05, 2005 4:31 pm    Post subject: Re: check SAM file
Reply with quote

Oops, sorry. Glad to see you found your anser anyway. icon_redface.gif
Back to top
View user's profile Send private message
kumar_ngl
Warnings : 1

New User


Joined: 05 Aug 2005
Posts: 50
Location: chennai

PostPosted: Thu Sep 22, 2005 12:14 pm    Post subject:
Reply with quote

hi,

where did u find the result..plz explain how to get whether the file is existing or not??? will be big help to me..

thanks,
kumar.p.v
Back to top
View user's profile Send private message
Anbudan

New User


Joined: 07 Sep 2005
Posts: 26
Location: Germany

PostPosted: Thu Sep 22, 2005 2:49 pm    Post subject:
Reply with quote

Hi Kumar_ngl

The easy way is,
i)3.4
ii)Enter the PS data set name, which u have doubtful
iii)If exist, system will show the data set
other wise

u see the following message on the right top corner.

'No data set names found'
Back to top
View user's profile Send private message
narvapreddy
Warnings : 1

New User


Joined: 29 May 2005
Posts: 5

PostPosted: Thu Oct 06, 2005 8:33 pm    Post subject: without bind what will result
Reply with quote

hi,
goog evening all of u

after compilation of a cobol+db2 programe,with out bind we run the same

what will occur . icon_exclaim.gif
Back to top
View user's profile Send private message
narvapreddy
Warnings : 1

New User


Joined: 29 May 2005
Posts: 5

PostPosted: Thu Oct 06, 2005 8:34 pm    Post subject: can we see the load module
Reply with quote

hi

can we see the load module
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Unable to catalog a gdg dataset resid... Shovan JCL & VSAM 7 Fri Mar 24, 2017 2:24 pm
No new posts Want to pull the job log into a Mainf... Jishu Mukherjee Compuware & Other Tools 9 Tue Mar 21, 2017 4:48 pm
No new posts Check Binary Values for symbols gandikk CA Products 3 Tue Mar 21, 2017 5:11 am
No new posts JCL to get submitted once dataset has... vinu78 JCL & VSAM 17 Thu Feb 16, 2017 7:32 am
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 7 Fri Nov 18, 2016 1:48 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us