View previous topic :: View next topic
|
Author |
Message |
roopannamdhari Warnings : 1 New User
Joined: 14 Sep 2006 Posts: 71 Location: Bangalore
|
|
|
|
Hi,
is there any option in PL\1 which serve functionality similar to "COPY" in cobol.
Thanks, |
|
Back to top |
|
|
Srihari Gonugunta
Active User
Joined: 14 Sep 2007 Posts: 295 Location: Singapore
|
|
|
|
%INCLUDE |
|
Back to top |
|
|
roopannamdhari Warnings : 1 New User
Joined: 14 Sep 2006 Posts: 71 Location: Bangalore
|
|
|
|
Thanks for the reply.
i tried to use %include to include copybook in below PL\1 pgm ,but i am getting compilation error
Code: |
PL\1 pgm:-
DISPLAY1: /* ENTREX OPSTATS CONTROL CARD FILE */
PROCEDURE OPTIONS(MAIN);
%INCLUDE BOOK1;
PUT LIST(VAR1);
END DISPLAY1; |
Code: |
BOOK1 is a copybook:-
DCL VAR1 FIXED DECIMAL(10) INIT(123); |
Code: |
Error description:-
BLOCKSIZE OF '%INCLUDE' 'SYSLIB .BOOK1 ' EXCEEDS THE TEXT PAGE SIZE ALLOWED WITH THIS SIZE
OPTION. PROCESSING TERMINATED. |
can any body there help me in resolving this error
Thnka, |
|
Back to top |
|
|
Gnanas N
Active Member
Joined: 06 Sep 2007 Posts: 792 Location: Chennai, India
|
|
|
|
Can't you understand the problem from Error Description?
Please mention the error code also. |
|
Back to top |
|
|
roopannamdhari Warnings : 1 New User
Joined: 14 Sep 2006 Posts: 71 Location: Bangalore
|
|
|
|
Hi Gnanas,
Pl\1 is completely new language for me which I am learning using this portal.. so I am unaware of this pl\1 error messages.
Code: |
here is the entire error message:-
ERROR ID L LINE MESSAGE DESCRIPTION
UNRECOVERABLE DIAGNOSTIC MESSAGES
IEL0099I U 3 BLOCKSIZE OF '%INCLUDE' 'SYSLIB .BOOK1 ' EXCEEDS THE TEXT PAGE SIZE ALLOWED WITH THIS SIZE OPTION. PROCESSING TERMINATED. |
Thanks, |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
Quote: |
IEL0099I U BLOCKSIZE FOR '%INCLUDE' D EXCEEDS TEXT PAGE SIZE.
BLOCKSIZE OF '%INCLUDE' D EXCEEDS THE TEXT PAGE SIZE ALLOWED WITH THIS SIZE OPTION. PROCESSING TERMINATED.
Explanation: The text page size depends on the SIZE compile-time option specified for the compilation. The block size of an INCLUDE data set cannot exceed this.
Programmer Response: Specify a large enough SIZE value to ensure that text pages are at least as big as INCLUDE data set blocks OR recreate INCLUDE data set with smaller blocking factor, using a utility (for example, IEBGENER).
Text page size depends upon the amount of storage available and the type of direct access device used. For more information, see the PL/I for MVS & VM Programming Guide. |
post Your jcl and full output please |
|
Back to top |
|
|
Gnanas N
Active Member
Joined: 06 Sep 2007 Posts: 792 Location: Chennai, India
|
|
|
|
QW IEL0099I will give the info what you have to do?
Reason:
Block size of INCLUDE dateset exceeds the limit of SIZE compiler option.
So, Increase the the value on SIZE compiler option or Reduce the block size of INCLUDE dataset.
You can get all the compiler options from Compiler Listing.
And ask your peers or Application design team for Block Size for the INCLUDE datasets. |
|
Back to top |
|
|
|