Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. krg400

    Browser very sluggish and getting worse

    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...
  2. krg400

    FREE FORMAT CODE OPERATOR "TAG"

    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...
  3. krg400

    Select 'Case' in free format

    The syntax is wrong for RPG. Try something like: /free Select; When Zter = 8; Zterm = '0045'; Zbd1t = '45'; When ... ... ... Other; ... EndSL; /end-free
  4. krg400

    Display File Field Error?

    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. ???
  5. krg400

    Display File Field Error?

    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...
  6. krg400

    Sting type ifeq

    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...
  7. krg400

    CPD7812S SUBFILE CONTROL RECORD OVERLAPS SUBFILE RECORD

    OVERLAY on the sflctl not the footer, right? Yes, that should work fine (unless you've got input fields in the footer).
  8. krg400

    CPD7812S SUBFILE CONTROL RECORD OVERLAPS SUBFILE RECORD

    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...
  9. krg400

    CPD7812S SUBFILE CONTROL RECORD OVERLAPS SUBFILE RECORD

    The subfile control record can have data displayed either above the subfile or below the subfile but not both.
  10. krg400

    RPG Command

    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)...
  11. krg400

    File trigger

    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...
  12. krg400

    File trigger

    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...

Part and Inventory Search

Back
Top