Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

Is there a way to update a users screen automatically in rpg ile

Posted on 2009-12-17
3
Medium Priority
?
556 Views
Last Modified: 2013-11-25
I am writing a program to do some distribution tasks. One of the things I want to do is update userA's screen when userB pulls an item.  I was told I could use a data que to do this but I am not sure if this is correct, or know how to use a data que?  Anyone have any ideas?  And if data que is the way to go, where can I find out how to use them?
0
Comment
Question by:IKDIST
  • 2
3 Comments
 
LVL 36

Accepted Solution

by:
Gary Patterson earned 2000 total points
ID: 26074359
Yes, you can use a data queue.

In general, you use the QSNDDTAQ API to put data on a data queue, and QRCVDTAQ API to pull data off.  

You can also link a data queue to a display file.  This is probably the best place to start, since the author does a great job of taking you through the whole process and providing a working example program:

http://www.itjungle.com/mpo/mpo081502-story06.html

These links also provide information about the technique.

http://publib.boulder.ibm.com/infocenter/iadthelp/v7r0/index.jsp?topic=/com.ibm.etools.iseries.langref2.doc/dspfdq.html
http://search400.techtarget.com/tip/1,289483,sid3_gci855472,00.html

- Gary Patterson
Check out my EE profile: http://www.experts-exchange.com/M_4382324.html

 
0
 

Author Closing Comment

by:IKDIST
ID: 31667363
Quick, thanks Gary.
0
 
LVL 36

Expert Comment

by:Gary Patterson
ID: 26074384
If you are unfamiliar with data queues in general, check out this excellent article by Kevin Vandever:  

http://www.itjungle.com/mpo/mpo052302-story02.html

- Gary

0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Will the future of mobile app development include the same trends as those most relevant today? Find out by checking out the 7 trends of the future.
In this article I will be showing you how to subnet the easiest way possible for IPv4 (Internet Protocol version 4). This article does not cover IPv6. Keep in mind that subnetting requires lots of practice and time.
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
When cloud platforms entered the scene, users and companies jumped on board to take advantage of the many benefits, like the ability to work and connect with company information from various locations. What many didn't foresee was the increased risk…
Suggested Courses
Course of the Month20 days, 19 hours left to enroll

810 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question