search cancel

CASPOOL FCB and CHARS set question

book

Article ID: 244294

calendar_today

Updated On:

Products

Spool

Issue/Introduction

Hi Mario,

 

 We need to customize the FCB and CHARS set to suit for our requirements, and then we quote the new FCB  in CAIQPARM or JES2 output as follows.  Please advise how to code CHARS.  

 

 

JOBNAME  JobID    Owner    Prty C Forms    Dest               FCB  UCS    Tot-Rec

XXXXXXXA JOB56352 XXXXXX0   112 A STD      FAPRT2            XYZ  ****     9,199

 

NODE FAPRT2,DISK1,                                    

  TCPHOST=DISK,                                        

  CLASS=0,                                            

  DRIVPRM1='DSNAME=XXXX.&FNM.FAPRT2.PDF,DISP=NEW',    

  DRIVPRM2='UNIT=3390,LRECL=9999,VOLSER=XXXXX2',      

  FCB=XYZ,                                              

  XFERNODE=NODE,                                       

  GROUP=2                                             

Environment

Release : 14.0

Component : Spool

Resolution

You can use a DESTID statement to force the value of the FCB and CHARS assigned to a file:

DESTID QDEST=FAPRT2,FFCB=xxxx,FCHARS=xxxx

Another option is to modify the JCL of the job that is creating the sysout:

//RPT     OUTPUT DEST=FAPRT2,FCB=xxx,CHARS=yyyy 
...

//SYSUT2  DD SYSOUT=A,OUTPUT=*.RPT

You can try CHARS in the range CR00 to CR29. For example:

DESTID QDEST=FAPRT2,FFCB=8,FCHARS=CR12

You can try other values for CRnn to see which value meets your needs.



The CHARS don't need to be stored in any z/OS dataset. You can find a list of possible CHARS values in the link below:

https://techdocs.broadcom.com/us/en/ca-mainframe-software/traditional-management/ca-spool/14-0/other-customization-options/tcp-ip-printdirect/lpr-pcl5-print-driver.html