MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Can we inlude copy book member inthe os cobol program.

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming
View previous topic :: View next topic  
Author Message
Anand_R
Intermediate


Joined: 24 Dec 2002
Posts: 189
Topics: 60

PostPosted: Mon Nov 24, 2003 10:47 am    Post subject: Can we inlude copy book member inthe os cobol program. Reply with quote

Hi,

I had coded the 'COPY MEMBER' command in the OS COBOL program. When I compiled, that member is not getting expanded. Can someone tell me , does this cobol version will support this feature..?


Thanks
Anand
Back to top
View user's profile Send private message
RobertL
Beginner


Joined: 18 Nov 2003
Posts: 22
Topics: 0
Location: Lisbon, Portugal

PostPosted: Mon Nov 24, 2003 11:11 am    Post subject: Reply with quote

Hi Anand,
You need to include the LIB option in the compile step. Also the library where the copybook resides must be included in the SYSLIB DD statement.
Regards,
Robert
Back to top
View user's profile Send private message
Anand_R
Intermediate


Joined: 24 Dec 2002
Posts: 189
Topics: 60

PostPosted: Mon Nov 24, 2003 12:44 pm    Post subject: Reply with quote

Thanks for your response..

ACtually problem lies inthe block size of my copylib pds. I had changed the blocksize of that from 27920 to 11760. Any idea, why it is not allowing the more block size. Is it system dependant parameter or something cobol version dependant..

Thanks
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12375
Topics: 75
Location: San Jose

PostPosted: Mon Nov 24, 2003 1:12 pm    Post subject: Reply with quote

Anand,

Are you concating multiple copylibs to DD name SYSLIB? Some of the older operating systems require the dataset with bigger blocksize be the first dataset in the concatenation list. The new operating system(z/OS) this restriction is lifted.

Hope this helps...

cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Mike Chantrey
Intermediate


Joined: 10 Sep 2003
Posts: 234
Topics: 1
Location: Wansford

PostPosted: Tue Nov 25, 2003 11:20 am    Post subject: Reply with quote

I think it's more likely to be an OS/VS COBOL restriction. Both this and old PL/1 compilers have blocksize restrictions for SYSLIB. Current versions do not have these limits.
Back to top
View user's profile Send private message
Anand_R
Intermediate


Joined: 24 Dec 2002
Posts: 189
Topics: 60

PostPosted: Tue Nov 25, 2003 4:23 pm    Post subject: Reply with quote

Kolus/Mike

Thanks for your response.

Kolusu

My shop have recent version(z/os).

Mike,

Yes, as you said my cobol compiler is 1982 release 2.4..

Thanks
Anand
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Application Programming All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group