ca.portal.admin

Re:No Subject

Discussion created by ca.portal.admin on Oct 3, 2007
Geoff,

Since ACCEPT SYSVERSION doesn't work in batch, I assume it won't work in
CICS either. You might consider an OOAK record that identifies the
environment.

Good luck,
Gary Bryson
Database Administrator, SG Database Group
Delta Dental/EDS Denti-Cal




The information contained in this email message and any attachments is
confidential and intended only for the addressee(s). If you are not an
addressee, you may not copy or disclose the information, or act upon it,
and you should delete it entirely from your email system. Please notify
the sender that you received this email in error.
-----Original Message-----
From: IDMS Public Discussion Forum [mailTo:IDMS-L@LISTSERV.IUASSN.COM]
On Behalf Of Wheeler, Geoff
Sent: Tuesday, October 02, 2007 7:29 PM
To: IDMS-L@LISTSERV.IUASSN.COM
Subject:


Hi All,

Some of our programmers need to be able to detect
whether a job is running in the development or production environment
from a CICS IDMS-DC program.

They are using 'ACCEPT SYSVERSION INTO WS----' and
then test the CV number in the returned halfword PIC S9(4) COMP.

Unfortunately the ACCEPT always returned error status
0063 (invalid parameter list). They have tried other forms of accept
(i.e USER ID, and ACCEPT FROM) with the same result.

Has anyone any idea which parameter is at fault?

Alternatively can anyone suggest another method to
determine the environment ?

Many thanks in advance,
Geoff
"
IDMS Public Discussion Forum
IDMS-L@LISTSERV.IUASSN.COM
SMTP
IDMS-L@LISTSERV.IUASSN.COM
IDMS-L@LISTSERV.IUASSN.COM
SMTP








Normal

Normal

"Geoff,

Since ACCEPT SYSVERSION doesn't work in batch, I assume it won't work in
CICS either. You might consider an OOAK record that identifies the
environment.

Good luck,
Gary Bryson
Database Administrator, SG Database Group
Delta Dental/EDS Denti-Cal




The information contained in this email message and any attachments is confidential and intended only for the addressee(s). If you are not an addressee, you may not copy or disclose the information, or act upon it, and you should delete it entirely from your email system. Please notify the sender that you received this email in error.
-----Original Message-----
From: IDMS Public Discussion Forum [mailTo:IDMS-L@LISTSERV.IUASSN.COM]
On Behalf Of Wheeler, Geoff
Sent: Tuesday, October 02, 2007 7:29 PM
To: IDMS-L@LISTSERV.IUASSN.COM
Subject:


Hi All,

Some of our programmers need to be able to detect
whether a job is running in the development or production environment
from a CICS IDMS-DC program.

They are using 'ACCEPT SYSVERSION INTO WS----' and
then test the CV number in the returned halfword PIC S9(4) COMP.

Unfortunately the ACCEPT always returned error status
0063 (invalid parameter list). They have tried other forms of accept
(i.e USER ID, and ACCEPT FROM) with the same result.

Has anyone any idea which parameter is at fault?

Alternatively can anyone suggest another method to
determine the environment ?

Many thanks in advance,
Geoff
"
IDMS Public Discussion Forum
IDMS-L@LISTSERV.IUASSN.COM
SMTP
IDMS-L@LISTSERV.IUASSN.COM
IDMS-L@LISTSERV.IUASSN.COM
SMTP








Normal

Normal
Sysversion
"Another solution is the CICS identification :
EXEC CICS ASSIGN APPLID(APPLNM) END-EXEC.
In this case APPLNM is 8 bytes long.

HTH
Rene.

Outcomes