Caught RecordStreamException while running Co:Z Launcher te

General discussion of the Co:Z Toolkit
Post Reply
mvsadm
Posts: 2
Joined: Thu Aug 05, 2010 3:54 pm

Caught RecordStreamException while running Co:Z Launcher te

Post by mvsadm »

Hi,

We have Co:Z Toolkit for z/OS - release 1.7.2 installed on z/OS V1R11 and Co:Z Target System Toolkit - release 1.0.5-1 installed on SLES11 Linux instance running under z/VM. Both are set to run as a non-root user. Going through steps from XXX.COZ.TESTJCL(USERTEST) we took a "TEST05: FAILED". Below the JCL of the step and the content of TSTERR and TLNCHLOG DDs. We have no idea what is wrong. It is our first experience with Co:Z and we would greatly appreciate any help. Thank you.

//GOTEST5 JOB (),'COZTEST',MSGCLASS=H,NOTIFY=&SYSUID.
//PROCLIB JCLLIB ORDER=&SYSUID..COZ172.TESTJCL
//*
// SET TGT='''xxxxx@198.102.13.15'''
//*
//**************************************************************
//* TEST05 - Round-trip a 20-record VBS/32K/10K dataset
//**************************************************************
//TEST05 EXEC PROC=TESTPROC,TARGET=&TGT,ARGS='-LI'
//*
//TEST.STDIN DD *
genlines -l rdw 0 32760 20 |
todsn -l rdw //DD:TMPVBS1

fromdsn -l rdw //DD:TMPVBS1 |
todsn -l rdw //DD:TMPVBS2
//TEST.COZCFG DD *
#erver-env-COZ_LOG=T
//TEST.TMPVBS1 DD DSN=&&TMPVBS1,DISP=(,PASS),
// DCB=(RECFM=VBS,LRECL=32760,BLKSIZE=10000),
// SPACE=(CYL,(6,1),RLSE)
//TEST.TMPVBS2 DD DSN=&&TMPVBS2,DISP=(,PASS),
// DCB=(RECFM=VBS,LRECL=32760,BLKSIZE=10000),
// SPACE=(CYL,(6,1),RLSE)
//*
//CHECK.CHKIN DD *
TEST_NAME="TEST05"
assert_launchlog "todsn\(DD:TMPVBS1\).*; 20 records"
assert_launchlog "CoZLauncher ended with RC=0"
assert_eq_dataset //DD:TMPVBS1 //DD:TMPVBS2
//*
//CHECK.TMPVBS1 DD DSN=&&TMPVBS1,DISP=(OLD,DELETE,DELETE)
//CHECK.TMPVBS2 DD DSN=&&TMPVBS2,DISP=(OLD,DELETE,DELETE)
//*

TSTERR:
=====
genlines[N]: 20 lines / 330336 bytes written to stdout
todsn-client[W]: todsn(DD:TMPVBS1): RecordStreamException while copying data, rc=102, msg="unclaimed data at end of input stream; len=7797, maxLen=0, streamOffset=330336, recordNumber=24"

TLNCHLOG:
=======
CoZLauncher[N]: version: 1.7.2 2010-07-23
CoZLauncher[N]: Copyright (C) Dovetailed Technologies, LLC. 2006. All rights reserved.
CoZLauncher: Agent output WTO is OFF
CoZLauncher: ssh tunnelling is ON
CoZLauncher[W]: Unable to read /etc/init.options, continuing without setting basic system environment
CoZLauncher: CoZServer listener socket bound to: 127.0.0.1:8040
fromdsn(XXXXXX.PASSWD(SITE1))[N]: 1 records/80 bytes read; 8 bytes written in 0 milliseconds.
cozagent[N]: version: 1.0.5 2008-03-01
fromdsn(DD:STDIN)[N]: 5 records/400 bytes read; 125 bytes written in 0 milliseconds.
todsn(DD:TMPVBS1)[E]: caught RecordStreamException: unclaimed data at end of input stream; len=7797, maxLen=0, streamOffset=330336, recordNumber=24
todsn(DD:TMPVBS1)[N]: 330336 bytes read; 24 records/322439 bytes written in 0.022 seconds (14663.352 KBytes/sec).
fromdsn(DD:TMPVBS1)[N]: 24 records/322439 bytes read; 322535 bytes written in 0.027 seconds (11665.762 KBytes/sec).
todsn(DD:TMPVBS2)[N]: 322535 bytes read; 24 records/322439 bytes written in 0.089 seconds (3539.052 KBytes/sec).
todsn(DD:STDOUT)[N]: 0 bytes read; 0 records/0 bytes written in 0.339 seconds (0.000 Bytes/sec).
todsn(DD:STDERR)[N]: 243 bytes read; 2 records/241 bytes written in 0.337 seconds (721.068 Bytes/sec).
CoZLauncher[N]: xxxxx@198.102.13.15 target command '<default shell>' ended with RC=0
CoZLauncher: CoZLauncher ended with RC=0
dovetail
Site Admin
Posts: 2022
Joined: Thu Jul 29, 2004 12:12 pm

Post by dovetail »

I apologize for the confusion -

1) the test cases in the "testjcl" directory of the install package are largely obsolete... we probably shouldn't be including them in the package. The SAMPJCL PDS that is installed, along with the "Cookbook" documentation in the Co:Z User's guide is all you need to verify and use the Co:Z Launcher.

2) BTW: You are having a problem with the TEST5 step because of a compatability problem with our "genlines" test program (a little program used to generate test data). If you remove the four occurrences of "-l rdw" from DD TEST.STDIN in step TEST05, it should run OK. (We'll fix this problem in a future release, but thanks for letting us know).
mvsadm
Posts: 2
Joined: Thu Aug 05, 2010 3:54 pm

Post by mvsadm »

Sorry, it took me so long to get back to you.

Removing "-l rdw" occurences from DD TEST.STDIN did the trick. Thank you very much for your help.

Regards,
Igor
Post Reply