Conparmx
This presentation is the property of its rightful owner.
Sponsored Links
1 / 14

CONPARMX PowerPoint PPT Presentation


  • 145 Views
  • Uploaded on
  • Presentation posted in: General

CONPARMX. Introduces new processor capabilities - Reduces processor groups . July 2, 2010. Introduction. CONPARMX – a new processor utility program that can dynamically build execution parameters and invoke processor programs Made available with r14 and r12 SP3 ( ptf ). Agenda.

Download Presentation

CONPARMX

An Image/Link below is provided (as is) to download presentation

Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.


- - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - -

Presentation Transcript


Conparmx

CONPARMX

Introduces new processor capabilities - Reduces processor groups

July 2, 2010


Introduction

Introduction

  • CONPARMX – a new processor utility program thatcandynamicallybuildexecutionparameters and invoke processor programs

  • Made availablewith r14 and r12 SP3 (ptf)

July 2010, CONPARMX


Agenda

Agenda

  • Input & Outputs (PARMSDEF & PARMS DD’s)

  • Walkingthrough the CONPARMX parameters

  • Examples

July 2010, CONPARMX


Inputs outputs

Inputs & Outputs

  • Input: PARMSDEF DD (FB/80 PDS - mandatory)

    • Provides input to the construction of executionparameterdata

  • Output: PARMS DD (optional)

    • Executionparameter data writtento thisDD if processor program not invokeddirectly by CONPARMX (onlyused if parm8 = ‘Y’)

July 2010, CONPARMX


The layout of each parmsdef input members

The layoutof each PARMSDEF input members

  • The processor program name(e.g.IGYCRCTL)

    • Starts in position 1 of eachrecord

    • Program nameterminatedatfirst trailingblank

  • The invocation program executionparameters

    • Must bedefinedwithinquotes(e.g. ‘RENT,REUS’)

    • Specifiedafter the program name on the samethe record

  • Example:

    • IGYCRCTL ‘COBOL3,LANGLVL(2),NOSOURCE’

July 2010, CONPARMX


The 8 conparmx parameters

The 8 CONPARMX parameters

  • Parm1 : The processor program name

  • Parm2 : Beginningof executionparmdata)

    • Parm3 : The default parms

    • Parm4 : The processor group overrideparms

    • Parm5 : The elementoverrideparms

    • Parm6 : Endingexecutionparmdata( Note: Parm2 & Parm6 are usuallyusedto specify constant, or fixed, executionparameter data)

July 2010, CONPARMX


The 8 conparmx parameters1

The 8 CONPARMX parameters

  • Parm7 : Concatenateparameter data specified on PARM3-PARM5 (Y/N specification)

  • Parm8 : Writeparameter data to PARMS DD (Y/N specification)

    • If Y, the program will not beinvoked

    • If N, PARMS data will not bewritten

July 2010, CONPARMX


The 8 parameters an example

The 8 parameters – an example

//COBPROC PROC PARMTAIL=XYZ

//STEP001 EXEC PGM=CONPARMX,

// PARM=(IGYCRCTL, (invocation pgmname)

// (‘ABC’),(parm2 – constant parm data)

// $$$$DFLT, &C1PRGRP.P, &C1ELEMENT.P,

// '(&PARMTAIL)',(parm6 – last parm)

// 'Y','Y') (parm7/8 directions)

//PARMSDEF DD DSN=input.parameter.pds,DISP=SHR

//PARMS DD DSN=&&parmout,DISP=(NEW,PASS),…

July 2010, CONPARMX


Parmsdef input member example

PARMSDEF input memberexample

  • $$$$DLFT:

    • ASMA90 ‘LIST… ‘

    • IGYCRCTL ‘COBOL3,LANGLVL(2),NOSOURCE’

    • IEWL ‘AMODE(31)’

    • IEWL ‘RMODE(ANY)’

July 2010, CONPARMX


The parms output dd content example

The PARMS output DD content example

ABC

COBOL3,LANGLVL(2),NOSOURCE

Parmsdefined by the Processor member

Parmsdefined by the Elementmember

XYZ

July 2010, CONPARMX


Or when invoking igycrctl directly

Or when invoking IGYCRCTL directly

//CONPARMX EXEC PGM=IGYCRCTL,

// PARM=‘ABC,COBOL3,LANGLVL(2),NOSOURCE,

//procgrp-parms, elm-parms, XYZ’

July 2010, CONPARMX


Parm7 to concatenate or not to concatenate that s the question

Parm7 To concatenate or not to concatenate, that’s the question

  • ‘Y’ :

  • Concatenate PARM3, then PARM4 then PARM5 contents

  • ‘N’ :

  • Use PARM5 (elmmember) contents If not found…

  • Use PARM4 (prcgrpmember) contents. If not found…

  • Use PARM3 (dfltmember) contents . If not found...

  • Use none.

  • Whendefined, Parms 2 and 6 willalwaysbeincluded.

July 2010, CONPARMX


Parm8 build parms dd or invoke program

Parm8 Build PARMS DD or invoke program

  • ‘Y’ :

  • The executionparmswillbewritten to the PARMS DD.

  • ‘N’ :

  • The program willbeinvoked and the executionparameterswillbepassed to the program

July 2010, CONPARMX


Questions

Questions?

July 2010, CONPARMX


  • Login