Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

PL/I PROCEDURE statement

16 views
Skip to first unread message

Louisa

unread,
Aug 17, 2011, 6:32:29 AM8/17/11
to
To settle the issue of null argument lists, I compiled the following
program:

S: PROC () OPTIONS (MAIN);

END S;

It compiles without errors or warnings.

Peter Flass

unread,
Aug 17, 2011, 8:05:28 AM8/17/11
to

At last! Someone ends days of speculation with two lines of code. Thanks.

Nomen Nescio

unread,
Aug 17, 2011, 3:11:26 PM8/17/11
to
Peter Flass <Peter...@Yahoo.com> wrote:


Well it hasn't always worked that way:

5688-235 IBM PL/I for MVS & VM P: PROC () OPTIONS (MAIN); PAGE 2
SOURCE LISTING
STMT

1 P: PROC () OPTIONS (MAIN); 00010000
00020000
2 END P; 00030000

5688-235 IBM PL/I for MVS & VM P: PROC () OPTIONS (MAIN); PAGE 3
COMPILER DIAGNOSTIC MESSAGES
ERROR ID L STMT MESSAGE DESCRIPTION

SEVERE AND ERROR DIAGNOSTIC MESSAGES

IEL0341I S 1 INVALID ITEM IN PARAMETER LIST AFTER 'P: PROC ('. ')' IGNORED.

END OF COMPILER DIAGNOSTIC MESSAGES
COMPILE TIME 0.00 MINS SPILL FILE: 0 RECORDS, SIZE 4051
COMPILATION ENDED BY 'NOCOMPILE' OPTION
NUMBER OF TEMPORARY VARIABLES USED: *****. NUMBER AVAILABLE: *****
END OF COMPILATION OF P

Peter Flass

unread,
Aug 17, 2011, 8:45:49 PM8/17/11
to
On 8/17/2011 3:11 PM, Nomen Nescio wrote:
> Peter Flass<Peter...@Yahoo.com> wrote:
>
>> On 8/17/2011 6:32 AM, Louisa wrote:
>>> To settle the issue of null argument lists, I compiled the following
>>> program:
>>>
>>> S: PROC () OPTIONS (MAIN);
>>>
>>> END S;
>>>
>>> It compiles without errors or warnings.
>>
>> At last! Someone ends days of speculation with two lines of code. Thanks.
>
>
> Well it hasn't always worked that way:
>

Thanks.

> 5688-235 IBM PL/I for MVS& VM P: PROC () OPTIONS (MAIN); PAGE 2


> SOURCE LISTING
> STMT
>
> 1 P: PROC () OPTIONS (MAIN); 00010000
> 00020000
> 2 END P; 00030000
>

> 5688-235 IBM PL/I for MVS& VM P: PROC () OPTIONS (MAIN); PAGE 3

0 new messages