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
 

 

How do we pass Cobol Compiler option to APS Cobol

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
Rajen

New User


Joined: 05 May 2005
Posts: 61

PostPosted: Thu Jan 25, 2007 2:18 pm    Post subject: How do we pass Cobol Compiler option to APS Cobol
Reply with quote

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
View user's profile Send private message

William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Thu Jan 25, 2007 6:22 pm    Post subject:
Reply with quote

I don't know about "APS", but use a PROCESS or CBL statement to set those options.
Back to top
View user's profile Send private message
Rajen

New User


Joined: 05 May 2005
Posts: 61

PostPosted: Thu Jan 25, 2007 6:25 pm    Post subject:
Reply with quote

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
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Thu Jan 25, 2007 7:01 pm    Post subject:
Reply with quote

From looking at the APS documentation it seams that you don't have to worry about the Dynam/Nodynam option.
Back to top
View user's profile Send private message
Rajen

New User


Joined: 05 May 2005
Posts: 61

PostPosted: Thu Jan 25, 2007 7:06 pm    Post subject:
Reply with quote

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
View user's profile Send private message
William Thompson

Global Moderator


Joined: 18 Nov 2006
Posts: 3158
Location: Tucson AZ

PostPosted: Thu Jan 25, 2007 8:18 pm    Post subject:
Reply with quote

Can't you just stick them ahead of the id section?
Back to top
View user's profile Send private message
Rajen

New User


Joined: 05 May 2005
Posts: 61

PostPosted: Sat Jan 27, 2007 9:13 am    Post subject: Re: How do we pass Cobol Compiler option to APS Cobol
Reply with quote

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
View user's profile Send private message
parikshit123

Active User


Joined: 01 Jul 2005
Posts: 269
Location: India

PostPosted: Mon May 28, 2007 4:02 pm    Post subject: Re: How do we pass Cobol Compiler option to APS Cobol
Reply with quote

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
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts XML Parse for COBOL 5.2 Bhanu Praveen COBOL Programming 1 Sat Jul 08, 2017 8:58 pm
No new posts pre-compiler for program in an HFS Pedro DB2 0 Fri Jun 23, 2017 11:13 pm
No new posts Dynamic output file creation in cobol... smileheal COBOL Programming 7 Thu Jun 15, 2017 10:53 pm
No new posts Search utility(3.14) using JCl and Cobol RKS3 COBOL Programming 12 Sat Jun 10, 2017 10:24 pm
No new posts COBOL DB2 program - zIIP eligible vasanthz COBOL Programming 7 Wed May 31, 2017 5:12 am


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