View previous topic :: View next topic
|
Author |
Message |
anish.ibm
New User
Joined: 28 Jun 2007 Posts: 23 Location: Bangalore
|
|
|
|
Hi all,
How to find for a string in the extended part of a JCL after doing a JJ on a JCL
Thanks
Anish. |
|
Back to top |
|
|
Marso
REXX Moderator
Joined: 13 Mar 2006 Posts: 1353 Location: Israel
|
|
|
|
"JJ" is not a standard command, so we cannot know what it does.
Can you search for the string in SDSF once the job has finished to execute? There you should have the complete JCL. |
|
Back to top |
|
|
anish.ibm
New User
Joined: 28 Jun 2007 Posts: 23 Location: Bangalore
|
|
|
|
Hi Marso,
Actually i need to expand the JCL ,by doing a JJ or JEM and then i have to find for a string in the expanded section , before it is being executed and then to collect those JCL for enhancements.
Hope my need is clear for you.
Thanks
Anish. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Quote: |
Hope my need is clear for you. |
Unfortunately, not yet.
If you post what you "have" and post what you "get" from jj and post what you need to do with it, we may be able to offer suggestion.
Someone may comletely understand what you are asking for, but most will not. |
|
Back to top |
|
|
anish.ibm
New User
Joined: 28 Jun 2007 Posts: 23 Location: Bangalore
|
|
|
|
Hi Dick,
Making very clear ....
After doing JJ or JEM we will get the below . Here i did JEM
Code: |
Command ===> Scroll ===> CSR
****** ***************************** Top of Data ******************************
==MSG> *** ERROR SUMMARY AND COUNTS *** JEM JS7.0.0 01/30/2008 06:55:01
==MSG> 1 ADVISORY LEVEL
==MSG> 2 WARNING LEVEL
==MSG> 0 ERROR LEVEL SAMPLE JEM O/P
==MSG> 9 TOTAL ISSUED 0 SUPPRESSED.
==MSG> THE HIGHEST SEVERITY CODE ENCOUNTERED WAS 04.
==MSG> LABEL SV MSG.NO. ERROR MESSAGE
==MSG> -------- -- -------- -------------------------------------------------
==MSG> .JAAA 4 DSS4052W - CATALOG INDICATES DATA SET MIGRATED/ARCHIVED
==MSG> .JAAA 4 DSS8104W - DB2 SYSTEM SPECIFIED IS NOT ACTIVE
==MSG> .JAAA 0 DSS8094A - DB2 USING DSN RETRY DEFAULT
|
followed by the Job and if there is a PROC it will be expanded here
Code: |
000001 //PERBB JOB (A,AIC001),PERUSE1,CLASS=I,MSGCLASS=1
000002 //JOBLIB DD DSN=SYST1.PROD.LINKLIB,DISP=SHR
//
//
000016 //PERBB EXEC PERBB
=NOTE= P1//UNLOAD EXEC PGM=IKJEFT01,DYNAMNBR=20
=NOTE= P1//SYSTSPRT DD SYSOUT=*
//
//
//
=NOTE= P1//SYSTSIN DD DSN=&CLIB(&CNTL1),DISP=SHR EXPANDED PART
=NOTE= P1--SYSTSIN DD DSN=SYST1.PROD.CONTROL(DBCNTL),DISP=SHR
=NOTE= ----+----1----+----2----+----3----+----4----+----5----+----6----+---
=NOTE= DSN SYSTEM(DP2E)
=NOTE= RUN PROGRAM(DSNTIAUL) PLAN(DSNTIEM1) LIB('DB2E.RUNLIB.LOAD') -
=NOTE= PARM('SQL')
=NOTE= END
==MSG> **WARNING - DSS8104W - DB2 SYSTEM SPECIFIED IS NOT ACTIVE
==MSG> *ADVISORY - DSS8094A - DB2 USING DSN RETRY DEFAULT
=NOTE= P1//SYSIN DD DSN=&E..PERBB.SQL.CONTROL(+1),DISP=SHR
=NOTE= P1--SYSIN DD DSN=EMEAP.PERBB.SQL.CONTROL(+1),DISP=SHR
|
Here i have to find for the string .. "PLAN(DSNTIEM1)" in the expanded part ... and then these JCLs are collected for enhancements. This is my requirement ..
Hope Now it is clear ..
Thanks
Anish. |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
What is JEM?
O. |
|
Back to top |
|
|
anish.ibm
New User
Joined: 28 Jun 2007 Posts: 23 Location: Bangalore
|
|
|
|
Its a Syntax checking tool ... equivalent to .. TYPRUN=SCAN in the Job card ..
Thanks
Anish. |
|
Back to top |
|
|
Douglas Wilder
Active User
Joined: 28 Nov 2006 Posts: 305 Location: Deerfield IL
|
|
|
|
The "Extended data" you are talking about has been inserted as "Note".
If as a line command you enter "MD999" the following 999 lines will become part of your data. Then you can find it. You might want to cancel after this. |
|
Back to top |
|
|
|