View previous topic :: View next topic |
Author |
Message |
Anand_R Intermediate
Joined: 24 Dec 2002 Posts: 189 Topics: 60
|
Posted: Mon Nov 24, 2003 10:47 am Post subject: Can we inlude copy book member inthe os cobol program. |
|
|
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 |
|
|
RobertL Beginner
Joined: 18 Nov 2003 Posts: 22 Topics: 0 Location: Lisbon, Portugal
|
Posted: Mon Nov 24, 2003 11:11 am Post subject: |
|
|
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 |
|
|
Anand_R Intermediate
Joined: 24 Dec 2002 Posts: 189 Topics: 60
|
Posted: Mon Nov 24, 2003 12:44 pm Post subject: |
|
|
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 |
|
|
kolusu Site Admin
Joined: 26 Nov 2002 Posts: 12375 Topics: 75 Location: San Jose
|
Posted: Mon Nov 24, 2003 1:12 pm Post subject: |
|
|
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 |
|
|
Mike Chantrey Intermediate
Joined: 10 Sep 2003 Posts: 234 Topics: 1 Location: Wansford
|
Posted: Tue Nov 25, 2003 11:20 am Post subject: |
|
|
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 |
|
|
Anand_R Intermediate
Joined: 24 Dec 2002 Posts: 189 Topics: 60
|
Posted: Tue Nov 25, 2003 4:23 pm Post subject: |
|
|
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 |
|
|
|
|