IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

To open a PDS/ Member using REXX


IBM Mainframe Forums -> CLIST & REXX
Post new topic   Reply to topic
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
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: 8797
Location: Welsh Wales

PostPosted: Mon Sep 15, 2008 3:44 pm
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
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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Mon Sep 15, 2008 4:20 pm
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
Reply with quote

Hi,

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

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Mon Sep 15, 2008 4:55 pm
Reply with quote

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

Global Moderator


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

PostPosted: Mon Sep 15, 2008 9:44 pm
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 View Bookmarks
All times are GMT + 6 Hours
Forum Index -> CLIST & REXX

 


Similar Topics
Topic Forum Replies
No new posts Compile Several JCL JOB Through one r... CLIST & REXX 4
No new posts Running REXX through JOB CLIST & REXX 13
No new posts Error to read log with rexx CLIST & REXX 11
No new posts isfline didnt work in rexx at z/OS ve... CLIST & REXX 7
No new posts run rexx code with jcl CLIST & REXX 15
Search our Forums:

Back to Top