Hi guys,
I have a cl program and a dspf. The program may run at same time in different session(different display device like qpadev0001,qpadev002,..) on same AS400 server. Im using data queue to find whether user gave any input from the display file(while compiling i gave the data queue name). since its running in many instances i created separate data queue for each instance that i know at runtime only. so i have to give the created data q name in the display file. i used the chgdspf command to give the data queue name at runtime. but now the problem is when i run the second instance of the program it waits in the chgdspf command of the second run. when i closed the first one, the second instance from different session started running.
is it possible to have same display file having different data queue at different workstation at same time?? how to do it, please help guys.
I have a cl program and a dspf. The program may run at same time in different session(different display device like qpadev0001,qpadev002,..) on same AS400 server. Im using data queue to find whether user gave any input from the display file(while compiling i gave the data queue name). since its running in many instances i created separate data queue for each instance that i know at runtime only. so i have to give the created data q name in the display file. i used the chgdspf command to give the data queue name at runtime. but now the problem is when i run the second instance of the program it waits in the chgdspf command of the second run. when i closed the first one, the second instance from different session started running.
is it possible to have same display file having different data queue at different workstation at same time?? how to do it, please help guys.




Comment