View previous topic :: View next topic
|
Author |
Message |
Rajen
New User
Joined: 05 May 2005 Posts: 61
|
|
|
|
Can anyone tell me how do we pass Cobol Compiler option (Dynam,Nodynam) to APS-Cobol.
My requirement is i want to pass cobol compiler option for compiling APS-Cobol program. |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
I don't know about "APS", but use a PROCESS or CBL statement to set those options. |
|
Back to top |
|
|
Rajen
New User
Joined: 05 May 2005 Posts: 61
|
|
|
|
Thanks for reply William,
But CBL statemet, we use for normal batch cobol program (Cobol,cobol-2,os390 cobol) not for APS Cobol. |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
From looking at the APS documentation it seams that you don't have to worry about the Dynam/Nodynam option. |
|
Back to top |
|
|
Rajen
New User
Joined: 05 May 2005 Posts: 61
|
|
|
|
Thanks for the link Williams,
I have gone through that.
I know i neednot worry about Dynam/Nodynam option but i need to pass TRUNC(STD)/TRUNC(BIN) (Because of some other errors which i am getting) for APS Cobol programs.
So I want to know how do we pass cobol compiler parameter in APS Cobol. |
|
Back to top |
|
|
William Thompson
Global Moderator
Joined: 18 Nov 2006 Posts: 3156 Location: Tucson AZ
|
|
|
|
Can't you just stick them ahead of the id section? |
|
Back to top |
|
|
Rajen
New User
Joined: 05 May 2005 Posts: 61
|
|
|
|
Yes for normal Cobol (Cobol, Cobol-2 and OS-390) we can put this parameter before ID Section.
But with APS equivivalent code would be generated through Batch JCL(dynamically).
Actually APS' compile JCL, first converts APS-Cobol program to normal cobol and then compiles it.
So as the code is generated dynamically we have no control on ID Section. |
|
Back to top |
|
|
parikshit123
Active User
Joined: 01 Jul 2005 Posts: 269 Location: India
|
|
|
|
Rajen wrote: |
So as the code is generated dynamically we have no control on ID Section. |
Hi Rajan,
Sorry to digress, can you please let me know how to convert APS cobol code into normal cobol code? |
|
Back to top |
|
|
|