I can't speak for others, but if the reference manual for the command doesn't explicitly show support for ddname or dsn then I won't use that syntax in production even if I've tested it and it works, although I would submit an RCF. But it's not my dog; do as you wish.
-- Shmuel (Seymour J.) Metz http://mason.gmu.edu/~smetz3 ________________________________________ From: IBM Mainframe Discussion List [[email protected]] on behalf of Paul Gilmartin [[email protected]] Sent: Tuesday, July 19, 2022 1:04 PM To: [email protected] Subject: Re: z/OS 1.4 submit On Tue, 19 Jul 2022 16:11:10 +0000, Seymour J Metz wrote: >If each operand either cannot be a Unix file or must be a Unix file then it >doesn't matter whether the command uses fopen() or open(). Only if the command >has an operand that can specify either a path or a ddname (or path or dsname) >is there an issue. > Where is it documented which commands other than the c89 family support a ddname? Where is it documented which commands support fopen()? Would you just guess? Would you design a production application based on a guess? Of course if you code your application in XL C/C++ the support for fopen( "//DD: ..." ) is well documented. ________________________________________ >On Fri, 15 Jul 2022 10:05:53 +0000, Seymour J Metz wrote: > >>Allocate an internal reader and copy the file to it. Ensure that the command >>you use supports fopen() syntax. -- gil ---------------------------------------------------------------------- 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
