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 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: 4650
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 ISSUE IN copying Sequential file reco... thesumitk JCL & VSAM 2 Wed Dec 13, 2017 3:07 pm
No new posts File Tailoring -- Temporary dataset i... samzee71 CLIST & REXX 3 Fri Dec 01, 2017 3:12 am
No new posts Rexx - File tailoring samzee71 CLIST & REXX 10 Thu Nov 30, 2017 10:47 pm
No new posts Moving a PS file as body of a mail! Vignesh Sid JCL & VSAM 4 Tue Nov 21, 2017 9:23 pm
No new posts unable to set RC = 4 when empty file migusd SYNCSORT 1 Tue Nov 21, 2017 1:21 am

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