I'm running Co:Z Toolkit 2.0.0 on z/OS V1R13. In a COZBATCH job, I executed a command that had several lines that were over length (133) and wrapped. Wanting a wider STDOUT, I wanted to override the STDOUT DD in the COZPROC procedure, but discovered it already had an override for the DCB: "DCB=(RECFM=VB,LRECL=255,BLKSIZE=10000)", which it appears to ignore, as my spool browser reports that the DCB for STDOUT is RECFM=VA,LRECL=133. So, I tried a JCL override for STDOUT to RECFM=VBA,LRECL=255,BLKSIZE=1000, and I got longer lines, spool browser said it was RECFM=VA,LRECL=251 now. You might want to double-check all the procs you ship in SAMPLIB for the correct RECFM (either V(B) or VA(B)).
FYI.
-Mike
CoZBatch STDOUT LRECL
Re: CoZBatch STDOUT LRECL
Are you using PGM=COZPROC or PROC=COZPROC ?
Re: CoZBatch STDOUT LRECL
Oops, my bad - I was using the old PROC=DTLSPAWN (too much work, too little time... ). So the override for this is fine.
However, in the comments of DTLSPAWN:
NOTE: This proc is distributed for compatibility only....
DTLSPAWN has been renamed to COZBATCH, and it has
be enhanced so that a PROC is no longer needded. (note: typo)
see http://dovetail.com/products/cozbatch for more info,
or member "RUNCOZB" for examples.
And there is no member RUNCOZB - should this now be RUNSHELL?
-Mike
However, in the comments of DTLSPAWN:
NOTE: This proc is distributed for compatibility only....
DTLSPAWN has been renamed to COZBATCH, and it has
be enhanced so that a PROC is no longer needded. (note: typo)
see http://dovetail.com/products/cozbatch for more info,
or member "RUNCOZB" for examples.
And there is no member RUNCOZB - should this now be RUNSHELL?
-Mike
Re: CoZBatch STDOUT LRECL
Right, RUNSHELL is the Co:Z Batch example.
Thanks for pointing out the bug in our documentation.
Thanks for pointing out the bug in our documentation.