1 / 14

CONPARMX

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.

sibyl
Télécharger la présentation

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. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CONPARMX Introduces new processor capabilities - Reduces processor groups July 2, 2010

  2. Introduction • CONPARMX – a new processor utility program thatcandynamicallybuildexecutionparameters and invoke processor programs • Made availablewith r14 and r12 SP3 (ptf) July 2010, CONPARMX

  3. Agenda • Input & Outputs (PARMSDEF & PARMS DD’s) • Walkingthrough the CONPARMX parameters • Examples July 2010, CONPARMX

  4. 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

  5. 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

  6. 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

  7. 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

  8. 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

  9. PARMSDEF input memberexample • $$$$DLFT: • ASMA90 ‘LIST… ‘ • IGYCRCTL ‘COBOL3,LANGLVL(2),NOSOURCE’ • IEWL ‘AMODE(31)’ • IEWL ‘RMODE(ANY)’ July 2010, CONPARMX

  10. The PARMS output DD content example ABC COBOL3,LANGLVL(2),NOSOURCE Parmsdefined by the Processor member Parmsdefined by the Elementmember XYZ July 2010, CONPARMX

  11. Or when invoking IGYCRCTL directly //CONPARMX EXEC PGM=IGYCRCTL, // PARM=‘ABC,COBOL3,LANGLVL(2),NOSOURCE, //procgrp-parms, elm-parms, XYZ’ July 2010, CONPARMX

  12. 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

  13. 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

  14. Questions? July 2010, CONPARMX

More Related