On 2017-08-27, at 11:40, Alan Altmark wrote:
> USS is very much separate from MVS.
>
Point of view?
> CSL = Callable Services (Language). Google, man, google. Same goes for the
> Pipe storage stage.
>
Getting there.
> There are no stages I'm aware of that connect to an arbitrary fd, but you can
> write a stage that does that.
>
Do you mean in assembler?
> Not sure where you're headed with this, Gil.
>
Self training. Looking at an example (one of very few for Rexx):
https://www.ibm.com/support/knowledgecenter/SSB27U_6.2.0/com.ibm.zvm.v620.dmsp1/hcsp1c1007.htm#wq9
call apiload 'VMREXOVM'
/* Change the working directory */
pathname = '/home/myfiles'
plength = length(pathname)
address OPENVM
'BPX1CHD plength pathname return_value,
return_code reason_code'
What's that pesky comma doing there? Does it mean:
'BPX1CHD plength pathname return_value' ,
'return_code reason_code'
or even:
'BPX1CHD plength pathname return_value return_code reason_code'
or:
'BPX1CHD plength pathname return_value, return_code reason_code'
RCF material?
Elsewhere I see:
https://www.ibm.com/support/knowledgecenter/SSB27U_6.2.0/com.ibm.zvm.v620.dmsp1/chd.htm?view=embed#chd
pathname_length
(input,INT,4) is a variable for specifying the length of the pathname
parameter.
... so I'd expect
plength = d2c( length( pathname ), 4 )
what don't I understand?
Thanks,
gil