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
 

 

Calling a executable from REXX code with CALL *(#######)

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
Josh Keller

New User


Joined: 08 Oct 2007
Posts: 36
Location: Columbia, SC

PostPosted: Wed Nov 25, 2009 10:25 pm    Post subject: Calling a executable from REXX code with CALL *(#######)
Reply with quote

I have a particulare loadlib module I'm trying to execute via REXX, but run into an issue.

After I alloc the appropriate ISPLLIB I issue the following:

"ISPEXEC SELECT PGM(########) PARM("PARMS")"

Sometimes this works, but usually the Parms get garbaged and the called program fails.

I've seen CALL *() else where and decided to give a go, and now this is my call:

"CALL *(########) "PARMS

This call works everytime. So my question is, what is this call acutally doing when the "*" is present?


I could not find this statment using Google or the forum search, probably because it contained a wildcard.

Josh
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 Nov 25, 2009 10:28 pm    Post subject: Reply to: Calling a executable from REXX code with CALL *(##
Reply with quote

1.10.3 CALL command operands:

Quote:

dsname
specifies the name of a PDS or a PDSE from which the program is to be executed. If dsname is not fully qualified, it is assumed to be 'prefix.dsname.LOAD'.

*
specifies that CALL should use the standard load module search sequence for the member name.
Back to top
View user's profile Send private message
Josh Keller

New User


Joined: 08 Oct 2007
Posts: 36
Location: Columbia, SC

PostPosted: Wed Nov 25, 2009 10:53 pm    Post subject:
Reply with quote

Thanks Kevin for your quick reply.

As far as the "*" what would be considered a non-standard search sequence ?

Is this similar to putting the % infront of a rexx exec to force it to look in only certain libs?

Thanks again,
Back to top
View user's profile Send private message
MBabu

Active User


Joined: 03 Aug 2008
Posts: 401
Location: Mumbai

PostPosted: Thu Nov 26, 2009 2:50 am    Post subject:
Reply with quote

It is similar. The problem with SELECT PGM() is that it won't pick up modules in tasklibs sometimes but there should not be problems with parameters being messed up unless your program name starts with ISP or ISR. What problem are you having with the parameters?
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
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts JCL to Set Return code based on DB2 S... vinu78 DB2 17 Mon Mar 13, 2017 9:47 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
No new posts IMS region inactive - User abend code... gthmrj IMS DB/DC 5 Tue Mar 07, 2017 12:29 pm
No new posts Overriding PS data in rexx Shaheen Shaik CLIST & REXX 8 Fri Mar 03, 2017 5:08 pm
No new posts CA Workload Automation event code help vinu78 CA Products 10 Wed Mar 01, 2017 10:05 am


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