On Mon, 21 Dec 2015 07:01:22 -0600, John McKown wrote:

>I "stumbled" across this RFE is my wanderings. I think it is a good idea.
>You might want to vote for it if you do also:
>
>https://www.ibm.com/developerworks/rfe/execute?use_case=viewRfe&CR_ID=78469
>
><quote>
>Enterprise Cobol support dynamic allocation for file (use of an environment
>variable named with ddname an file parameters in value for allocation).
>But if we try to allocate a SYSOUT, this raise an error IGZ0251W at run
>time...
>
>It would be desirable to be able to dynamically allocate a SYSOUT in the
>same way that can dynamically allocate a file.
>
>An alternative solution is to use BPXWDYN... but this solution is not "full
>Cobol"...
></quote>
>
This is remarkably similar to the TSOALLOC environment variable used by
z/OS UNIX /bin/tso:

    
http://www-01.ibm.com/support/knowledgecenter/SSLTBW_2.1.0/com.ibm.zos.v2r1.bpxa500/tso.htm

I notice that section says, "A complete listing of keys can be found in z/OS 
Using REXX and
z/OS UNIX System Services," which I believe refers to the chapter describing 
BPXWDYN,
but doesn't explicitly mention BPXWDYN.

I'll advocate reusable code and transferrable programmer skills.  Make the 
values of those
argument variables employ (syntax compatible with) BPXWDYN.

In what sense is BPXWDYN not "full COBOL"?  What's empty COBOL, anyway?

-- gil

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to