View previous topic :: View next topic
|
Author |
Message |
Josh Keller
New User
Joined: 08 Oct 2007 Posts: 36 Location: Columbia, SC
|
|
|
|
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 |
|
|
superk
Global Moderator
Joined: 26 Apr 2004 Posts: 4652 Location: Raleigh, NC, USA
|
|
|
|
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 |
|
|
Josh Keller
New User
Joined: 08 Oct 2007 Posts: 36 Location: Columbia, SC
|
|
|
|
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 |
|
|
MBabu
Active User
Joined: 03 Aug 2008 Posts: 400 Location: Mumbai
|
|
|
|
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 |
|
|
|