Quantcast
Channel: PC-DMIS User Forum - Forums
Viewing all articles
Browse latest Browse all 11658

How to reset the input from operators

$
0
0
Hi guys.

I would like to force my colleagues to tip in some data every time the run a program.
ex. their initials.
In order to do so, I need to reset the value of the variable before the new window pops up.

So, my question is:
How can I reset the value of the 'Operator input', so that the 'Input Comment' window doesn't show the information from the last time the program was ran?


This is what I have right now, and it keeps showing me the last initials



ASSIGN/VAR_OPERATOR.INPUT=""
VAR_OPERATOR =COMMENT/INPUT,NO,FULL SCREEN=NO,
Your Initials - 3 characters please.
IF/LEN(VAR_OPERATOR.INPUT) <> 3
COMMENT/OPER,NO,FULL SCREEN=NO,AUTO-CONTINUE=NO,
Initials must be 3 characters long!
IF_GOTO/LEN(VAR_OPERATOR.INPUT)<>3,GOTO = OPR
END_IF/
COMMENT/REPT,
"Operator ........... : "+VAR_OPERATOR.INPUT



I know the answer is out there - somewhere :-)


Viewing all articles
Browse latest Browse all 11658

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>