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
 

 

BPXBATCH occasionally can't find shell script

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

New User


Joined: 31 Jan 2008
Posts: 2
Location: Columbus, OH

PostPosted: Mon Feb 04, 2008 11:57 pm    Post subject: BPXBATCH occasionally can't find shell script
Reply with quote

I have a JCL where BPXBATCH calls a shell script. It fails roughly one out of 5 times with a not found message, referring to the script, specifically
Code:
/u/sprodid/ei/httpmf.sh: FSUM7351 not found


We've gone through some troubleshooting on this to determine if the job was failing over to another LPAR that had a different Unix filesystem, and verified that no other jobs were accessing the script at the same time as the job that failed.

The JCL populates the call to BPXBATCH using variables, and the same job gets called every 15 minutes, and the variables appear to be populating correctly in the jobs that fail. Here is the JCL snipping calling the shell script:

Code:
//EICALL1  EXEC PGM=BPXBATCH,                                 
//          PARM='sh /u/&UACCT./ei/httpmf.sh &HOST &SVC &CREDS'


...and here is some sample job output showing the error code for EICALL1:

Code:
---- MONDAY,    04 FEB 2008 ----                                                                           
 IRR010I  USERID SPRODID  IS ASSIGNED TO THIS JOB.                                                         
 DTM4750I JOB CPU LIMITED TO 60:00                                                                         
 IEF196I DTM4750I JOB CPU LIMITED TO 60:00                                                                 
 ICH70001I SPRODID  LAST ACCESS AT 12:27:54 ON MONDAY, FEBRUARY 4, 2008                                   
 $HASP373 #SEIP470 STARTED - WLM INIT  - SRVCLASS PRDBATLO - SYS COCB                                     
 IEF403I #SEIP470 - STARTED - TIME=12.28.01                                                               
 -                                         --TIMINGS (MINS.)--            ----PAGING COUNTS---             
 -JOBNAME  STEPNAME PROCSTEP    RC   EXCP    CPU    SRB  CLOCK   SERV  PG   PAGE   SWAP    VIO SWAPS STEPNO
 -#SEIP470          EIRNLOG1    00    141    .00    .00    .00   5230   0      0      0      0     0     1
 -#SEIP470          EIRNCTL1    00    256    .00    .00    .01  13562   0      0      0      5     0     2
 -#SEIP470          EIRNCTL2    00     23    .00    .00    .00   1306   0      0      0      0     0     3
 -#SEIP470          EIRNLOG2    00    163    .00    .00    .01   6167   0      0      0      0     0     4
 -#SEIP470          EICALL0     00     18    .00    .00    .00    325   0      0      0      0     0     5
 -#SEIP470          EICALL1   3840     46    .00    .00    .00   1914   0      0      0      0     0     6


Could anyone help shed some light on this? Why would the script not be visible to BPXBATCH occasionally?

Thanks,
Curtis
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 Feb 05, 2008 12:56 am    Post subject:
Reply with quote

Hello Curtis and welcome to the forums,

Any chance that "something" is being renamed periodically - possibly to prevent some process(es) from being run at that time?
Back to top
View user's profile Send private message
Curtis Autery

New User


Joined: 31 Jan 2008
Posts: 2
Location: Columbus, OH

PostPosted: Tue Feb 05, 2008 8:03 pm    Post subject:
Reply with quote

dick scherrer wrote:
Hello Curtis and welcome to the forums,

Any chance that "something" is being renamed periodically - possibly to prevent some process(es) from being run at that time?


DS,

Sort of. More precisely, "something" is occasionally late to the party.

Our working theory now is that the directory in question isn't auto-mounting correctly. We're thinking that BPXBATCH and automount are in sort of a race condition, and we're going to set the directory in question to stay mounted, and see if that clears things up.

Thanks for the reply.
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 Feb 05, 2008 8:29 pm    Post subject: Reply to: BPXBATCH occasionally can't find shell script
Reply with quote

You're welcome icon_smile.gif

Good luck and if you post the solution, it may help someone else later.

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 find particular member name in PDS us... ravi243 CLIST & REXX 10 Mon Dec 19, 2016 6:44 pm
No new posts How to find the first monday of the w... abdulrafi COBOL Programming 10 Fri Nov 25, 2016 3:24 pm
No new posts Find out a active PGM jpsager JCL & VSAM 10 Fri Oct 07, 2016 4:32 pm
No new posts How to find a CICS resource used in C... Arunkumar Chandrasekaran CICS 8 Thu Sep 29, 2016 1:45 pm
No new posts how to find clist's or view library Andrew Hsia CLIST & REXX 4 Tue Jun 28, 2016 6:07 pm


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