Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 10326
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: 10326
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: 2086
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
No new posts How to write Rexx program to size and... sreejeshcs CLIST & REXX 14 Thu Oct 12, 2017 7:26 am
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 5 Wed Oct 04, 2017 6:54 am
This topic is locked: you cannot edit posts or make replies. Rexx to execute spool commands upendrasri CLIST & REXX 47 Fri Sep 29, 2017 1:08 pm
No new posts ejck thru rexx to multiple jobs insid... Susanta All Other Mainframe Topics 5 Tue Sep 19, 2017 1:39 pm
No new posts Reply MQ open error Vignesh Sid COBOL Programming 6 Thu Sep 07, 2017 6:02 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us