Wait...I think I figured it out:
integer iScriptMode ; define a variable to test with
iScriptMode = $SCRIPTMODE
if iScriptMode = 3
do something
else
do something else
endif
knob, how do you test the value of $SCRIPTMODE? The following code does not compile on the IF line:
if $SCRIPTMODE = 3
do something...
else
do something else...
endif
I'm having trouble with the syntax of the WHEN CLEAR. I would like to view an example, however http://www.aspectscripting.com did not point me to the script you were talk about. Or I couldn't find it anyway...
Has anyone used the "when event CLEAR" code? I can't seem to get the syntax correct...
I have multiple when TARGET n "stuff" statements and I want to cancel one of them at a certain point in the processing...
Thanks, Scott
Make the file you are trying to read in a "Bit Stream" file...with Realia Cobol, you use [B] at the end of the file name like: COMMAND.COM[B]
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.