Menu

#10 "not all input was consumed": WRITE ... FROM ... BEFORE/AFTER

v1.0 (example)
closed-fixed
nobody
None
6
2013-08-11
2013-07-30
No

Code sample:
WRITE myrec FROM something BEFORE|AFTER num-item END-WRITE

Related

Discussion: Missing Support for COBOL 2002 (level 78, EXIT SECTION/PERFORM, length of section names, BASED/ALLOCATE/FREE)

Discussion

  • KrisDS

    KrisDS - 2013-08-06

    I tested

    WRITE myrec
    FROM something
    BEFORE num-item
    END-WRITE

    and

    WRITE myrec
    FROM something
    AFTER num-item
    END-WRITE

    Both samples process just fine for me in the latest version (r136).

    Is there maybe more to the sample which is failing for you ?

     
  • Simon Sobisch

    Simon Sobisch - 2013-08-07

    Yep, literals are missing in the grammar, same like [#26]

     

    Related

    Issues: #26


    Last edit: Simon Sobisch 2013-08-07
  • KrisDS

    KrisDS - 2013-08-11

    Double checked this in the latest revision (r140). Seems to be fixed. Close ticket ?

     
  • Simon Sobisch

    Simon Sobisch - 2013-08-11
    • status: open --> closed-fixed
     

Log in to post a comment.