Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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 File Tailoring -- Temporary dataset i... samzee71 CLIST & REXX 3 Fri Dec 01, 2017 3:12 am
No new posts Copy 4 byte of data from the last rec... arunsoods DFSORT/ICETOOL 9 Fri Oct 06, 2017 12:15 pm
No new posts opening a dataset after reading it fr... arunsoods DFSORT/ICETOOL 5 Wed Oct 04, 2017 3:54 pm
No new posts Creating ISPF Screens with Scrname vi... Albireo20 TSO/ISPF 10 Tue Sep 05, 2017 4:24 pm
No new posts Updating the Trailer count in variabl... satheshbabur DFSORT/ICETOOL 6 Wed Aug 30, 2017 9:49 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us