Skip to main content

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


#xa
#DB2LUW
#MFED
#JCL
#EnterpriseDeveloper
#COBOL
#problem
#Mainframe
#dsn
#Eclipse

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


#xa
#DB2LUW
#MFED
#JCL
#EnterpriseDeveloper
#COBOL
#problem
#Mainframe
#dsn
#Eclipse

Hi Basav, can you share the  XA resource definition to understand what that is configured as (you can omit the open string and other sensitive information).


Hi Basav, can you share the  XA resource definition to understand what that is configured as (you can omit the open string and other sensitive information).


This page:
www.microfocus.com/.../GUID-FB11C86F-FD8D-4DE6-AABF-6F2D17A7F4A1.html

Explains that the DSN command will use SQLServerConnection, and that is the name of an established connection to a SQL Server database. In your screenshot you use "XA/ACB1", as a test can you test with "XA/ACB1" in your JCL, and confirm the result.

Also, why do you use the / character? Is there a specific reason for that in the XA name?


This page:
www.microfocus.com/.../GUID-FB11C86F-FD8D-4DE6-AABF-6F2D17A7F4A1.html

Explains that the DSN command will use SQLServerConnection, and that is the name of an established connection to a SQL Server database. In your screenshot you use "XA/ACB1", as a test can you test with "XA/ACB1" in your JCL, and confirm the result.

Also, why do you use the / character? Is there a specific reason for that in the XA name?

Hi KimH,

Though have used XA/ABC1 and ABC1(DSN name defined in my system) but no luck at all. its keep giving me the same issue.

Thanks,

Basav


Hi KimH,

Though have used XA/ABC1 and ABC1(DSN name defined in my system) but no luck at all. its keep giving me the same issue.

Thanks,

Basav

Hi Basav,

I tested on my own ED 7.0 instance, region has a XA Resource ID/Name: XB0R, with following job:

//MFTEST JOB 'MFTK',CLASS=A,MSGCLASS=A
//STEP1 EXEC PGM=IKJEFT01,REGION=1024K
//INPUT1 DD DSN=ADDTODB.INPUT,DISP=SHR
//SYSUDUMP DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//SYSREPT DD SYSOUT=*
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD *
DSN SYSTEM(XB0R)
RUN PROGRAM(PGM1) -
PARM(STRINGTOPASS)
//

And do not encounter an issue.
How does your job compare?


Hi Basav,

I tested on my own ED 7.0 instance, region has a XA Resource ID/Name: XB0R, with following job:

//MFTEST JOB 'MFTK',CLASS=A,MSGCLASS=A
//STEP1 EXEC PGM=IKJEFT01,REGION=1024K
//INPUT1 DD DSN=ADDTODB.INPUT,DISP=SHR
//SYSUDUMP DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//SYSREPT DD SYSOUT=*
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD *
DSN SYSTEM(XB0R)
RUN PROGRAM(PGM1) -
PARM(STRINGTOPASS)
//

And do not encounter an issue.
How does your job compare?

Hi KimH, Thanks for your detailed information. How did you create this DSN System (XBOR). Did you use ODBC to create this ? 


Hi Basav,

I tested on my own ED 7.0 instance, region has a XA Resource ID/Name: XB0R, with following job:

//MFTEST JOB 'MFTK',CLASS=A,MSGCLASS=A
//STEP1 EXEC PGM=IKJEFT01,REGION=1024K
//INPUT1 DD DSN=ADDTODB.INPUT,DISP=SHR
//SYSUDUMP DD SYSOUT=*
//SYSPRINT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//SYSREPT DD SYSOUT=*
//SYSTSPRT DD SYSOUT=*
//SYSTSIN DD *
DSN SYSTEM(XB0R)
RUN PROGRAM(PGM1) -
PARM(STRINGTOPASS)
//

And do not encounter an issue.
How does your job compare?

When i restart the server , i got below mentioned error in my windows environment. 

CASXO0001S XA Resource Manager initialization error. Resource ABC1 open failed, reason -00003
CASXO0023S Severe error detected in ABC1 XA interface, RM interface disabled


Hi KimH, Thanks for your detailed information. How did you create this DSN System (XBOR). Did you use ODBC to create this ? 

Yes, ODBC used.
See links for more information:
https://www.microfocus.com/documentation/enterprise-developer/ed70/ED-VS2017/GUID-908DF3A6-8B8A-4DFF-BB38-30E5834C0F99.html

and:

https://www.microfocus.com/documentation/enterprise-developer/ed70/ED-VS2017/GUID-08CB666F-83C7-45D2-AA71-FBDB5D78B95D.html 


When i restart the server , i got below mentioned error in my windows environment. 

CASXO0001S XA Resource Manager initialization error. Resource ABC1 open failed, reason -00003
CASXO0023S Severe error detected in ABC1 XA interface, RM interface disabled

That indicates there is an issue with the connection, as a test can you connect to the database from a 3rd party tool , from the same machine , using the same credentials? That will help ensure you are using the correct details,e.g. in the XA resource's open string.


That indicates there is an issue with the connection, as a test can you connect to the database from a 3rd party tool , from the same machine , using the same credentials? That will help ensure you are using the correct details,e.g. in the XA resource's open string.

I am able to connect to database ABC1.


I am able to connect to database ABC1.

Does your  XA Resource use a ODBC DSN? Can you use Windows ODBC Administrator and test that DSN connection, result?


Does your  XA Resource use a ODBC DSN? Can you use Windows ODBC Administrator and test that DSN connection, result?

Thank you KimH for the expert inputs. Its worked for me after fixing the XA resource open string for the ODBC DSN. Thanks a lot KimH


Thank you KimH for the expert inputs. Its worked for me after fixing the XA resource open string for the ODBC DSN. Thanks a lot KimH

That is good news, if resolved please consider to mark this post as answered.