IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to check if a dataset is exist before creating


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
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
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
Reply with quote

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

ibmmainframes.com/viewtopic.php?t=3556&highlight=empty
ibmmainframes.com/viewtopic.php?t=4864&highlight=empty
ibmmainframes.com/viewtopic.php?t=590&highlight=empty
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
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
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
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
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
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
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts FINDREP - Only first record from give... DFSORT/ICETOOL 3
No new posts Map Vols and Problem Dataset All Other Mainframe Topics 2
No new posts SCOPE PENDING option -check data DB2 2
No new posts Check data with Exception Table DB2 0
No new posts Allocated cylinders of a dataset DB2 12
Search our Forums:

Back to Top