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
 

 

Executing REXX: browse could not be found
Goto page 1, 2  Next
 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
diwa_thilak

Active User


Joined: 13 Jul 2006
Posts: 205
Location: At my desk

PostPosted: Wed Aug 29, 2007 2:43 pm    Post subject: Executing REXX: browse could not be found
Reply with quote

Hi All,

i got a rexx program, ( program is to edit/browse a dataset from command prompt).

The program is working fine when executed by giving exec next to the PS in 3.4, but how can i make this particular program be executed from anywhere.

Meaning by giving
tso browse DSN-name (or)
tso %browse DSn-name (where browse is my rexx prg)

The above two commands is not working for me. It is saying browse could not be found.

How can i distribute this code to all my team mates ?

I dont see any CLIST setup here in this new project ? (otherwise i could have concatenated my PDS in the list)

Any suggestions ?

Thanks,
Diwakar

-----------------------
Back to top
View user's profile Send private message

revel

Active User


Joined: 05 Apr 2005
Posts: 135
Location: Bangalore/Chennai-INDIA

PostPosted: Wed Aug 29, 2007 2:53 pm    Post subject: Check it out this way
Reply with quote

1. Instead concatinating; execute command like

ALLOC F(SYSPROC) DA(Data set name where REXX exists) SHR REU

2. Try to execute..

Let me know if it not works

Regards,
Raghav
Back to top
View user's profile Send private message
diwa_thilak

Active User


Joined: 13 Jul 2006
Posts: 205
Location: At my desk

PostPosted: Wed Aug 29, 2007 3:01 pm    Post subject:
Reply with quote

Ragav,

i need to distribute this code to my team.

So do i need to ask my team to execute this command ?

Can anyone tell me , Do we need to give SYSPROC/SYSEXEC in the below command ?

Quote:
ALLOC F(SYSPROC) DA(Data set name where REXX exists) SHR REU


what difference does it bring ?

Thanks,
Diwakar
Back to top
View user's profile Send private message
saiprasadh

Active User


Joined: 20 Sep 2006
Posts: 154
Location: US

PostPosted: Wed Aug 29, 2007 3:09 pm    Post subject:
Reply with quote

Hi Diwakar

If you type ISRDDN in the command line , It will display a list of Dataset with the DD Names, In that copy your tool code to the Dataset name against the SYSPROC ddname.

If you did like that , Then your team members can execute your tool by the following command

Code:
TSO YourToolname



Thanks
Sai
Back to top
View user's profile Send private message
superk

Moderator Team Head


Joined: 26 Apr 2004
Posts: 4648
Location: Raleigh, NC, USA

PostPosted: Wed Aug 29, 2007 6:44 pm    Post subject: Reply to: Executing REXX: browse could not be found
Reply with quote

I think it's a poor idea to use a name for a REXX exec that's the same as a TSO/ISPF command. I think you should re-consider your naming conventions.
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: Thu Aug 30, 2007 9:35 am    Post subject:
Reply with quote

I agree with Kevin
Back to top
View user's profile Send private message
diwa_thilak

Active User


Joined: 13 Jul 2006
Posts: 205
Location: At my desk

PostPosted: Thu Aug 30, 2007 10:54 am    Post subject:
Reply with quote

Kevin & Pat,

I totally agree with you. For the sake of explanation i have given the name of my REXX program to be browse.

XBR is the name of the rexx routine.

Quote:
ALLOC F(SYSPROC) DA(Data set name where REXX exists) SHR REU


Alocating my rexx routine to SYSPROC/SYSEXEC does it make any difference. (Meaning- What is the difference in allocating the rexx to SYSPROC & SYSEXEC)

If you got any link you can share the link with me.

Thanks,
Diwakar
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Thu Aug 30, 2007 10:59 am    Post subject:
Reply with quote

You can find the answer to your question in the fine manual.

O.
Back to top
View user's profile Send private message
diwa_thilak

Active User


Joined: 13 Jul 2006
Posts: 205
Location: At my desk

PostPosted: Fri Sep 07, 2007 3:44 pm    Post subject:
Reply with quote

Hi friends,

I need a small clarification.

If we update the PDS name in the SYSEXEC/SYSPROC it stays only for that particular session - am i rt ?

If so how can we update the name forever in that ?

