Getting error when i am trying to insert the record in QTEMP file trough QSH DB2 command

130 pts.
Tags:
IBM DB2
Qshell
QTEMP Library
SQL procedure
i am trying to insert the record in QTEMP file trough QSH DB2 command but getting an error that file not found in QTEMP eventhough file is available in QTEMP. if i am giving my local libary instead of QTEMP then its working perfectly.

Answer Wiki

Thanks. We'll let you know when a new response is added.

when using QSH, your requests are federated to a separate job.
this means that your local QTEMP is not the same as the QTEMP in that particular job.

So it won’t work.

as you say, you have to use a named library.

Discuss This Question: 1  Reply

 
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.
  • Mdshadabalam
    I am agree with Adam Reply.
    130 pointsBadges:
    report

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: