RPG Net pgm with dataq

15 pts.
Tags:
AS/400 Parameters
RPG
RPG Program
Hi. I need some help with net pgm. This is my stuff: 1- ADDPJE SBSD(LIBINO/INOSBS) PGM(LIBINO/TST44R) 2- TST44R read a InoDtaq 3- In WrkActJob I can view the INOSBS with TST44R 3 times (default) 4- I have a pgm TST43R that write a LIBINO/INODTAQ. I run it. 5- I run TST44R and in WorkActJob its appears only twice. When I run TST44R twice, its disapper from INOSBS. MY QUESTION: how I can do to not disappear (like NEP pgm) This is TST44R source: ddqname s 10A INZ('INODTAQ') ddqlib s 10A INZ('LIBINO') ddqsndlen s 5 0 INZ(14) ddqlen s 5 0 ddqsnddata s 50a dParm1 s Like(dqdata) ddqdata s 50a ddqwait s 5 0 Eval dqwait=-1 call 'QRCVDTAQ' parm dqname parm dqlib parm dqlen parm dqdata parm dqwait Eval Parm1=%Trim(dqdata) c/Exec sql C+ INSERT INTO QGPL/TSTPF (NAME) VALUES(:Parm1) c/End-exec Return

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.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

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.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • TomLiotta
    ...how I can do to not disappear (like NEP pgm) The simple answer is not to execute the RETURN at the end of your program. See the discussion after your comment in the Data queues in RPG thread. Choose this thread or the other one for any continuation. Tom
    125,585 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.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

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

Following