Page 1 of 1

Compile Options for Sub-Programs

PostPosted: Wed May 20, 2009 12:15 pm
by OlliP
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.

Re: Compile Options for Sub-Programs

PostPosted: Thu May 21, 2009 1:47 am
by dick scherrer
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?