File status using rexx code

Ask/Clarify the questions on TSO, CLIST & REXX

Moderators: Veera, Moderator Group

Post Reply
kirand
Member
Posts: 4
Joined: Tue May 26, 2009 6:48 pm

File status using rexx code

Post by kirand » Wed May 27, 2009 3:44 pm

Hi,

I have a file called file1. I need to know whether this file is closed online or not..

Can i do this using a rexx program ?? if so , please help me with the code details !!!

Pls suggest a simple way to do this ...

User avatar
Natarajan
Moderator
Posts: 537
Joined: Fri Oct 10, 2008 12:57 pm
Location: chennai
Contact:

Post by Natarajan » Thu Jun 18, 2009 6:06 pm

Try executing the following command in REXX

WHOHAS '<dataset name>'

This command may be site specific.
Natarajan
Chennai

Post Reply

FREE TUTORIALS

Tutorials
Free tutorials from mainframegurukul
  • JCL Tutorial
    Covers all important JCL concepts.
  • Cobol Tutorial
    This tutorials covers all Cobol Topics from STRING to COMP-3.
  • DB2 Tutorial
    DB2 Tutorial focuses on DB2 COBOL Programming.
  • SORT Tutorial
    This Tutorial covers all important aspects of DFSORT with examples
  • CICS Tutorial
    This CICS tutorial covers CICS concepts and CICS Basics, CICS COBOL Programming.
Interview
Mainframe Interview questions



Other References
Mainframe Tools and others