View previous topic :: View next topic
|
Author |
Message |
seman18
New User
Joined: 08 Feb 2009 Posts: 67 Location: hz
|
|
|
|
As far as I know, I just know two ways to declare output statement
1. DCL xxx file record output;
2 DCL xxx file stream output;
so what the "print" means?and the other declaration I meet is
DCL SYSPRINT EXTERNAL FILE PRINT;
what the external means?
thx |
|
Back to top |
|
|
Gnanas N
Active Member
Joined: 06 Sep 2007 Posts: 792 Location: Chennai, India
|
|
|
|
Links to manual,
SYSPRINT and SYSIN
PRINT attribute
EXTERNAL
Quote: |
EXTERNAL specifies that the associated name is to have a scope of
declaration which consists not only of the declaring block (and its contain
blocks) but which also includes any other blocks containing an
explicit declaration of the same name which specifies the EXTERNAL
scope attribute. In other words, all declarations of a given name
containing the EXTERNAL scope attribute are to be treated as if referring
to the same item. Names with external scope are limited in length to 7
characters; longer names are abbreviated to the first 4 and last 3 characters
of the name.
EXTERNAL is the default for programmer-defined conditions and for file
and entry constants. All other items (including variables with any
storage class and entry names of internal procedures) are assigned
INTERNAL as a default. |
|
|
Back to top |
|
|
|