Jon, Output did does capture all ftp messages. What I sent is a snip from a well working rexx program.
ITschak *| **Itschak Mugzach | Director | SecuriTeam Software **|** IronSphere Platform* *|* *Information Security Continuous Monitoring for Z/OS, zLinux and IBM I **| * *|* *Email**: [email protected] **|* *Mob**: +972 522 986404 **|* *Skype**: ItschakMugzach **|* *Web**: www.Securiteam.co.il **|* בתאריך יום א׳, 19 באוק׳ 2025 ב-20:15 מאת Jon Perryman <[email protected] >: > On Sun, 19 Oct 2025 11:31:24 +0300, Itschak Mugzach < > [email protected]> wrote: > > >This is my solution: > > Queue 'dir' > > "ftp 10.100.102.211" > > "ExecIO * DiskR OUTPUT (Stem Dir." > > DD OUTPUT doesn't capture the messages from the FTP command. If you want > to make this exec run, then I suggest using he REXX FTP API which will > allow you to capture the DIR command output and it's return code. > Alternatively, SYSOUTTRAP can captures the complete FTP output. > > I'm guessing that FTP DIR is not providing all the dataset attributes you > want (e.g. dir blocks, library vs pds, VSAM attributes). Since running FTP > does not provide any alternatives to dataset info, your exec must be run > from the same system where the datasets reside. > > Your solution implies both sides are MVS. We are still confused about the > problem you want to solve. > > Instead of FTP, there may be better alternatives like RCP, RSH or ???. > Even telnet may solve your problem since TSO has linemode capabilities. > > As for obtaining the list of datasets and the attributes, there are many > to choose (LMD, DSINFO, LISTCAT, VTOC, LISTDSI, ...). > > > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
