Topic
No replies
ENO2010
ENO2010
4 Posts
ACCEPTED ANSWER

Pinned topic JCL substitution variables - COBOL Settings

‏2012-05-24T08:45:04Z |
Hi,
I want to use the global variable "MEM" which is predefined in global variables.
In the JCL, I can found the declaration



// MSGCLASS=H,MSGLEVEL=(1,1),TIME=(,4),REGION=144M,COND=(16,LT) 
//* 
//        SET MEM=ENODB2


in the bind section, I declare


//SYSTSIN   DD  * DSN SYSTEM(DB9G) BIND PACKAGE(TEST)- OWNER(EMPOT01) - QUALIFIER(EMPOT02) - MEMBER(*&MEM*) - ACTION(REP) - VALIDATE(BIND)


I expect that the variable "&MEN" will be replaced by "ENODB2" but it doesn't! Why?

a second issue in the bind step, I need to add "DSN910.SDSNLOAD" but how?

thanks

Eric
Updated on 2012-05-24T10:52:35Z at 2012-05-24T10:52:35Z by ENO2010
  • dbzThedinosaur
    dbzThedinosaur
    57 Posts
    ACCEPTED ANSWER

    Re: JCL substitution variables - COBOL Settings

    ‏2012-05-24T10:30:42Z  in response to ENO2010
    not really a cobol question.

    this is a jcl question,
    and i believe the answer is
    symbolic parm substitution does not take place on instream data
    • ENO2010
      ENO2010
      4 Posts
      ACCEPTED ANSWER

      Re: JCL substitution variables - COBOL Settings

      ‏2012-05-24T10:52:35Z  in response to dbzThedinosaur
      I know but this step needs to be define using RDz "Property group"