|
View previous topic :: View next topic
|
| Author |
Message |
Willy Jensen
Active Member

Joined: 01 Sep 2015 Posts: 774 Location: Denmark
|
|
|
|
Hi, I've started looking at z/VM and came across this, in my opinion, rather strange call:
| Code: |
st1 = "/EXEC ABC "||fn ft fm ||"(/"
"PIPE Stem s1.",
"| Spec "st1" 1 1-4 nw",
"| > WORK FILE Z",
"| CMS" |
The program ABC does not return a value, it just does an EXIT, so how do 'st1' get set and to what? I'm also not quite sure what the slashes around the EXEC ABC are doing. No GLOBALVs that I can see.
I have checked both the VM REXX User's Guide and the zVM REXX Language Reference, but didn't find an explanation there.
My apologies is this is basic VM stuff, but I haven't touched VM for ages. |
|
| Back to top |
|
 |
enrico-sorichetti
Superior Member

Joined: 14 Mar 2007 Posts: 10903 Location: italy
|
|
|
|
| Code: |
| st1 = "/EXEC ABC "||fn ft fm ||"(/" |
is just a plain REXX assignment statement |
|
| Back to top |
|
 |
Willy Jensen
Active Member

Joined: 01 Sep 2015 Posts: 774 Location: Denmark
|
|
|
|
| That's embarrassing - of course it is. But now I see what's going on, thanks |
|
| Back to top |
|
 |
enrico-sorichetti
Superior Member

Joined: 14 Mar 2007 Posts: 10903 Location: italy
|
|
|
|
well sometimes You have to look twice at things to see what is going on,
as I had to in this case  |
|
| Back to top |
|
 |
|
|