Anda di halaman 1dari 3

Mainframe tips, tricks and tutorials

Home

Monday, February 6, 2012

Categories Abend-aid (2) Assembler (1) CICS (30) COBOL (46) COBOL JCL and Utilities (4) COBOL REXX (2) DB2 (32) Easytrieve (4) Endevor (4) File-Aid (6) General (17) ISPF (7) JCL and Utilities (55) Mainframe Training Videos (10) MQ (7) MQ OPC (1) RACF (4) REXX (2) SDSF (3)
New hot app: Facebook Albums To PDF

Xpedite a batch COBOL DB2 program in TSO


Usually run JCL for a batch DB2 program will be something like the below one. Using this run JCL, we wont be able to debug the program thru Xpeditor/TSO.

//RUNJCL JOB CLASS=X,PRTY=15, // MSGCLASS=X,MSGLEVEL=(1,1),NOTIFY=&SYSUID //* //JOBLIB DD DISP=SHR,DSN=TSUXXXX.TEST.LOAD //GO EXEC PGM=IKJEFT01 //IFILE DD ... //OFILE DD ... //SYSTSPRT DD SYSOUT=* //SYSOUT DD SYSOUT=* //SYSTSIN DD * DSN SYSTEM(DB1T) RUN PROGRAM(TESTPGM) PLAN(PTESTDTA) PARM('001XB98') END /* //*

To Xpedite the program, we need to convert the run JCL as shown below. Let us call this as XPEDJCL.
//RUNJCL JOB CLASS=X,PRTY=15, // MSGCLASS=X,MSGLEVEL=(1,1),NOTIFY=&SYSUID //* //JOBLIB DD DISP=SHR,DSN=TSUXXXX.TEST.LOAD //GO EXEC PGM=TESTPGM,PARM('001XB98') //IFILE DD ... //OFILE DD ... //SYSOUT DD SYSOUT=*

open in browser PRO version

Are you a developer? Try out the HTML to PDF API

pdfcrowd.com

//*

SORT (18) TMON (1) VSAM (12) Xpeditor (2)

Then in the below XPED screen, we need to input the fields highlighted in yellow. Xpediter will NOT read the PARM parameter from the JCL. So, we need to manually input the PARM value in the below screen. Input the dataset name containing the customized JCL for XPED against the File List/JCL member. Make sure DB2 TEST is YES and supply the plan name and DB2 subsystem name. You also need to supply the LOADLIB which contains the program to be debugged and DDIO file which has DDIO member of the program by accessing Setup Menu. After setting up all these values, press ENTER key, it will show you the XPED debug screen.

Blog Archive
Profile: DEFAULT -----COMMAND ===> COMMANDS: XPEDITER/TSO - STANDARD (2.1) -----------------------

2012 (8) February (2) Xpedite a batch COBOL DB2 program in TSO Abend-aid: No source available/formatted abend-aid... January (6) 2011 (256)

SEtup (Display Setup Menu) PROFile (Display Profile List) TEST SELECTION CRITERIA: Program ===> TESTPGM Entry Point ===> Load Module ===> Initial Script ===> Post Script ===> PARM ( Caps = YES ) ===> '001XB98' ===> ===> ===> ===> 'TSUBXXX.TEST.JCL(XPEDJCL)' NO NO (YES, NO, TDO) System Flow? ===> NO YES Plan ===> PTESTDTA System ===> DB1T or enter END command to terminate

Followers

File List/JCL Member Preview Files? Code Coverage Test? Is This a DB2 Test?

Press ENTER to process

Posted by Ravikumar Srinivasan at 7:14 AM Labels: Xpeditor

0 comments: Post a Comment


open in browser PRO version
Are you a developer? Try out the HTML to PDF API New hot app: Facebook Albums To PDF

pdfcrowd.com

Note: Only a member of this blog may post a comment.

Home
Subscribe to: Post Comments (Atom)

Older Post

Awesome Inc. template. Powered by Blogger.

open in browser PRO version

Are you a developer? Try out the HTML to PDF API

New hot app: Facebook Albums To PDF

pdfcrowd.com

Anda mungkin juga menyukai