+ Reply to Thread
Results 1 to 4 of 4

Thread: Excepting Data Areas into Cobol

  1. #1
    Guest.Visitor Guest

    Default Excepting Data Areas into Cobol

    I would like to know if you can except a data area into a Cobol program? I have talked to many people about this but no one has gave me an answer on whether it can be done or not. Of course I could just create a CL and pass it to the Cobol program(which I did) but I would just like to know if it can be done. I'm not talking about an LDA. Ricky Richardson Fruit of the Loom rrichardson@fruit.com

  2. #2
    trevor.lazarus@ssa.gov Guest

    Default Excepting Data Areas into Cobol

    Alex, what compiler and release are you on? I tried your code fragment in a COBOL program and it doesn't even pass the syntax checker. Is there something missing from this fragment? My reading of the cobol reference doesn't mention your version of the ACCEPT statement. Trevor Lazarus

  3. #3
    Guest.Visitor Guest

    Default Excepting Data Areas into Cobol

    don't know if this helps, but I saw a lot of calls from COBOL pgmsto CL to get the info from a data area..... looking at the COBOL reference manual , i don't see any ACCEPTstatement that specifically refers to a DATA-AREA. bob hamilton DEEP BLUE won only 2 of 6 games which won't evenget you on the CUBS or JETS.

  4. #4
    M.Martinez Guest

    Default Excepting Data Areas into Cobol

    Alex, This code looks very interesting. Is "data-area" a ILE COBOL reserved word or equivalent? If this code works, and I do believe that you have used it, it is a definite enhancement of COBOL on the AS/400. It would be great to be able to read and write data areas, without having to resort to slower performing CL programming. I always went the good ole' CL route. Thanks for this tip Alex. I am anxious to see how it works. At my shop we are on version v3r7, so I can try it out.

+ Reply to Thread

Similar Threads

  1. Replies: 1
    Last Post: 05-14-2008, 07:07 PM
  2. Data areas
    By David Abramowitz in forum Programming
    Replies: 2
    Last Post: 08-15-2001, 01:44 PM
  3. Data Areas
    By Guest.Visitor in forum Programming
    Replies: 5
    Last Post: 03-30-2000, 10:51 AM
  4. Local Data Areas *LDA
    By Guest.Visitor in forum Programming
    Replies: 0
    Last Post: 01-01-1995, 02:00 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts