Skip to main content

say for the follwoeing JCL snippet, when i am running this, where PROGRAM1 is a simple COBOL DB2 program

//STEP01 EXEC PGM=IKJEFT1B
//SYSPRINT DD SYSOUT=*
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD *
DSN SYSTEM (INGG)
RUN PROGRAM (PROGRAM1)
END
//

I am getting:-

Micro Focus ESMVS/TSO Version 7.0.000. Copyright (C) 1997-2015 Micro Focus.              All rights reserved.                         
 DSN SYSTEM (INGG)                                                                                                                    
 RUN PROGRAM (TCFAUTRF)                                                                                                               
MVSER0031S "INGG" is not a valid subsystem id. Sub-command stream flushed.:                                                           
MVSER0099S Remainder of command stream flushed.:                                                                                      
 END              

even though INGG is already defined as a system DSN . please advise on the root cause of this

#JCL
#EnterpriseDeveloper
#microfocusserver

say for the follwoeing JCL snippet, when i am running this, where PROGRAM1 is a simple COBOL DB2 program

//STEP01 EXEC PGM=IKJEFT1B
//SYSPRINT DD SYSOUT=*
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD *
DSN SYSTEM (INGG)
RUN PROGRAM (PROGRAM1)
END
//

I am getting:-

Micro Focus ESMVS/TSO Version 7.0.000. Copyright (C) 1997-2015 Micro Focus.              All rights reserved.                         
 DSN SYSTEM (INGG)                                                                                                                    
 RUN PROGRAM (TCFAUTRF)                                                                                                               
MVSER0031S "INGG" is not a valid subsystem id. Sub-command stream flushed.:                                                           
MVSER0099S Remainder of command stream flushed.:                                                                                      
 END              

even though INGG is already defined as a system DSN . please advise on the root cause of this

#JCL
#EnterpriseDeveloper
#microfocusserver
Hi,

have you definded "INGG" as XA resource ?

say for the follwoeing JCL snippet, when i am running this, where PROGRAM1 is a simple COBOL DB2 program

//STEP01 EXEC PGM=IKJEFT1B
//SYSPRINT DD SYSOUT=*
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD *
DSN SYSTEM (INGG)
RUN PROGRAM (PROGRAM1)
END
//

I am getting:-

Micro Focus ESMVS/TSO Version 7.0.000. Copyright (C) 1997-2015 Micro Focus.              All rights reserved.                         
 DSN SYSTEM (INGG)                                                                                                                    
 RUN PROGRAM (TCFAUTRF)                                                                                                               
MVSER0031S "INGG" is not a valid subsystem id. Sub-command stream flushed.:                                                           
MVSER0099S Remainder of command stream flushed.:                                                                                      
 END              

even though INGG is already defined as a system DSN . please advise on the root cause of this

#JCL
#EnterpriseDeveloper
#microfocusserver
INGG is defined as ODBC DSN but its related in XA resource 'POCD' using open string parameters

say for the follwoeing JCL snippet, when i am running this, where PROGRAM1 is a simple COBOL DB2 program

//STEP01 EXEC PGM=IKJEFT1B
//SYSPRINT DD SYSOUT=*
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD *
DSN SYSTEM (INGG)
RUN PROGRAM (PROGRAM1)
END
//

I am getting:-

Micro Focus ESMVS/TSO Version 7.0.000. Copyright (C) 1997-2015 Micro Focus.              All rights reserved.                         
 DSN SYSTEM (INGG)                                                                                                                    
 RUN PROGRAM (TCFAUTRF)                                                                                                               
MVSER0031S "INGG" is not a valid subsystem id. Sub-command stream flushed.:                                                           
MVSER0099S Remainder of command stream flushed.:                                                                                      
 END              

even though INGG is already defined as a system DSN . please advise on the root cause of this

#JCL
#EnterpriseDeveloper
#microfocusserver
Hi Sunilmh,
You will need to define an XA resource with the ID of INGG in the region configuration. For a DB2 database your XA resource would use the ESDB2XA module. There is some information on configuring the module in the docs, look for Using XA-compliant Resources (XARs)

say for the follwoeing JCL snippet, when i am running this, where PROGRAM1 is a simple COBOL DB2 program

//STEP01 EXEC PGM=IKJEFT1B
//SYSPRINT DD SYSOUT=*
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD *
DSN SYSTEM (INGG)
RUN PROGRAM (PROGRAM1)
END
//

I am getting:-

Micro Focus ESMVS/TSO Version 7.0.000. Copyright (C) 1997-2015 Micro Focus.              All rights reserved.                         
 DSN SYSTEM (INGG)                                                                                                                    
 RUN PROGRAM (TCFAUTRF)                                                                                                               
MVSER0031S "INGG" is not a valid subsystem id. Sub-command stream flushed.:                                                           
MVSER0099S Remainder of command stream flushed.:                                                                                      
 END              

even though INGG is already defined as a system DSN . please advise on the root cause of this

#JCL
#EnterpriseDeveloper
#microfocusserver
ohh... i have renamed the XA to INGG and i worked... !!! thanks andrew

ohh... i have renamed the XA to INGG and i worked... !!! thanks andrew

HI,

I have same issue but my issue still persists even if i changed the XA name to DSN name. Any help here.

Micro Focus ESMVS/TSO Version 7.0.000. Copyright (C) Micro Focus 1997-2021. All rights reserved.
DSN SYSTEM(ABC1)
RUN PROGRAM(PGM1) PLAN(PGM1G)
MVSER0031S "ABC1" is not a valid subsystem id. Sub-command stream flushed.:
MVSER0099S Remainder of command stream flushed.:
END

Note: My XA source name is as same as DSN system i.e ABC1

Thanks,

Basavaraj


HI,

I have same issue but my issue still persists even if i changed the XA name to DSN name. Any help here.

Micro Focus ESMVS/TSO Version 7.0.000. Copyright (C) Micro Focus 1997-2021. All rights reserved.
DSN SYSTEM(ABC1)
RUN PROGRAM(PGM1) PLAN(PGM1G)
MVSER0031S "ABC1" is not a valid subsystem id. Sub-command stream flushed.:
MVSER0099S Remainder of command stream flushed.:
END

Note: My XA source name is as same as DSN system i.e ABC1

Thanks,

Basavaraj

Hi Basav,

Looks like you also posted this on  https://community.rocketsoftware.com/discussion/mvser0031s-abc1-is-not-a-valid-subsystem-id#bm6c3f23e9-3824-4b23-873f-4b260a9c04dc we can work on the  link if agreed to avoid duplicate effort.