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 find whether a File is catalogued or not through Batc

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

New User


Joined: 02 Nov 2006
Posts: 1

PostPosted: Thu Nov 02, 2006 9:59 pm    Post subject: How to find whether a File is catalogued or not through Batc
Reply with quote

Hi

In JCL, before processing a file, i want to check whether the file is present or not.


Vasanth
Back to top
View user's profile Send private message

superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Fri Nov 03, 2006 12:23 am    Post subject: Re: How to find whether a File is catalogued or not through
Reply with quote

The LISTCAT command (TSO or in IDCAMS) should be able to tell you.
Back to top
View user's profile Send private message
partha123

New User


Joined: 04 Nov 2006
Posts: 2

PostPosted: Sat Nov 04, 2006 4:03 pm    Post subject: to check wheather file is present or nor?
Reply with quote

just type zoom in tso command line and keep the cursor in that particular file press enter

if it present,it will open in vew mode or it will return u dataset not present
Back to top
View user's profile Send private message
priyesh.agrawal

Senior Member


Joined: 28 Mar 2005
Posts: 1452
Location: Chicago, IL

PostPosted: Sat Nov 04, 2006 11:29 pm    Post subject: Re: How to find whether a File is catalogued or not through
Reply with quote

Dear Partha...
Original poster meant to check this in a JCL EXECUTION... Isn't it ?...
TSO command can be executed thru JCL, but how would you put cursor on the appropriate position.

What SuperK mentioned is the viable solution.
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 Converting Variable block file to Fix... bhavana yalavarthi DFSORT/ICETOOL 10 Tue May 16, 2017 2:20 pm
No new posts find RACF group for access to spooled... jzhardy JCL & VSAM 1 Mon May 08, 2017 11:46 am
No new posts Getting error while opening a variabl... apandey1 COBOL Programming 5 Fri May 05, 2017 12:22 pm
No new posts Issue with NDM process to transmit ES... chetanambi All Other Mainframe Topics 6 Wed May 03, 2017 10:52 am
No new posts File processing vishwakotin Mainframe Interview Questions 9 Fri Apr 28, 2017 11:38 am


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