Hi,
We have a situation here - The remote system is performing daily batch updates. During this process, the system prompts for "Do you want to print batch # (N)?" for all the OPEN batches in the system. where N = batch no.
When all the batches (this range can differ daily) are done, the screen would display
"Enter Printer #". The user then enters the priner # and the process is over.
My problem is, I don't know upfront how many times the waitfor "Do you want to print batch # (N)?" comand needs ro be repeated. That is, if I use a for loop or a while loop.
My questions are:
1. How do I set the counter to repeat the command "Do you want..", alongwith the argument for the batch no. (batch no can start from 1 or any high number but < 100)
2. How to exit out of the loop to transmit the command "Enter Printer #" when step 1 is completed.
I would appreciate for any help or advice.
Thanks in advance.
newmem
We have a situation here - The remote system is performing daily batch updates. During this process, the system prompts for "Do you want to print batch # (N)?" for all the OPEN batches in the system. where N = batch no.
When all the batches (this range can differ daily) are done, the screen would display
"Enter Printer #". The user then enters the priner # and the process is over.
My problem is, I don't know upfront how many times the waitfor "Do you want to print batch # (N)?" comand needs ro be repeated. That is, if I use a for loop or a while loop.
My questions are:
1. How do I set the counter to repeat the command "Do you want..", alongwith the argument for the batch no. (batch no can start from 1 or any high number but < 100)
2. How to exit out of the loop to transmit the command "Enter Printer #" when step 1 is completed.
I would appreciate for any help or advice.
Thanks in advance.
newmem