I have both AdAware and Spybot installed and regularly run both; each finds something that the other misses, so having both is good.
I also have SpywareGuard installed. This runs in the background and monitors for certain actions, like your homepage or search page being altered. It pops up a...
TAG (and GOTO) are amongst the operation codes that are not supported in free format.
Basically you have two choices:
1. Put the offending statements outside of free format code, like:
/end-free
C S1TAG TAG
/free
2. Rewrite the code some other way.
To see which op codes...
Hang on...
I'm not sure I'm 100% with the problem here, but I see you mention that you "tried to give it a length of -8 using the reffld".
So if the field being referenced is 18 and you've overridden that by specifying -8 then you'll end up with a field 10 long.
???
When you say "18N 0", that's not how you've actually defined it is it?
In RPG the 'N' field type is an indicator field type. This is a Boolean definition, to contain '1' or '0' only. You cannot specify a length of 18,0 for this. In DDS you cannot specify an 'N' type.
You say it's a...
I'm not sure if you've completely grasped how CHECK works. But that's not surprising as it's a tricky one [ponder]
The position you specify after the colon is the START position, not the absolute position, so if you said "FLD:8" and your field was 10 chars long you'd be comparing...
If you want to show data both above and below the subfile, e.g. the heading at the top and the function keys on the bottom, the common way is for the control record to have all the heading information and for everything below the subfile to be in a separate format.
Before you show the subfile...
If you're typing on the command line something like:
CMD PWD(Value)
it will by default be converted to upper case.
Two possible actions are:
1. Enclose the value in quotes, e.g:
CMG PWD('Value')
2. Specify the CASE attribute for the PARM definition, e.g:
PARM KWD(PWD) TYPE(*CHAR)...
Woah! Why do I always remember stuff AFTER I've hit the 'Send' button?!
I just remembered the ALWREPCHG parameter. If you set this to *YES then you can make further changes to the record.
So if the trigger event is *AFTER then you can presumably do a second update to the record writing out the...
I don't think so.
A trigger program gets a copy of the record in the DS block. You cannot do any further updates for the record that activated the trigger. And I do not know of any call or setting you can make to prevent the original action being completed.
If there is something you can set...
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.