Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to find the String in the extended part of a JCL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF
View previous topic :: :: View next topic  
Author Message
anish.ibm

New User


Joined: 28 Jun 2007
Posts: 23
Location: Bangalore

PostPosted: Tue Jan 29, 2008 4:04 pm    Post subject: How to find the String in the extended part of a JCL
Reply with quote

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
View user's profile Send private message

Marso

REXX Moderator


Joined: 13 Mar 2006
Posts: 1232
Location: Israel

PostPosted: Tue Jan 29, 2008 8:07 pm    Post subject:
Reply with quote

"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
View user's profile Send private message
anish.ibm

New User


Joined: 28 Jun 2007
Posts: 23
Location: Bangalore

PostPosted: Tue Jan 29, 2008 8:18 pm    Post subject: Reply to: How to find the String in the extended part of a J
Reply with quote

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
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Tue Jan 29, 2008 11:16 pm    Post subject:
Reply with quote

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
View user's profile Send private message
anish.ibm

New User


Joined: 28 Jun 2007
Posts: 23
Location: Bangalore

PostPosted: Wed Jan 30, 2008 9:02 pm    Post subject: Reply to: How to find the String in the extended part of a J
Reply with quote

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
View user's profile Send private message
ofer71

Global Moderator


Joined: 27 Dec 2005
Posts: 2360
Location: Israel

PostPosted: Wed Jan 30, 2008 9:21 pm    Post subject:
Reply with quote

What is JEM?

O.
Back to top
View user's profile Send private message
anish.ibm

New User


Joined: 28 Jun 2007
Posts: 23
Location: Bangalore

PostPosted: Wed Jan 30, 2008 9:33 pm    Post subject:
Reply with quote

Its a Syntax checking tool ... equivalent to .. TYPRUN=SCAN in the Job card ..


Thanks
Anish.
Back to top
View user's profile Send private message
Douglas Wilder

Active User


Joined: 28 Nov 2006
Posts: 305
Location: Deerfield IL

PostPosted: Wed Jan 30, 2008 9:55 pm    Post subject:
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> TSO/ISPF All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts RMM: scratching a volume that RMM thi... Hervey Martinez IBM Tools 0 Mon May 15, 2017 8:51 pm
No new posts Fileaid Update Replace with null string descann Compuware & Other Tools 4 Mon May 15, 2017 3:00 pm
No new posts find RACF group for access to spooled... jzhardy JCL & VSAM 1 Mon May 08, 2017 11:46 am
No new posts To find out size allocated to a seque... ashek15 JCL & VSAM 15 Thu Apr 27, 2017 9:42 am
No new posts Replacing same string with different ... vickey_dw DFSORT/ICETOOL 6 Wed Feb 22, 2017 10:44 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us