Author: Willy Jensen
Subject: Strange EXEC function call in z/VM
Posted: Wed Oct 05, 2016 2:07 pm (GMT 5.5)
Hi, I've started looking at z/VM and came across this, in my opinion, rather strange call:
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.
_________________
WJ
Subject: Strange EXEC function call in z/VM
Posted: Wed Oct 05, 2016 2:07 pm (GMT 5.5)
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.
_________________
WJ