#187 3.3b3 extract pending setting pending.3 incorrect - w/ patch

open
nobody
None
5
2010-07-23
2010-07-21
Tony T
No

The OLDNAME option is not working correctly and may have multiple problems.
In VM, I use 'parse source' to get the current exec name (3rd word). I then use that value as the name after 'OLDNAME' in an 'extract /pending oldname xxx 1' request. In THE, the extract does not find matches. I also tried to use 'extract /pending oldname * 1' and found that pending.3 only contained the first position of the name. It should contain data that matches the information retrieved using 'parse source'.

Discussion

  • LesK
    LesK
    2010-07-21

    Not all platforms provide all the information they should with Parse Source, according to a note iMark included in L.THE found in /THE/extras

    I haven't had any success with block prefix macros. Tracing seems to confuse THE, so you can't figure out what's going on!

     
  • Tony T
    Tony T
    2010-07-22

    Tracing is a problem, especially with 'trace ?i', but I have found that if I call xthe with the following format from a shell window:
    xthe myfile.txt &
    Then, in the exec, just use 'trace i' (no '?'). When I run it, the trace shows up in the shell window. I can then page back and see what happened. Using 'trace ?' leaves xthe in limbo.
    Some of the macro's I am working on are block prefix macros. If you wish, I can send you one.

     
  • LesK
    LesK
    2010-07-22

    There's the difference! I run with REXXOUTPUT FILE 10000 and let THE show me the trace info.
    Yes, I'd like to see one of your macros. Please sent to: vmrexx at-sign tampabay.rr.com
    We can continue privately, if you're willing.

     
  • Tony T
    Tony T
    2010-07-22

    More testing shows that the value of pending.3 is being truncated so as to be the same length at pending.2. So, maybe it's an easy fix.

     
  • Tony T
    Tony T
    2010-07-23

    I found the bug and it's an easy fix:

    In 3.3B3 source member query2.c on line 812 was found:
    item_values[3].len = strlen( (DEFCHAR *)item_values[2].value );
    it should be:
    item_values[3].len = strlen( (DEFCHAR *)item_values[3].value );

     
  • Tony T
    Tony T
    2010-07-23

    • summary: 3.3b3 extract pending setting pending.3 incorrect --> 3.3b3 extract pending setting pending.3 incorrect - w/ patch