• Cobol in ideone.com and reading STDIN

    From Arnold Trembley@21:1/5 to [email protected] on Mon Nov 2 22:31:42 2020
    On 11/1/2020 11:59 PM, [email protected] wrote:
    In article <[email protected]>,
    Arnold Trembley <[email protected]> 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 [email protected]@21:1/5 to [email protected] on Tue Nov 3 05:29:27 2020
    In article <[email protected]>,
    Arnold Trembley <[email protected]> wrote:
    On 11/1/2020 11:59 PM, [email protected] wrote:
    In article <[email protected]>,
    Arnold Trembley <[email protected]> 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)