Bug: COZLNCH Cant user multiple datasets with the COZCFG DD

General discussion of the Co:Z Toolkit
Post Reply
bennysaurus
Posts: 3
Joined: Mon Nov 14, 2011 1:48 am

Bug: COZLNCH Cant user multiple datasets with the COZCFG DD

Post by bennysaurus »

Hi this is an interesting one I've found, when passing options to the COZCFG DD (target-user, target-host, etc.) it doesn't seem to like multiple datasets concatenated. You can have in-stream information, just one DD, or in-stream and one DD but that's it.

The following doesn't seem to work for instance:

Code: Select all

//COZCFG   DD DSN=HLQ.HOSTNAME,DISP=SHR
//         DD DSN=HLQ.TARGUSER,DISP=SHR
But this does:

Code: Select all

//COZCFG   DD *
 target-user=bennysaurus
//         DD DSN=HLQ.HOSTNAME,DISP=SHR
Doing so gives an RC of 103 and returns the following error:


CoZLauncherÝN¨: version: 1.9.0 2011-05-02
CoZLauncherÝN¨: Copyright (C) Dovetailed Technologies, LLC. 2006. All rights res
CoZLauncherÝE¨: ./Properties.C(46) - fgets(2CBA70C0,4096,2CBC6138)

The fgets return seems to suggest its having trouble parsing the stream in the problem case. Flat files, PDS, PDSEs, doesn't matter which combination you use either.

Yep I'm using 1.9.0 in this instance, if it's been fixed will shift to a later version once I can get it past change control :D

Running z/OS 01.12
dovetail
Site Admin
Posts: 2022
Joined: Thu Jul 29, 2004 12:12 pm

Re: Bug: COZLNCH Cant user multiple datasets with the COZCFG

Post by dovetail »

The sample proc "COZPROC" sets up a concatenation of your COZCFG DD like this:

Code: Select all

//COZCONF  DD DSN=&COZCFGD,DISP=SHR
//         DD DDNAME=COZCFG
In your examples that fail, what are the DCB attributes of your COZCFGD datasets and the datasets pointed to by your COZCFG concatenation?
dovetail
Site Admin
Posts: 2022
Joined: Thu Jul 29, 2004 12:12 pm

Re: Bug: COZLNCH Cant user multiple datasets with the COZCFG

Post by dovetail »

Also, did you get an MVS I/O error message in your job log?

Perhaps:
IEC034I INCONSISTENT RECORD FORMATS ...
bennysaurus
Posts: 3
Joined: Mon Nov 14, 2011 1:48 am

Re: Bug: COZLNCH Cant user multiple datasets with the COZCFG

Post by bennysaurus »

You got it in one, just figured it out at the same time - if the datasets are allocated to be too big (in this case had a typo and was doing 10,1 tracks instead of 1,1) then it dies in a screaming heap. Have fixed and we're looking good, cheers.
Post Reply