Posted: Wed Sep 15, 2004 1:23 am Post subject: PUT LIST (PLI)
Let me admit that am PL/1 illiterate and am trying my hands with a simple program that tries to print my name.
The PL/1 reference manaul says that all PUT LIST(' ') statements go to SYSPRINT which need not be implicitly defined in the program.
However none of my display statements are being shown in SYSPRINT.
Are there any special compiler options that i need to add to get my PUT LIST working ?
Joined: 02 Dec 2002 Posts: 6 Topics: 1 Location: Nottingham
Posted: Wed Sep 15, 2004 6:53 am Post subject:
Brian,
You don't need to explicitly declare, open, and close SYSPRINT, though it's bad programming practice not to. Are you sure that you're executing the part of the program with the put list statements? Have you tried sticking a put list right at the top of the program?
Well, i've tried everything to get my name on the spool but alas...
To make matters worse my first file processing program throws a whole lot of junk to SYSPRINT. Am going no where with respect to this.
Am taking a break, going to bed..and will check things tomorrow.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum