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 splitting of file using XMITIP abdulrafi TSO/ISPF 3 Mon Mar 27, 2017 3:01 pm
No new posts Changing of LRECL of a file abdulrafi DFSORT/ICETOOL 2 Fri Mar 24, 2017 3:25 pm
No new posts splitting a file abdulrafi DFSORT/ICETOOL 4 Fri Mar 24, 2017 11:51 am
No new posts Receive a file using PCOMM macro Harald.v.K IBM Tools 0 Thu Mar 23, 2017 6:50 pm
No new posts Export flat file data into excel sheet murali.andaluri DFSORT/ICETOOL 2 Mon Mar 20, 2017 5:39 pm


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