Compile Options for Sub-Programs



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

Compile Options for Sub-Programs

Postby OlliP » Wed May 20, 2009 12:15 pm

Hi,

i need Compile options for PL1-Programs which has

PROG1: PROC (PTR_TAB_PTR) OPTIONS (FETCHABLE);

in the Program-Source.

When i compile this source i will receive ... OPTIONS(FETCHABLE) invalid.
While this and other programs have the same coding i think this is correct.

This Program should be called with the following statements (form a Main-Program):

DCL PROG1 ENTRY EXTERNAL;

FETCH PROG1;
CALL PROG(PTR_TAB_PTR);
RELEASE PROG1;


I hope someone can help me.

Thanks alot.
OlliP
 
Posts: 1
Joined: Tue May 19, 2009 10:50 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Compile Options for Sub-Programs

Postby dick scherrer » Thu May 21, 2009 1:47 am

Hello and welcome to the forum,

What message id is associated with the error?

You might look here for more info on "fetchable""
http://publibz.boulder.ibm.com/cgi-bin/ ... 60/1.5.4.1?
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times


Return to PL/I

 


  • Related topics
    Replies
    Views
    Last post