Thank you John! Armed with that knowledge, this worked a treat: //SYSPRINT DD DISP=SHR,DSN=PHS.PDS.DATA(STDOUT)
...where that PDS is VB 1024 (but presumably doesn't need to be that long an LRECL). That page you pointed to is what I had tried to find; it's sort of written sideways - "When you use DD statements to redirect standard streams, the standard streams will be associated with ddnames as follows:" seems like it would have made more sense as something like, "When you write to standard streams, be aware that they map to the following DD names, and thus output written to those streams will be redirected if the matching DD is defined:" I like the example program, named "HOCKEY"! Owe ya a beer at SCIDS. ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
