Hi!
We have upgraded our system to z/OS 1.13, and now our Cozbatch does not work.
I'm running this JCL:
//*
//COPY EXEC PGM=COZBATCH,PARM='/ -LT'
//STEPLIB DD DSN=MVSP.TCPIP.SY6.COZ.LOADLIB,DISP=SHR
//OUT DD DSN=D8TMPN.AMEX.TEST2,SPACE=(CYL,(100,100)),
// DCB=(LRECL=80,RECFM=FB,BLKSIZE=27920),DISP=(,CATLG)
//STDOUT DD SYSOUT=*
//STDERR DD SYSOUT=*
//STDIN DD *
cat /u/d8tmpn/YMTSC821.A1001GMX.HBNS ! todsn //DD:OUT
//*
And I receive a RC=0, but the DS is empty.
This is the trace:
CoZBatchÝN¨: Copyright (C) 2005-2009 Dovetailed Technologies LLC. All rights res
CoZBatchÝN¨: version 1.10.1 2011-11-07
CoZBatchÝT¨: <- setupEnvironment()
CoZBatchÝT¨: -> openDDs()
CoZBatchÝD¨: stdin file opened: //DD:STDIN
CoZBatchÝD¨: stdout file opened: //DD:STDOUT
CoZBatchÝD¨: stderr file opened: //DD:STDERR
CoZBatchÝT¨: <- openDDs()
CoZBatchÝT¨: -> logRegionSize()
CoZBatchÝD¨: region size requested = 8192K, Actual below/above limit = 8256K / 3
CoZBatchÝT¨: <- logRegionSize()
CoZBatchÝT¨: -> setupProgname()
CoZBatchÝD¨: geteuid=0
CoZBatchÝI¨: executing progname=login-shell="-/bin/sh"
CoZBatchÝT¨: <- setupProgname(-/bin/sh)
CoZBatchÝT¨: -> spawnChild()
CoZBatchÝD¨: spawning progname=/bin/sh
CoZBatchÝD¨: argvÝ0¨ = -/bin/sh
CoZBatchÝD¨: current environment:
CoZBatchÝD¨: >_EDC_PUTENV_COPY=YES<
CoZBatchÝD¨: >LIBPATH=/lib:/usr/lib:.<
CoZBatchÝD¨: >_EDC_ADD_ERRNO2=1<
CoZBatchÝD¨: >HOME=/u/d8tmpn<
CoZBatchÝD¨: >LOGNAME=D8TMPN<
CoZBatchÝD¨: >_BPX_SHAREAS=MUST<
CoZBatchÝD¨: >_BPX_SPAWN_SCRIPT=YES<
CoZBatchÝD¨: >_BPXK_JOBLOG=STDERR<
CoZBatchÝD¨: >PATH=/bin:/usr/bin<
CoZBatchÝD¨: spawned /bin/sh (16777396)
CoZBatchÝT¨: <- spawnChild()
CoZBatchÝT¨: -> copyChildStreams(fd_cin=1 fd_cout=2 fd_cerr=4)
CoZBatchÝT¨: fd_cin selected for writing
CoZBatchÝT¨: DD:STDIN EOF
CoZBatchÝT¨: fd_cout selected for reading
CoZBatchÝT¨: child stdout output EOF
CoZBatchÝT¨: fd_cerr selected for reading
CoZBatchÝT¨: child stderr output EOF
CoZBatchÝT¨: <- copyChildStreams()
CoZBatchÝT¨: -> waitChild()
CoZBatchÝT¨: <- waitChild()
CoZBatchÝT¨: <- run()
CoZBatchÝI¨: returning rc=exitcode=0
I guess I have forgotten someting, but what????
Cozbatch problem.
Re: Cozbatch problem.
Well, just forget about this!
I was sitting doing this work at 2:30am, and it turns out that everything was OK, it was my own test job that was wrong in the allocations...
I was sitting doing this work at 2:30am, and it turns out that everything was OK, it was my own test job that was wrong in the allocations...
Re: Cozbatch problem.
Glad you found it.
FYI, redirection:
is a little more efficient than cat to a pipe
FYI, redirection:
Code: Select all
todsn //DD:OUT < /u/d8tmpn/YMTSC821.A1001GMX.HBNS