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
 

 

To open a PDS/ Member using REXX

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> CLIST & REXX
View previous topic :: :: View next topic  
Author Message
shankharns

New User


Joined: 15 Sep 2008
Posts: 3
Location: BANGALORE

PostPosted: Mon Sep 15, 2008 3:18 pm    Post subject: To open a PDS/ Member using REXX
Reply with quote

Hi ,

If I have four PDS containing Jobs, Procs, Programs and Copybooks, how can I , using REXX commands, open the PDS without tyoing the entire name in START; 3.4.

Can I type TSO J and view the PDS having all JOBS ?

Also ,
Can I have a REXX Utlity such that if I give TSO OP <name> , it opens the member ?

( Where <name> can be job, proc , copybook or program and these are in different PDS's )

Thank You.
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Mon Sep 15, 2008 3:44 pm    Post subject:
Reply with quote

The answer is yes, but your question is not really clear.

Please clarify exactly what you want.
Back to top
View user's profile Send private message
shankharns

New User


Joined: 15 Sep 2008
Posts: 3
Location: BANGALORE

PostPosted: Mon Sep 15, 2008 3:51 pm    Post subject: Reply to: To open a PDS/ Member using REXX
Reply with quote

Hi,

I just need to avoid going to START; 3.4 and entering the PDS name each time to view a member.

Instead I wish to have either or both options :

SAY I have 4 PDS's

AA.BB.CC.JCL
AA.BB.CC.PROC
AA.BB.CC.COBOL
AA.BB.CC.COPYBOOK


1. When I type TSO P the PDS AA.BB.CC.PROC should open in view mode.

2.When I give TSO OP XYZ (say XYZ is a program and present in AA.BB.CC.COBOL) , then the member should be opened in view mode.

I think for (1) & (2) two different REXX needs to be written.Please let me know how to go about this.

Thank you
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10256
Location: italy

PostPosted: Mon Sep 15, 2008 4:20 pm    Post subject: Reply to: To open a PDS/ Member using REXX
Reply with quote

check the ISPF personal datasets list options
Back to top
View user's profile Send private message
shankharns

New User


Joined: 15 Sep 2008
Posts: 3
Location: BANGALORE

PostPosted: Mon Sep 15, 2008 4:24 pm    Post subject: Reply to: To open a PDS/ Member using REXX
Reply with quote

Hi,

How can I do that ?
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10256
Location: italy

PostPosted: Mon Sep 15, 2008 4:55 pm    Post subject: Reply to: To open a PDS/ Member using REXX
Reply with quote

what about PF1 ?
or ... the ispf documentation starting from
Back to top
View user's profile Send private message
Pedro

Senior Member


Joined: 01 Sep 2006
Posts: 2038
Location: Silicon Valley

PostPosted: Mon Sep 15, 2008 9:44 pm    Post subject: Reply to: To open a PDS/ Member using REXX
Reply with quote

It sounds like you want at least two different rexx execs. You will need to add new members to your SYSPROC or SYSEXEC concatenation. The member names are the names that they will be called by (either P or OP in your example).

1. uses ISPF VIEW service and specifies the correct dataset name. See 'ISPF Services Guide' manual for information about VIEW.

2. uses ISPF VIEW service and specifies the correct dataset and member name. See 'ISPF Services Guide' manual for information about VIEW.
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 -> CLIST & REXX All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
This topic is locked: you cannot edit posts or make replies. Need help on If condition continuatio... ashok_uddaraju CLIST & REXX 4 Fri May 19, 2017 8:55 am
No new posts member list compare jzhardy TSO/ISPF 6 Fri May 12, 2017 3:18 pm
No new posts Running an REXX EXEC implicitly sho7hills CLIST & REXX 3 Thu Apr 20, 2017 8:14 am
No new posts Need help in REXX CALL program Raje1002 CLIST & REXX 5 Wed Apr 19, 2017 11:18 pm
No new posts REXX cdoe to purge a JOB from spool a... Sulabh Agrawal CLIST & REXX 11 Thu Mar 09, 2017 11:36 am


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