CoZBatch STDOUT LRECL

General discussion of the Co:Z Toolkit
Post Reply
mmayne
Posts: 15
Joined: Thu Jan 15, 2009 11:11 am

CoZBatch STDOUT LRECL

Post by mmayne »

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
dovetail
Site Admin
Posts: 2022
Joined: Thu Jul 29, 2004 12:12 pm

Re: CoZBatch STDOUT LRECL

Post by dovetail »

Are you using PGM=COZPROC or PROC=COZPROC ?
mmayne
Posts: 15
Joined: Thu Jan 15, 2009 11:11 am

Re: CoZBatch STDOUT LRECL

Post by mmayne »

Oops, my bad - I was using the old PROC=DTLSPAWN (too much work, too little time... :oops: ). 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
dovetail
Site Admin
Posts: 2022
Joined: Thu Jul 29, 2004 12:12 pm

Re: CoZBatch STDOUT LRECL

Post by dovetail »

Right, RUNSHELL is the Co:Z Batch example.
Thanks for pointing out the bug in our documentation.
Post Reply