Thanks guys.   I had no idea that you could override a PROC concatenation
this way.

Kirk Wolf
Dovetailed Technologies
http://dovetail.com

On Wed, Sep 30, 2015 at 4:54 AM, Bob Rutledge <[email protected]>
wrote:

> I'd use
>
>  //STDENV  DD DDNAME=STDENV
>  //        DD DISP=SHR,DSN=INST.ADD.JAVA.STDENV
>
> in the proc.  Yes, it works.
>
> Bob
>
> IBM Mainframe Discussion List <[email protected]> wrote on
> 09/29/2015 04:50:54 PM:
>
> > From: Kirk Wolf <[email protected]>
> > To: [email protected]
> > Date: 09/29/2015 04:51 PM
> > Subject: Way to change a PROC to add a concatenation to existing DD?
> > Sent by: IBM Mainframe Discussion List <[email protected]>
> >
> > Consider an existing PROC:
> >
> > //JVMPRC80 PROC JAVACLS=, < Fully Qfied Java class..RQD
> > // ARGS=, < Args to Java class
> > // LIBRARY=?<HLQ>.JZOS.LOADLIB?, < STEPLIB FOR JVMLDM module
> > // VERSION=?80?, < JVMLDM version: 80
> > // LOGLVL=??, < Debug LVL: +I(info) +T(trc)
> > // REGSIZE=?0M?, < EXECUTION REGION SIZE
> > // LEPARM=??
> > //JAVAJVM EXEC PGM=JVMLDM&VERSION,REGION=&REGSIZE,
> > // PARM=?&LEPARM/&LOGLVL &JAVACLS &ARGS?
> > //STEPLIB DD DSN=&LIBRARY,DISP=SHR
> > //SYSPRINT DD SYSOUT=* < System stdout
> > //SYSOUT DD SYSOUT=* < System stderr
> > //STDOUT DD SYSOUT=* < Java System.out
> > //STDERR DD SYSOUT=* < Java System.err
> > //CEEDUMP DD SYSOUT=*
> > //ABNLIGNR DD DUMMY
> > //*
> > //*The following DDs can/should be present in the calling JCL
> > //*
> > //*STDIN DD < OPTIONAL - Java System.in
> > //*STDENV DD < REQUIRED - JVM Environment script
> > //*MAINARGS DD < OPTIONAL - Alt. method to supply args
> > // PEND
> >
> >
> > STDENV is a DD that is opened by the program (JVMLDM80).
> >
> > An installation would like to be able to automatically add control
> > statements to the end of this DD, without changing the JCL.
> >
> > So, instead we would want:
> >
> > //STDENV  DD DDNAME=MYENV
> > //                 DD DISP=SHR,DSN=INST.ADD.JAVA.STDENV
> >
> > but this would require that all JCL that used this PROC would need to
> > change their DD:STDENV to DD:MYENV.
> >
> > Here's my question:  is there a way to change the PROC so that the JCL
> that
> > uses it does not need to be changed?   Its even OK to front-end the
> > JVMLDM80 program with an installation-written program that does
> something
> > and then invokes JVMLDM80.    Its not possible (or desirable) to change
> > JVMLDM80.
> >
> > Maybe a front-end program that uses SVC99 to reallocate STDENV as the
> > concatenation?   I'm not sure if this can be done without freeing the
> > existing STDENV DD.       I guess that the front-end program could
> create a
> > temporary dataset and then copy the existing STDENV DD to it and then
> free
> > STDENV and then reallocate the concatenation....
> >
> > Thanks in advance for any better suggestions.
> >
> > Kirk Wolf
> > Dovetailed Technologies
> > https://urldefense.proofpoint.com/v2/url?
> > u=http-3A__dovetail.com&d=AwIFaQ&c=-YrhKbO6aFrSLScoj0Mm-
> > IuOYlqIJC7nrlQzxTUu-
> > mA&r=QUNbpGQ8IoUh0oGUmu8eaMhKeADVwEw1926HSV3ksM4&m=42Ti-
> > zKADLBk2WsfnoN0vSaVICHS65AbeRkVa9EhWY4&s=3oi4FGfFPVhvsPqjo-
> > uvCCno32cxW26gLLFzPNz40tU&e=
> >
> > ----------------------------------------------------------------------
> > 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
>

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

Reply via email to