On Tue, 4 Jan 2022 23:26:24 +0000, Farley, Peter x23353 wrote: >Also MVSVAR, OUTTRAP, STORAGE, SYSCPUS, SYSDSN, SYSVAR if equivalents are not >already supplied in oorexx. Access to such data as is returned by MVSVAR. >SYSVAR, etc. > I cited a few examples. Thank you for extending my list. However ... MVSVAR, SYSVAR, TRANSMIT, RECEIVE, ... and similar ISPF environment attributes should be liberated from TSO. It's a PITA to start ISPF just to get the terminal CCSID.
> ... could conceivably be made using reads of pseudo-devices such as > "/dev/$$REXX$$/SYSPROC/finer_addressing_here" > Are you re-inventing the Linux /proc VFS? > ... but OUTTRAP, STORAGE and SYSDSN are useful and frequently needed > (again barring already existing equivalents in the implementation). > If IBM would just deign to support ANSI Rexx, OUTTRAP would be replaced with ADDRESS <env> WITH <redirection>, which also supplies the analog of "INTRAP". BPXWUNIX does some of this. >Binary reads should return binary blobs of whatever the system I/O interface >returns (RECFM=U as well). Parsing the resulting binary blob is the >programmer's responsibility. Obviously some facility for reporting back the >actual byte length of the returned blob is necessary. > Perhaps selecting the mode by STREAM( name, 'C', 'OPEN opts' ) >I always preferred EXECIO nnn to * or 1 where REGION was sufficiently >available. I have processed multi-million record files without issue and with >reasonable performance using EXECIO 100000 or more each time in a loop, where >the actual count that I coded varied depending on the average actual expected >record size. > >SYSCA L and SDSF could be part of " MVS/TSO/etc." that I wrote. > >And don't forget the FTP Rexx interface that I am told exists (though I have >never tried it myself, mind you, at least not yet). > How about SFTP and HTTPS for security and portability? FTP is dwindling outside IBM. -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
