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
This topic is locked: you cannot edit posts or make replies. Full Time COBOL Software Development ... shally Mainframe Jobs 0 Fri Jan 20, 2017 5:24 am
This topic is locked: you cannot edit posts or make replies. COBOL Software Development Lead at Fi... shally Mainframe Jobs 0 Fri Jan 20, 2017 5:21 am
No new posts Executing OO COBOL program invoking J... Virendra Shambharkar COBOL Programming 2 Tue Jan 10, 2017 6:37 pm
No new posts OO COBOL compile error Virendra Shambharkar COBOL Programming 3 Tue Jan 10, 2017 6:05 pm
No new posts Need Suggestion on COBOL program vickey_dw COBOL Programming 5 Thu Jan 05, 2017 10:55 pm


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