PASE for i already running in this job

25 pts.
Tags:
PASE
PGM
RPGLE
We have an RPGLE PGM that executes the following to establish a connection to another servers database and it works fine.
DBcomm = JDBC_Connect(%TRIM(DriverName):%TRIM(ConnectionString):%TRIM(userid):%TRIM(Password) );
This statement starts running PASE. When the same user in the same job that just ran the above statement goes to execute  QP2SHELL in another PGM it throws CPFB9C7 - 'PASE already running in this job'. How do I end PASE or what can I do to allow the QP2SHELL to run if PASE is already running?


Software/Hardware used:
Running on 7.1 of IBM i Power 8 system
0

Answer Wiki

Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Discuss This Question:  

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

Thanks! We'll email you when relevant content is added and updated.

Following

Share this item with your network: