skip to main content

Special Features : I/O

I/O
isCOBOL offers some additional features for I/O on files and databases. With isCOBOL, programmers can take advantage of:
EXEC SQL
   SELECT COUNT (*) INTO :rec-count FROM TABLE1
77 MY-VAR PIC N(10).
SELECT stdin ASSIGN TO "-S IN"
    ORGANIZATION LINE SEQUENTIAL.
SELECT stdout ASSIGN TO "-S OUT"
    ORGANIZATION LINE SEQUENTIAL.
SELECT stderr ASSIGN TO "-S ERR"
    ORGANIZATION LINE SEQUENTIAL.
SELECT pdf-file ASSIGN TO PRINT "-P PDF /usr/docs/print.pdf"
    ORGANIZATION LINE SEQUENTIAL.
SELECT ptr-prev ASSIGN TO PRINT "-P PREVIEW"
    ORGANIZATION LINE SEQUENTIAL.

Copyright (c) 2017 Veryant
Contact us
Please share your comments on this manual or on any
Veryant product documentation with the email button at the top left