Using the following call in a CL works fine and allows me to use current job QTEMP library to insert a record to a file in QTEMP.

However the call prompts at the end to "Press Enter to end terminal session."

CALL PGM(QZDFMDB2) PARM('INSERT INTO QTEMP.JUNK (JUNK) VALUES(''This is a test 2'')')

Any ideas what I might need to override to get rid of the prompt in an interactive job ?

I can use the Pase equivalent below if needed, but can't access files in current job QTEMP library:

QSH('Db2 "INSERT INTO QTEMP.JUNK (JUNK) VALUES(''This is a test 2'')" ')

Any thoughts appreciated.

Regards,

[http://static.helpsystems.com/hs/email/templates/signatures-final/images/hs-logo2.png]

Richard Schoen
Director of Document Management

e. richard.schoen@xxxxxxxxxxxxxxx<mailto:richard.schoen@xxxxxxxxxxxxxxx>
p. 952.486.6802
w. helpsystems.com<http://www.helpsystems.com/>
[cid:image002.jpg@01D1E2AC.AC74C0C0]<http://www.linkedin.com/in/richardschoen>[cid:image003.jpg@01D1E2AC.AC74C0C0]<http://www.twitter.com/richardschoen>





As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.