Page 1 of 1

PL/I errors

PostPosted: Wed Apr 25, 2012 4:22 pm
by surime72
Hi
i tried compile program but it throwing following error messages.
IBM1214I: A dummy argument will be created for argument number 3
in entry reference
IBM1214I:A dummy argument will be created for argument number 1
in entry reference
IBM1078I: Statement may never be executed
IBM1221I:Statement uses 65576 bytes for temporaries
Use of DATE built-in function may cause problem
ibm19361invocation of compiler backended abnormally.

i was new to working on pli

thanks in advance

Re: errors

PostPosted: Wed Apr 25, 2012 5:17 pm
by BillyBoyo
Well you've got some errors. Only someone who can see the lines in question can stand any chance of correcting them.

PostPosted: Wed Apr 25, 2012 5:21 pm
by surime72
hi all ,

DELETE_MM = SUBSTR(CURRENT_DATE,3,2) + 1;
can u any one can explain above string..?

Re:

PostPosted: Wed Apr 25, 2012 5:26 pm
by prino
surime72 wrote:hi all ,

DELETE_MM = SUBSTR(CURRENT_DATE,3,2) + 1;
can u any one can explain above string..?

How about opening a manual and reading it? (This is very bad coding, very bad!)

Re: PL/I errors

PostPosted: Wed Apr 25, 2012 10:01 pm
by NicC
All those "error" messages are not error messages - they are informational messages - they end in I not E. Without seeing your code one cannot be certain but it looks like, for the first two, that you are calling a sub-procedure and not passing the correct number of arguments.

When you post code please enclose it within code tags so that it looks like a 'green screen'. The code tags are availablewhen you post using the full editor which you can access via the 'POSTREPLY' button or via the 'Full Editor' button below the Quick Reply entry area.

Re: PL/I errors

PostPosted: Wed Apr 25, 2012 10:14 pm
by Akatsukami
NicC wrote:All those "error" messages are not error messages - they are informational messages - they end in I not E. Without seeing your code one cannot be certain but it looks like, for the first two, that you are calling a sub-procedure and not passing the correct number of arguments.

Not missing arguments, but that the argument's attributes (i.e., scalar vs. strcuture or array, character vs. numeric, etc.) do not match those of the corresponding parameter in the declaration of the entry.

IBM1078 is basically what it sounds like, except that "may" is an ameliorization; the statement will never be executed.

(IBM1078 and IBM1214 are normally warning messages (RC=4), not informational messages (RC=0). Perhaps the sysprogs messed with the installation .)

IBM1936 is a severe error (RC=12). If the install was good, try increasing the region size; if that doesn't work, open a PMR with IBM.

Re: PL/I errors

PostPosted: Thu Apr 26, 2012 3:01 am
by prino
Akatsukami wrote:IBM1936 is a severe error (RC=12). If the install was good, try increasing the region size; if that doesn't work, open a PMR with IBM.

I run Enterprise PL/I with REGION=0M, which seems to work OK, even for big programs. :mrgreen: