Install hanging on LOADLIB

Discussion of the Co:Z Co-Processing Toolkit for z/OS
Post Reply
RTrimbach
Posts: 5
Joined: Thu Feb 12, 2015 8:43 am

Install hanging on LOADLIB

Post by RTrimbach » Thu Feb 12, 2015 9:10 am

I am installing 3.0.0 on a zos 1.13 system. I am pretty familiar with OMVS. When I run the install process, it asks for a LOADLIB. I defaulted and it went into "running" then went into "input" without asking for what I should input. I input a new name "SYS3.COZ.LOADLIB" and it did the same thing. I tried to get out and finally cancelled my ID. I deleted all the OMVS directory and pre-allocated the SYS3.COZ.LOADLIB" and tried it again. Same thing happened. It looks like it is running, then it is waiting for input without asking for input. I tried just hitting enter, I tried Y. Each time it starts running then moves to input. Is there something I am doing wrong?

dovetail
Site Admin
Posts: 1910
Joined: Thu Jul 29, 2004 12:12 pm

Re: Install hanging on LOADLIB

Post by dovetail » Fri Feb 13, 2015 9:01 am

There is a REXX script that runs this part of the install that seems to be having problems.

To diagnose:

1) run the install again, and then break or cancel when you get to the problem

2) From a Unix shell:
> cd /<coz_install> # the top of the Co:Z install directory
> vi or oedit install/install.rexx
- after the line "parse arg installDir", insert a line: trace R

3) continue running the REXX install script, and capture the debugging output and post it.

# your current directory should still be <coz_inst>
> install/install.rexx $PWD

RTrimbach
Posts: 5
Joined: Thu Feb 12, 2015 8:43 am

Re: Install hanging on LOADLIB

Post by RTrimbach » Fri Feb 13, 2015 10:20 am

That did not seem to get any trace records, at least to the terminal. OK, I am wrong. I entered the library name 3 times, and the third time I got something. Don't know why it took 3 times, but here is what I got.

SYS3.COZ.LOADLIB
SYS3.COZ.LOADLIB
SYS3.COZ.LOADLIB

/usr/isvsmpe/coz/loadmodules/COZBATCH -> SYS3.COZ.LOADLIB(COZBATCH): executable
IEW2606S 4B39 MODULE INCORPORATES VERSION 3 PROGRAM OBJECT FEATURES AND CANNOT
BE SAVED IN LOAD MODULE FORMAT.
cp: FSUMF140 IEWBIND function "SAVEW" failed with return code 12 and reason code
83000422

/usr/isvsmpe/coz/loadmodules/COZLNCH -> SYS3.COZ.LOADLIB(COZLNCH): executable
IEW2606S 4B39 MODULE INCORPORATES VERSION 3 PROGRAM OBJECT FEATURES AND CANNOT
BE SAVED IN LOAD MODULE FORMAT.
cp: FSUMF140 IEWBIND function "SAVEW" failed with return code 12 and reason code
83000422

An error occurred copying the load modules, installation terminated
#


Hope this gets you the info to help.

Thanks
Rick

RTrimbach
Posts: 5
Joined: Thu Feb 12, 2015 8:43 am

Re: Install hanging on LOADLIB

Post by RTrimbach » Fri Feb 13, 2015 10:42 am

I looked at the LOADLIB and there was nothing in it. I remembered that I had re-allocated it, so the script did not allocate it. I renamed the one I created and tried it again. I entered the name in 10 times and it kept doing the RUNNING then the INPUT thing. Is there a better way to break out? I tried Alt-C, ALT-Q, Alt-X and I finally had to cancel the TSO ID.

An error occurred copying the load modules, installation terminated
# ./install/install.rexx $PWD

Enter new or existing target PDSE load module library name (SYS1.COZ.LOADLIB):
SYS3.COZ.LOADLIB
SYS3.COZ.LOADLIB
SYS3.COZ.LOADLIB
SYS3.COZ.LOADLIB
SYS3.COZ.LOADLIB
SYS3.COZ.LOADLIB
SYS3.COZ.LOADLIB
SYS3.COZ.LOADLIB
SYS3.COZ.LOADLIB

dovetail
Site Admin
Posts: 1910
Joined: Thu Jul 29, 2004 12:12 pm

Re: Install hanging on LOADLIB

Post by dovetail » Fri Feb 13, 2015 5:55 pm

It must be a PDSE. The IEW2606S error would indicate that it is not.

You can see in the install/install.rexx script how the dataset is allocated.

I suggest that you start with new libraries, and if you still have problems, please post the REXX trace as described above.

RTrimbach
Posts: 5
Joined: Thu Feb 12, 2015 8:43 am

Re: Install hanging on LOADLIB

Post by RTrimbach » Thu Jun 11, 2015 3:24 pm

