U4038 and U4039 abends

Document ID : KB000053583
Last Modified Date : 14/02/2018
Show Technical Document Details

Description:

U4038 and U4039 abends using the Repository Online Interface and/or Repository Batch jobs

Solution:

Add the following LE370 parameters to your JCL:

//  PARM=('ERR(0),ALL31(ON),STO(00,NONE,00,0)', 
//    'STACK(669K,500K,BELOW,FREE)',
//             'HEAP(1M,200K,ANY,FREE)/')

Add the following LE370 parameter STO(00,NONE,00,0) to PARM1 in your ARZOS CLIST:

PARM1 = "ERRCOUNT(0),STACK(669K,500K,BELOW,FREE),",
    "HEAP(1M,200K,ANYWHERE,FREE),", 
"THREADHEAP(4K,4K,ANYWHERE,KEEP),",
"ANYHEAP(8K,4K,ANYWHERE,FREE),"
"LIBSTACK(12K,4K,FREE),",
"DEPTHCONDLMT(0),ALL31(ON),POSIX(ON)",
"RPTOPTS(OFF),RPTSTG(OFF)",
"STO(00,NONE,00,0)"
If you still receive the abend, enable the Storage Options RPTOPTS(ON) and Storage Reports RPTSTG(ON) parms as follows:

Add the following LE370 parameters to your JCL:
//  PARM=('ERR(0),RPTOPTS(ON),RPTSTG(ON),ALL31(ON),STO(00,NONE,00,0)', 
//    'STACK(669K,500K,BELOW,FREE)', 
//             'HEAP(1M,200K,ANY,FREE)/')
Then contact CA Support and provide the reports generated for further analysis.