Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 1243
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 line 52: Name or string > 250 char... Ashishpanpaliya CLIST & REXX 5 Sat Oct 14, 2017 2:29 am
No new posts Search for a string in many PDS KARTHIGADEVI CLIST & REXX 5 Fri Sep 08, 2017 2:32 pm
No new posts How to change a string containing the... chong.zhou TSO/ISPF 6 Tue Aug 29, 2017 4:54 pm
No new posts Repeat part of record multiple times Learncoholic DFSORT/ICETOOL 4 Tue Aug 29, 2017 11:33 am
No new posts String after '.' (period) is not copy... balaji81_k SYNCSORT 6 Wed Aug 23, 2017 9:35 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us