Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

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

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler
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    Post subject: is there any PL\1 options similar to "COPY" in cob
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    Post subject:
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    Post subject:
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: 788
Location: Chennai, India

PostPosted: Mon Mar 31, 2008 3:03 pm    Post subject:
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    Post subject:
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

Global Moderator


Joined: 14 Mar 2007
Posts: 10257
Location: italy

PostPosted: Mon Mar 31, 2008 4:49 pm    Post subject: Reply to: is there any PL\1 options similar to "COPY&qu
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: 788
Location: Chennai, India

PostPosted: Mon Mar 31, 2008 4:56 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> PL/I & Assembler All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts READ A PACKED "NEGATIVE" FI... jdesouza CA Products 3 Tue May 02, 2017 11:43 pm
No new posts copy SEQ to PDS and create stats steve-myers JCL & VSAM 5 Thu Apr 27, 2017 1:15 am
No new posts Copy load modules and alias vasanthz IBM Tools 5 Thu Apr 20, 2017 6:31 am
No new posts RC 20 for Address ISPEXEC "ISRED... pkmurali CLIST & REXX 3 Sun Apr 16, 2017 11:30 pm
No new posts SORTJOIN - Copy Matched and Unmatched... Steve Ironmonger DFSORT/ICETOOL 5 Tue Jan 17, 2017 4:26 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us