Command for Select on a PDS or file

Ask/Clarify the questions on TSO, CLIST & REXX

Moderators: Veera, Moderator Group

Post Reply
tavisha.sareen
Member
Posts: 6
Joined: Sat Jan 24, 2009 2:43 am

Command for Select on a PDS or file

Post by tavisha.sareen » Fri Mar 13, 2009 11:28 am

Hi,

I wanted to know if there is any command through which I can do select on the dataset or file and get the information.I dont want to do it by writing 'S' in front of the dataset.
Please let me know asap if there is any such command.

Thanks

Anuj Dhawan
Moderator
Posts: 1625
Joined: Sat Aug 09, 2008 9:02 am
Location: Mumbai, India

Post by Anuj Dhawan » Sun Mar 15, 2009 10:39 am

Hi,

Your post in TSO, CLIST & REXX part of the forum, so it seems you are looking for ISPF commands but "S" is not your choice so may be "I" in front of PDS/DSN in ISPF 3.4 can work for you... if this is not what you are looking for - please explain your query a little more and what's the reason behind this choice
I dont want to do it by writing 'S' in front of the dataset.
Regards,
Anuj

tavisha.sareen
Member
Posts: 6
Joined: Sat Jan 24, 2009 2:43 am

Post by tavisha.sareen » Sun Mar 15, 2009 11:06 am

I want something like to write a command on command prompt and then place my cursor on the PDS name and it sholuld display the whole info about it.May be I am placing the query in the wrong forum.Please suggest if u know anything like that.

Anuj Dhawan
Moderator
Posts: 1625
Joined: Sat Aug 09, 2008 9:02 am
Location: Mumbai, India

Post by Anuj Dhawan » Sun Mar 15, 2009 11:25 am

Hi,

Then you are looking for something knwon as "Rexx-CDSN (Cursor DSN Utility). It's kinda long REXX and I use it quite frequently but I don't have source handy this time. And before I suggest something please tell me what does "whole info" refers to in
display the whole info about it
Regards,
Anuj

tavisha.sareen
Member
Posts: 6
Joined: Sat Jan 24, 2009 2:43 am

Post by tavisha.sareen » Tue Mar 17, 2009 7:12 am

Yes I require the REXX command in order to get the information about the dataset that we get through typing 'S' in front of the dataset.
I want to create a macros in order to do it.Like I used command
ADDRESS ISPEXEC "BROWSE DATASET("FileName")" in order to browse the dataset.I require such command for getting the info.

Please reply asap.Thanks

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