Maybe it is getting assigned to a different service class by WLM when running from batch?
Kirk Wolf Dovetailed Technologies http://dovetail.com On Thu, Feb 1, 2018 at 11:53 AM, Charles Mills <[email protected]> wrote: > Thanks. Let me look into the ar command line switches. > > Charles > > > -----Original Message----- > From: IBM Mainframe Discussion List [mailto:[email protected]] On > Behalf Of John McKown > Sent: Thursday, February 1, 2018 9:36 AM > To: [email protected] > Subject: Re: Why does BPXBATCH/ar go to sleep > > On Thu, Feb 1, 2018 at 11:11 AM, Charles Mills <[email protected]> wrote: > > > > basically, /bin/sh is doing a UNIX "wait" command for the child > > processes to complete. IOW, it is sleeping the sleep of the just. > > > > Well, yeah, it's waiting because it's waiting for something. > > > > But why so long? Would you really expect an ar to *always* take 2 > > minutes or so on a z13s, even when it is lightly loaded? There are 213 > > object files in the archive already. > > > > Hum, an interesting question. I didn't really notice the "2 minutes" > portion. I took a look at the ar command here: > https://www.ibm.com/support/knowledgecenter/en/SSLTBW_2.3. > 0/com.ibm.zos.v2r3.bpxa500/libarc.htm > > And the only thing that came to my attention is that the "-r" switch adds > or replaces one or more members __AND__ it "regenerates the symbol table". > I don't really know what this latter is doing. But it may be why the "ar" > command is taking a fairly fixed length of time (doing something with each > member in the archive, not just the new one). I would likely test this by > adding the same member to a different archive with fewer members. > > ---------------------------------------------------------------------- > For IBM-MAIN subscribe / signoff / archive access instructions, > send email to [email protected] with the message: INFO IBM-MAIN > ---------------------------------------------------------------------- For IBM-MAIN subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO IBM-MAIN
