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
 

 

Trying to get the list of jobs from Beta 92 using a JCL.

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
janaonline

New User


Joined: 13 Dec 2007
Posts: 11
Location: USA, California

PostPosted: Wed Sep 29, 2010 1:15 am    Post subject: Trying to get the list of jobs from Beta 92 using a JCL.
Reply with quote

Well, Before going to the point that am looking, let me explain the process that is happening. There are around hundreds of JCL that is getting executed on a daily basis but it has been designed to have internal reader to trigger the next job. In the aspect of job execution that was fine. But when we think about return code validation we need to check eacj and every job in beta. Thats is a little tedious one to do on a regular basis.

I have a JCL where it searches the BETA 92 and it will load the output in the file. The output contains, JESMSGLG,JESJCL and JESYSMSG.

//SYSIN DD *
BFIND
SDATE(09/27/10)
STIME(18:00:00)
PDATE(09/28/10)
PTIME(12:00:00)
JOBNAME(ABC123)
JOBID(*)
NETID(*)
GROUP(*)
OPERATOR(OR)
OPTIONS(ALL)
SCOPE(BOTH)
MESSAGE(LONG)
RELOAD(NO)
MIXEDMODE(NO)
SLINE(0)
PLINE(0)
STRING2( )
STRING1( )



My request:
I wanted to display only the details like (Jobname Job ID Date Time Status Error ). If someone is aware of that, i would really appreciate if you could help in finishing this.

Thanks for you time.
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: Wed Sep 29, 2010 1:27 am    Post subject:
Reply with quote

Hello,

Not really what you asked, but why does jobN submit jobN+1 thru the internal reader if jobN was not successful? The process should stop with the failed job - should it not?

You have shown a "sysin" but what is the rest of the jcl for this step? Very few people will be able to relate with only some sysin parameters to look at (unless they know completely what you are using - and most will not).

Quote:
I wanted to display only the details like (Jobname Job ID Date Time Status Error ).
If these jobs are run "normally" and have sysout info in the spool after execution, you might use sdsf in batch to do what you want. There are multiple topics about sdsf in batch in the forums. There is a forum SEARCH feature above in the blue bar.
Back to top
View user's profile Send private message
Akatsukami

Global Moderator


Joined: 03 Oct 2009
Posts: 1771
Location: Bloomington, IL

PostPosted: Wed Sep 29, 2010 1:30 am    Post subject:
Reply with quote

As Beta 92 is a proprietary process analysis system not possessed by every shop, would it not be better to approach Beta Systems, either directly or through the appropriate support analysts in your shop?
Back to top
View user's profile Send private message
janaonline

New User


Joined: 13 Dec 2007
Posts: 11
Location: USA, California

PostPosted: Wed Sep 29, 2010 2:00 am    Post subject:
Reply with quote

dick scherrer wrote:
Hello,

Not really what you asked, but why does jobN submit jobN+1 thru the internal reader if jobN was not successful? The process should stop with the failed job - should it not?


That is totally understandable and i absolutely support your point. The problem is, the person who runs and maintains the region is from external vendor and my management was accepted to this setup and at this point i cannot do anything. Since already it started and going on..

Quote:
You have shown a "sysin" but what is the rest of the jcl for this step? Very few people will be able to relate with only some sysin parameters to look at (unless they know completely what you are using - and most will not).


//SEARCH EXEC PGM=BSS01RFF,REGION=0M,
// PARM=('S=92,B01LST=A1,B92LST=J1',
// 'PGM=B92FFIND')
//*
//*
//B92DEF DD DUMMY
//*
//SFFPARM DD DISP=SHR,
// DSN=SYS9.BETA.PARMLIB
//*
//SFFFDUMP DD SYSOUT=*
//SYSUDUMP DD SYSOUT=*
//OMSPRINT DD SYSOUT=*
//B92LOG DD SYSOUT=*
//*
//SYSIN DD *


Quote:
I wanted to display only the details like (Jobname Job ID Date Time Status Error ).
If these jobs are run "normally" and have sysout info in the spool after execution, you might use sdsf in batch to do what you want. There are multiple topics about sdsf in batch in the forums. There is a forum SEARCH feature above in the blue bar.[/quote]

I could certainly validate it in spool, but i have hundreds of jobs and jobs were routed to beta so i will not be able to check once the job is over.

The process that am trying to do is, by getting the list from beta i could maintain a daily status log of all these jobs.

Thanks a lot for your time.
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: Wed Sep 29, 2010 2:05 am    Post subject: Reply to: Trying to get the list of jobs from Beta 92 using
Reply with quote

You're welcome - good luck icon_smile.gif

As Akatsukami suggested:
Quote:
would it not be better to approach Beta Systems
They should be able to provide guidance. . .

d
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 -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts member list compare jzhardy TSO/ISPF 6 Fri May 12, 2017 3:18 pm
No new posts Determine Region with max bandwidth f... seahawk789 COBOL Programming 3 Mon Feb 27, 2017 8:26 pm
No new posts SQL query to run through list of valu... Ni3-db2 DB2 14 Wed Dec 14, 2016 9:52 am
No new posts Cobol list of programs being called biswajit.dattagupta COBOL Programming 5 Tue Nov 01, 2016 2:10 am
No new posts How to show message using batch jobs madprasy TSO/ISPF 7 Fri Sep 09, 2016 6:55 pm


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