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 SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm
No new posts Copy RECFM =VB TO FB file with RECL =... sahil41352 DFSORT/ICETOOL 3 Wed Dec 28, 2016 11:29 pm
No new posts find particular member name in PDS us... ravi243 CLIST & REXX 10 Mon Dec 19, 2016 6:44 pm
No new posts Add PD field from 2nd file to PD in 1st Sushant Garje DFSORT/ICETOOL 6 Thu Dec 01, 2016 4:32 pm
No new posts How to find the first monday of the w... abdulrafi COBOL Programming 10 Fri Nov 25, 2016 3:24 pm


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