There can be suggestion like execute a CLIST by adding the dataset , but i dont find any CLIST component in my project(ie. #setup file).

Is the SYSEXEC/SYSPROC is Mainframe id dependent (that means if i update PDS name will it visible to all my team mates) ? i suppose yes, if so how can we make a common tool accessible to everybody ?

Without CLIST, (#setup file) how can identify the script which is executing in the startup ?

Ofer, Kevin, Pat - Thanks buddies, i really learnt a lot from you ppl.

Thanks,
Diwakar

-----------------------------------------------------
Nobody is Perfect. I am Nobody
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1288
Location: Chennai, India

PostPosted: Fri Sep 07, 2007 5:56 pm    Post subject: Reply to: Executing REXX: browse could not be found
Reply with quote

A similar topic was discussed yesterday in this forum. Please
find below the link

[url]http://ibmmainframes.com/viewtopic.php?t=24259 [/url]

Quote:
How can i distribute this code to all my team mates ?


You will have to put this exec in a common PDS ( which can be accessed by all) allocated to either SYSEXEC or SYSPROC.

Quote:
Alocating my rexx routine to SYSPROC/SYSEXEC does it make any difference.
(Meaning- What is the difference in allocating the rexx to SYSPROC & SYSEXEC)


Yes, To execute your rexx exec using TSO <member name> you will have to allocate that.

Quote:
If we update the PDS name in the SYSEXEC/SYSPROC it stays only for that particular session - am i rt ?


No, It stays until you deallocate it. But i have not tried deallocating any PDS.

Quote:
Is the SYSEXEC/SYSPROC is Mainframe id dependent
(that means if i update PDS name will it visible to all my team mates) ?
i suppose yes, if so how can we make a common tool accessible to everybody ?


Yes, You are rite. It can accessed by everybody if you allocate a common PDS to SYSEXEC/SYSPROC. If you
allocate a PDS starting with your qualifier, then only you can run this exec using TSO command.


Hope this helps, else post your queries
Back to top
View user's profile Send private message
agkshirsagar

Active Member


Joined: 27 Feb 2007
Posts: 685
Location: Earth

PostPosted: Mon Sep 10, 2007 9:20 am    Post subject:
Reply with quote

Quote:
If we update the PDS name in the SYSEXEC/SYSPROC it stays only for that particular session - am i rt ?

Aaru,
By this OP meant, after you log off and again log in, the changes you did will be lost.

Diwakar,
I will suggest you to talk to some senior guy in the project, so that he will be able to tell him about 'editing logon exec'.

If you successfully add your PDS in SYSPROC in your logon procedure then your work is done! But be careful while doing so. I will suggest doing ALTLIB for testing your codes.
Back to top
View user's profile Send private message
diwa_thilak

Active User


Joined: 13 Jul 2006
Posts: 205
Location: At my desk

PostPosted: Mon Sep 10, 2007 11:39 am    Post subject:
Reply with quote

Hi All,

Aaru,
thanks for your reply.

Quote:

If we update the PDS name in the SYSEXEC/SYSPROC it stays only for that particular session - am i rt ?


But according to me/project, the allocated PDS in SYSEXEC/SYSPROC stays only for the particular session. That is the reason we have CLIST member (#setup) which will allocate the datasets at login time.

Abhijit,

Thanks buddy, i will check and post, if i found anything interesting.

Any views for this below quote.

Quote:
Is the SYSEXEC/SYSPROC is Mainframe id dependent
(that means if i update PDS name will it visible to all my team mates) ?
i suppose yes, if so how can we make a common tool accessible to everybody ?


I still beleive that is the reason we have the CLIST member, which will allocate the datasets of other members into our SYSEXEC and SYSPROC ?

Anyother views ?

Thanks,
Diwakar

------------------
Nobody is Perfect. I am Nobody
Back to top
View user's profile Send private message
agkshirsagar

Active Member


Joined: 27 Feb 2007
Posts: 685
Location: Earth

PostPosted: Tue Sep 11, 2007 2:19 pm    Post subject:
Reply with quote

Diwakar,
Yes, SYSPROC/SYSEXEC are mainframe ID dependent, that is it can be different for different user. When you allocate PDS to SYSPROC, it will be effective to your id only.

Quote:
that means if i update PDS name will it visible to all my team mates?
What do you want to say by the term visibility here?
If you create PDS with userid prefix 'userid.pds' then it will not be available to other users, look for HLQ which is accessible to your group of users. If you create PDS using HLQ.PDSNAME then it will be visible to all your teammates. For them to use the tools you have created, they also need to allocate that PDS to their SYEXEC/SYSPROC
Back to top
View user's profile Send private message
diwa_thilak

Active User


Joined: 13 Jul 2006
Posts: 205
Location: At my desk

PostPosted: Tue Sep 11, 2007 2:36 pm    Post subject:
Reply with quote

Thanks Abhijit
Back to top
View user's profile Send private message
agkshirsagar

Active Member


Joined: 27 Feb 2007
Posts: 685
Location: Earth

PostPosted: Wed Sep 12, 2007 10:57 am    Post subject:
Reply with quote

Good to see that it helped you! icon_smile.gif
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1288
Location: Chennai, India

PostPosted: Wed Sep 12, 2007 11:22 am    Post subject: Reply to: Executing REXX: browse could not be found
Reply with quote

Quote:
But according to me/project, the allocated PDS in SYSEXEC/SYSPROC stays only for the particular session.
That is the reason we have CLIST member (#setup) which will allocate the datasets at login time.


Even we have a similar CLIST member($SETUP) in our site which allocates the datasets at login time using TSOALLOC command. But even then all the allocated datasets and PDS stays till we deallocate and not just till we logoff. icon_confused.gif
Back to top
View user's profile Send private message
agkshirsagar

Active Member


Joined: 27 Feb 2007
Posts: 685
Location: Earth

PostPosted: Wed Sep 12, 2007 11:55 am    Post subject:
Reply with quote

Aaru,
Where is the confusion in this? When you 'deallocate' dataset, system will do whatever you asked for. Allocating PDS in LOGON procedure does not mean it will be allocated forever or for that matter 'till you logoff'
Back to top
View user's profile Send private message
Aaru

Senior Member


Joined: 03 Jul 2007
Posts: 1288
Location: Chennai, India

PostPosted: Wed Sep 12, 2007 12:31 pm    Post subject: Reply to: Executing REXX: browse could not be found
Reply with quote

Oh ok ! Its clear now. Thanks.
Back to top
View user's profile Send private message
revel

Active User


Joined: 05 Apr 2005
Posts: 135
Location: Bangalore/Chennai-INDIA

PostPosted: Mon Oct 08, 2007 2:24 pm    Post subject:
Reply with quote

Hi all,

Just i want to add some wards for SYSPROC and SYSEXEC

1) When tool developed using CLIST(say in X.Y.Z data set), Allocate X.Y.Z dataset to SYSPROC
2) When tool developed using REXX(say in A.B.C data set), allocate A.B.C data set to SYSEXEC

When we allocate dataset, we can execute Tools globally only for that session(that is also called implicit execution)

If we need execute Tools globally(mean for every session), we should append A.B.C data set to ALLOCATE Command which is present in LOGON PROC(these are system sided---this is the PROC used while u logon to TSO SESSION)

See code below for sample LOGON PROC


We can execute REXX

//soft.. JOB ....
//SOFTUSR EXEC SOFTUSR ----------> where SOFTUSR is LOGON PROC
------------------------------------------------------------------------------------
-- See expanded LOGON PROC --
------------------------------------------------------------------------------------
xxSOFTUSR PROC
xxSOFTUSR EXEC PGM=IKJEFT01, DYNAMBR=175...
XXSYSUADS DD DSN=SYS1.UADS,DISP=SHR
XXSYSPROC DD DSN=HLQ.Z0SV14S.CLIST,DISP=SHR
------------------------------------------------------------------------------------
-- HLQ.Z0SV14S.CLIST CONTAINS SET OF STATMENT
--
-- ALLOC F(SYSPROC) DA('USER.CLIST' +
-- 'ADCD.ZS014V14.CLIST' +
-- .
.
U CAN APPEND YOUR DATA SET HERE; TO EXECUTE TOOLS GLOBALLY
----------------------------------------------------------------------------------
--
.
.
.
.
Any suggestion is welcomed


Thanks & Regards,
Raghavendra K N
Back to top
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Mon Oct 08, 2007 3:15 pm    Post subject:
Reply with quote

revel -

You said
Quote:
1) When tool developed using CLIST(say in X.Y.Z data set), Allocate X.Y.Z dataset to SYSPROC
2) When tool developed using REXX(say in A.B.C data set), allocate A.B.C data set to SYSEXEC


This is not true. Please read the fine manual before posting misleading information.

O.
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 -> TSO/ISPF All times are GMT + 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts What is the command to check MODE of ... rohanthengal CLIST & REXX 6 Fri Nov 18, 2016 1:48 pm
This topic is locked: you cannot edit posts or make replies. Rexx to create GDG by scanning JJ result krish.deepu CLIST & REXX 5 Tue Oct 25, 2016 5:32 pm
No new posts Replace repeated JCL with looping REXX prino CLIST & REXX 3 Thu Oct 13, 2016 5:30 am
This topic is locked: you cannot edit posts or make replies. Need to code a Rexx PGM sundaram.naveen CLIST & REXX 18 Thu Oct 06, 2016 6:45 pm
No new posts Need Rexx Program to Load in to DB2 T... Hareesh Verma CLIST & REXX 22 Tue Sep 20, 2016 2:59 pm


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