• Cobol in ideone.com and reading STDIN

    From Arnold Trembley@21:1/5 to docdwarf@panix.com on Mon Nov 2 22:31:42 2020
    On 11/1/2020 11:59 PM, docdwarf@panix.com wrote:
    In article <E6KdnWrCca09AALCnZ2dnUU7-cPNnZ2d@giganews.com>,
    Arnold Trembley <arnold.trembley@att.net> wrote:

    [snip]

    You can ACCEPT FROM CONSOLE without defining a file for your console
    input, and similarly you DISPLAY UPON CONSOLE without defining a file
    for console output.

    Back in the Oldene Dayse it was taught that coding an ACCEPT FROM CONSOLE (except underr documented request from someone who Still Worked There) was considered grounds for immediate termination due to incompetence... and
    for disturbing the Ops crew, as well.

    DD


    Doc,

    Certainly that would be a bad way to code COBOL on an IBM mainframe
    running DOS/VS or MVS (or successor operating systems) any time in the
    last 56 years up through today.

    But it might be appropriate for someone learning COBOL on a website
    simulator!

    Kind regards,



    --
    https://www.arnoldtrembley.com/

    --
    This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From docdwarf@panix.com@21:1/5 to arnold.trembley@att.net on Tue Nov 3 05:29:27 2020
    In article <7dKdnafCGuyyQD3CnZ2dnUU7-L_NnZ2d@giganews.com>,
    Arnold Trembley <arnold.trembley@att.net> wrote:
    On 11/1/2020 11:59 PM, docdwarf@panix.com wrote:
    In article <E6KdnWrCca09AALCnZ2dnUU7-cPNnZ2d@giganews.com>,
    Arnold Trembley <arnold.trembley@att.net> wrote:

    [snip]

    You can ACCEPT FROM CONSOLE without defining a file for your console
    input, and similarly you DISPLAY UPON CONSOLE without defining a file
    for console output.

    Back in the Oldene Dayse it was taught that coding an ACCEPT FROM CONSOLE
    (except underr documented request from someone who Still Worked There) was >> considered grounds for immediate termination due to incompetence... and
    for disturbing the Ops crew, as well.

    Doc,

    Certainly that would be a bad way to code COBOL on an IBM mainframe
    running DOS/VS or MVS (or successor operating systems) any time in the
    last 56 years up through today.

    But it might be appropriate for someone learning COBOL on a website >simulator!

    Good day, Mr Trembley! Did I mention that back in the Oldene Dayse they
    had to time instructions for speedy passage through mercury-filled
    tubes, all the while watching the Social Security Adminstration have its
    newest tabulating engine stolen by the Department of Defense...

    ... hey! you kids, get offa my lawn! An' don't git me started 'bout
    what'cher callin' 'music', neither... buncha noise, that's what it is,
    back in my days we had... somethin', I fergit...

    Good health to you and yours!

    DD

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)