CASPOOL FCB and CHARS Customization
search cancel

CASPOOL FCB and CHARS Customization

book

Article ID: 244294

calendar_today

Updated On:

Products

OM Spool

Issue/Introduction

How to customize the FCB and CHARS.

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

 NODE PRT2,DISK1,                                    

  TCPHOST=DISK,                                        

  CLASS=0,                                            

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

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

  FCB=XYZ,                                              

  XFERNODE=NODE,                                       

  GROUP=2                                             

Resolution

Use a DESTID statement to force the value of the FCB and CHARS assigned to a file:

DESTID QDEST=PRT2,FFCB=xxxx,FCHARS=xxxx

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

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

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

CHARS is a range from CR00 to CR29. For example:

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