Co:Z Install failure

General discussion of the Co:Z Toolkit
Post Reply
kolxm
Posts: 2
Joined: Mon Aug 27, 2012 12:37 pm

Co:Z Install failure

Post by kolxm »

Just downloaded and installed co:Z 2.1.1. The last step of the install fails:

CoZBatch[N]: Copyright (C) 2005-2009 Dovetailed Technologies LLC. All rights re
CoZBatch[N]: version 2.1.1 2012-03-16
CoZBatch: executing progname=login-shell="-/bin/sh"
pax: //DD:PAX: EDC5037I The specified ddname was not found. (errno2=0xC00B05B1)
CoZBatch: returning rc=exitcode=1

The expanded jcl looks like:

//*
//PAX EXEC PGM=COZBATCH,REGION=32M,
// PARM='/APPHOME=&APPHOME'
IEFC653I SUBSTITUTION JCL - PGM=COZBATCH,REGION=32M,PARM='/APPHOME=/pgc/web/coz-
//STEPLIB DD DISP=SHR,DSN=&COZLOAD
IEFC653I SUBSTITUTION JCL - DISP=SHR,DSN=KOLXM.COZ.LOADLIB
//PAX DD DSN=&INSTALL(PAXBIN),DISP=SHR
IEFC653I SUBSTITUTION JCL - DSN=KOLXM.DDNAME.INSTALL(PAXBIN),DISP=SHR
//STDIN DD *
//*

The dataset exists. Any idea?

Thanks, .............Larry
dovetail
Site Admin
Posts: 2022
Joined: Thu Jul 29, 2004 12:12 pm

Re: Co:Z Install failure

Post by dovetail »

Larry,

I assume that you are referring to the Install JCL for the sample iText Case study, downloaded here:
http://dovetail.com/downloads/coz/index.html

I think that the problem is likely a resulting of you having _BPX_SHAREAS set to NO in your system or user shell login profile.

Background: when Co:Z Batch runs, it sets _BPX_SHAREAS=MUST, which is required in order to run the Unix shell in the same address space.
But, the Unix shell is run as a "login" shell, so it calls your /etc/.profile and $HOME/.profile.

If you explicity export _BPX_SHAREAS=NO in either one of these profiles, then the pax command will be forced into a separate address space, and it won't be able to read the DD.

So, you can add this to the failing COZBATCH step, at the beginning of the //STDIN DD (the script):

Code: Select all

//STDIN DD *
export _BPX_SHAREAS=YES
Also, you may want to consider setting _BPX_SHAREAS=YES in your system or user profiles. This is the default at most sites, and will generally result in better performance for z/OS Unix.
kolxm
Posts: 2
Joined: Mon Aug 27, 2012 12:37 pm

Re: Co:Z Install failure

Post by kolxm »

That corrected the problem. I will try and find where the variable is set.

Thanks for the quick response..........Larry
Post Reply