I am back looking at this. I don't have ISCF running. but that should not patter. It is still stopping on the LOADLIB. Here is what the screen said.

# install.rexx $PWD
12 *-* /* Remove old sftp-server.rc, if present, from bin directory (it is now located in samples) */
13 *-* address SH 'rm -f 'installDir'/bin/sftp-server.rc'
>>> "rm -f /usr/isvsmpe/coz/install/bin/sftp-server.rc"
15 *-* /* Unload the load modules to a PDSE of the user's choice */
15 *-* /* Unload the load modules to a PDSE of the user's choice */
16 *-* haveDSN = 0
>>> "0"
17 *-* do while haveDSN = 0
>>> "1"
18 *-* lmodDSN = 'SYS1.COZ.LOADLIB'
>>> "SYS1.COZ.LOADLIB"
19 *-* lmodDSN = promptWithDefault('Enter new or existing target PDSE load module library name', lmodDSN)
121 *-* promptWithDefault :
*-* procedure
122 *-* prompt = arg(1)
>>> "Enter new or existing target PDSE load module library name"
123 *-* defvalue = arg(2)
>>> "SYS1.COZ.LOADLIB"
124 *-* say ''
>>> ""
>>> "Enter new or existing target PDSE load module library name (SYS1.COZ.LOADLIB):"
Enter new or existing target PDSE load module library name (SYS1.COZ.LOADLIB):
126 *-* parse pull answer sys3.coz.loadlib
>>> "sys3.coz.loadlib"
127 *-* answer = strip(answer)
>>> "sys3.coz.loadlib"
128 *-* if length(answer) = 0
>>> "0"
129 *-* return answer
>>> "sys3.coz.loadlib"
>>> "sys3.coz.loadlib"
20 *-* call outtrap out.,,noconcat
>>> "OUT."
>>> ""
>>> "NOCONCAT"
>>> "OUT."
21 *-* address TSO 'listd '''lmodDSN''''
>>> "listd 'sys3.coz.loadlib'"


I HIT ENTER Got RUNNING then INPUT

I typed in sys3.coz.loadlib Got RUNNING then INPUT

Tried several times and got nothing. What does this show you?

dovetail
Site Admin
Posts: 1910
Joined: Thu Jul 29, 2004 12:12 pm

Re: Install hanging on LOADLIB

Post by dovetail » Thu Jun 11, 2015 3:44 pm

It seems to indicate that the REXX exec is hanging on "listd 'sys3.coz.loadlib'".

Is this an existing cataloged dataset or non-existing? mounted? other console messages indicating why the listd command is hanging?

Try using a non-existing data set name. The listd should find this out and then the script will try to allocate a new dataset with the correct attributes.

RTrimbach
Posts: 5
Joined: Thu Feb 12, 2015 8:43 am

Re: Install hanging on LOADLIB

Post by RTrimbach » Fri Jun 12, 2015 1:36 pm

I tried many things. I am not a rexx pgogrammer, but I copied you rexx and took much of it away and tried to get an ADDRESS TSO command to work. There seems to be a problem with OMVS on my system. So I commented out the output trap in your rexx, like this, and following is what I got.

...
/* call outtrap out.,,noconcat */
address TSO 'listd '''lmodDSN''''
/* call outtrap off */
...

125 *-* say prompt '('defvalue'):'
>>> "Enter new or existing target PDSE load module library name (SYS1
.COZ.LOADLIB):"
Enter new or existing target PDSE load module library name (SYS1.COZ.LOADLIB):
126 *-* parse pull answer
sys3.coz.loadlib
>>> "sys3.coz.loadlib"
127 *-* answer = strip(answer)
>>> "sys3.coz.loadlib"
128 *-* if length(answer) = 0
>>> "0"
129 *-* return answer
>>> "sys3.coz.loadlib"
>>> "sys3.coz.loadlib"
20 *-* /* call outtrap out.,,noconcat */
21 *-* address TSO 'listd '''lmodDSN''''
>>> "listd 'sys3.coz.loadlib'"
IKJ56500I COMMAND BPXWRTCM NOT FOUND
READY
,===>,



So it is getting to TSO, but not executing it properly. I looked the BPXWRTCM up a little, and I found that it must be in LPA or Linklist. It is in linklist. In JCL, I tried to execute it and it found the module. Did not get an 806, so the module is there. It says command not found, so does something need to be done in TSO to allow this access from OMVS?

dovetail
Site Admin
Posts: 1910
Joined: Thu Jul 29, 2004 12:12 pm

Re: Install hanging on LOADLIB

Post by dovetail » Fri Jun 12, 2015 2:14 pm

I agree, something is wrong with your system.

What you sounds similar to this issue:
http://community.dovetail.com/forum/viewtopic.php?t=703

Post Reply