Hi,
Our customer uses COBOL to develop LongRange app.
Normally member type is CBLLE, so CRTBNDCBL command can be used with BNDDIR and ACTGRP option.
However, for some of the programs the customer would like to use SQL in COBOL so type will be SQLCBLLE and CRTSQLCBLI should be used for compile it.
CRTSQLCBLI doesn't have BNDDIR and ACTGRP option.
How can I compile these SQLCBLLE type programs for LongRange?
Best Regards,
Megumi Sawada
[COBOL]compile
-
tsupartono
- Posts: 289
- Joined: Wed Apr 18, 2012 10:21 am
Re: [COBOL]compile
Hi Megumi,
The CRTSQLCBLI command should have a Compile type parameter.
You can change that to *MODULE to create a module instead of a program (*PGM).
Then you use the CRTPGM command to create the final program from the module - you can specify the binding directory when calling CRTPGM.
The CRTSQLCBLI command should have a Compile type parameter.
You can change that to *MODULE to create a module instead of a program (*PGM).
Then you use the CRTPGM command to create the final program from the module - you can specify the binding directory when calling CRTPGM.
-
MegumiSawada
- Posts: 268
- Joined: Tue Feb 19, 2013 5:18 pm
Re: [COBOL]compile
Hi Tony,
Thank you!!!
I have confirmed that I can compile it with CRTSQLCBLI + CRTPGM commands and LongRange works fine.
Best Regards,
Megumi
Thank you!!!
I have confirmed that I can compile it with CRTSQLCBLI + CRTPGM commands and LongRange works fine.
Best Regards,
Megumi