PL/I errors



IBM's cross-platform compiler PL/I for MVS, VM & VSE, OS/390 and Enterprise PL/I for z/OS

PL/I errors

Postby surime72 » Wed Apr 25, 2012 4:22 pm

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
surime72
 
Posts: 107
Joined: Sun Oct 23, 2011 1:45 pm
Has thanked: 0 time
Been thanked: 0 time

Re: errors

Postby BillyBoyo » Wed Apr 25, 2012 5:17 pm

Well you've got some errors. Only someone who can see the lines in question can stand any chance of correcting them.
BillyBoyo
Global moderator
 
Posts: 3804
Joined: Tue Jan 25, 2011 12:02 am
Has thanked: 22 times
Been thanked: 265 times

Postby surime72 » Wed Apr 25, 2012 5:21 pm

hi all ,

DELETE_MM = SUBSTR(CURRENT_DATE,3,2) + 1;
can u any one can explain above string..?
surime72
 
Posts: 107
Joined: Sun Oct 23, 2011 1:45 pm
Has thanked: 0 time
Been thanked: 0 time

Re:

Postby prino » Wed Apr 25, 2012 5:26 pm

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!)
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy
User avatar
prino
 
Posts: 635
Joined: Wed Mar 11, 2009 12:22 am
Location: Vilnius, Lithuania
Has thanked: 3 times
Been thanked: 28 times

Re: PL/I errors

Postby NicC » Wed Apr 25, 2012 10:01 pm

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.
The problem I have is that people can explain things quickly but I can only comprehend slowly.
Regards
Nic
NicC
Global moderator
 
Posts: 3025
Joined: Sun Jul 04, 2010 12:13 am
Location: Pushing up the daisies (almost)
Has thanked: 4 times
Been thanked: 136 times

Re: PL/I errors

Postby Akatsukami » Wed Apr 25, 2012 10:14 pm

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.
"You have sat too long for any good you have been doing lately ... Depart, I say; and let us have done with you. In the name of God, go!" -- what I say to a junior programmer at least once a day
User avatar
Akatsukami
Global moderator
 
Posts: 1058
Joined: Sat Oct 16, 2010 2:31 am
Location: Bloomington, IL
Has thanked: 6 times
Been thanked: 51 times

Re: PL/I errors

Postby prino » Thu Apr 26, 2012 3:01 am

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:
Robert AH Prins
robert.ah.prins @ the.17+Gb.Google thingy
User avatar
prino
 
Posts: 635
Joined: Wed Mar 11, 2009 12:22 am
Location: Vilnius, Lithuania
Has thanked: 3 times
Been thanked: 28 times


Return to PL/I