On Tue, 15 Nov 2011 09:08:25 -0500, Shmuel Metz (Seymour J.) wrote: >In <[email protected]>, on >11/15/2011 at 04:56 AM, Elardus Engelbrecht said: > >>Ok, I must be confusing (having too much decaying braincells :D ) >>STOW with something else which can destroy a PDS / PDSE directory if >>used incorrectly. > > // EXEC PGM=IEBGENER > //SYSUT1 DD * > FOO > //SYSUT2 DD DSN=SYS1.MACLIB,DISP=OLD > //SYSIN DD DUMMY > //SYSPRINT DD SYSOUT=A > >used to destroy the directory; the equiovalent in Rexx would as well. > Certainly so if Rexx does "address ATTCHMVS IEBGENER". If Rexx uses EXECIO, it reports an error. But this can be bypassed with ",DSORG=PS" in the JCL. (But I've tried this only to read the directory, not to write it.)
>>Agreed, this is why other callable services are available to Rexx or >>Assembler, Cobol, etc. > >No. ISPF services are available for ISPF dialogs. I'm not aware of any >equivalent callable services for non-ISPF applications in Rexx. > Indirectly. Rexx (even in batch, under IKJEFT*) can invoke ISPF to use ISPF services. I do it regularly. -- gil ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: GET IBM-MAIN INFO Search the archives at http://bama.ua.edu/archives/ibm-main.html

