IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

is there any PL\1 options similar to "COPY" in cob


IBM Mainframe Forums -> PL/I & Assembler
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
roopannamdhari
Warnings : 1

New User


Joined: 14 Sep 2006
Posts: 71
Location: Bangalore

PostPosted: Mon Mar 31, 2008 12:19 pm
Reply with quote

Hi,

is there any option in PL\1 which serve functionality similar to "COPY" in cobol.

Thanks,
Back to top
View user's profile Send private message
Srihari Gonugunta

Active User


Joined: 14 Sep 2007
Posts: 295
Location: Singapore

PostPosted: Mon Mar 31, 2008 12:21 pm
Reply with quote

%INCLUDE
Back to top
View user's profile Send private message
roopannamdhari
Warnings : 1

New User


Joined: 14 Sep 2006
Posts: 71
Location: Bangalore

PostPosted: Mon Mar 31, 2008 2:56 pm
Reply with quote

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
View user's profile Send private message
Gnanas N

Active Member


Joined: 06 Sep 2007
Posts: 792
Location: Chennai, India

PostPosted: Mon Mar 31, 2008 3:03 pm
Reply with quote

Can't you understand the problem from Error Description?

Please mention the error code also.
Back to top
View user's profile Send private message
roopannamdhari
Warnings : 1

New User


Joined: 14 Sep 2006
Posts: 71
Location: Bangalore

PostPosted: Mon Mar 31, 2008 4:11 pm
Reply with quote

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
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Mon Mar 31, 2008 4:49 pm
Reply with quote

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
View user's profile Send private message
Gnanas N

Active Member


Joined: 06 Sep 2007
Posts: 792
Location: Chennai, India

PostPosted: Mon Mar 31, 2008 4:56 pm
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> PL/I & Assembler

 


Similar Topics
Topic Forum Replies
No new posts VB to VB copy - Full length reached SYNCSORT 8
No new posts PuTTY - "User is not a surrogate... IBM Tools 5
No new posts Need COBOL COPY Help in MVS Environment COBOL Programming 4
No new posts Issue after ISPF copy to Linklist Lib... TSO/ISPF 1
No new posts DB2 Table - Image copy unload IBM Tools 2
Search our Forums:

Back to Top