IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

"DCL SYSPRINT FILE PRINT OUTPUT", what does print


IBM Mainframe Forums -> PL/I & Assembler
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
seman18

New User


Joined: 08 Feb 2009
Posts: 67
Location: hz

PostPosted: Tue Feb 24, 2009 1:56 pm
Reply with quote

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
View user's profile Send private message
Gnanas N

Active Member


Joined: 06 Sep 2007
Posts: 792
Location: Chennai, India

PostPosted: Tue Feb 24, 2009 2:19 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> PL/I & Assembler

 


Similar Topics
Topic Forum Replies
No new posts TRIM everything from input, output co... DFSORT/ICETOOL 1
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 4
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts Extracting Variable decimal numbers f... DFSORT/ICETOOL 17
Search our Forums:

Back to Top