Home » Infrastructure » Other Operating Systems » -1012 received after transfering control (XCTL) to another program
-1012 received after transfering control (XCTL) to another program [message #113832] Tue, 21 May 2002 14:29
Thomas Fittante
Messages: 1
Registered: May 2002
Junior Member
I connect in the main program to Oracle and then do a XCTL to another program:

EXEC CICS XCTL PROGRAM (5-VASI-PROGE)
LENGTH (5-VASI-LENGTH)
COMMAREA (DFHCOMMAREA)
END-EXEC.

When I issue a SQL call in the called program, I get the -1012 (I successfully connected in the main program).

Is there a way to keep the connection alive during a XCTL or do I have to reconnect in each called program?

Here is our thread table definition:

ORACICS TYPE=START,ACCT='ORACLE',AM4COID='USERDB',
AM4CAUTH='USERDB',
SSN=ORA0,MAXTHRD=30,MAXCRSR=5
ORACICS TYPE=THREAD,COPIES=4,PROTECT=2,
TRANSAC=*,OID='USERDB',AUTH='USERDB'
ORACICS TYPE=CONTINUE,
TRANSAC=*
ORACICS TYPE=END
END

Can anyone help??

Thanks,

Tom.
Previous Topic: Re: Problems in Developer 2000 with Oracle 8.
Next Topic: UTL_FILE
Goto Forum:
  


Current Time: Sat Oct 25 14:59:02 CDT 2014

Total time taken to generate the page: 0.10032 seconds