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 SQL query not working in Cobol program. CuriousMainframer COBOL Programming 14 Wed Feb 22, 2017 5:56 pm
No new posts Execute TSO ACF commands from COBOL-I... supreethi.srid TSO/ISPF 0 Tue Feb 21, 2017 5:19 pm
No new posts Who can recomend or to know a PL1 com... Miguel Fernandez DB2 0 Tue Feb 14, 2017 1:42 pm
No new posts Mainframe Interview Questions CICS,CO... akshathan Mainframe Interview Questions 6 Thu Feb 09, 2017 6:38 pm
No new posts Submit job from Cobol with input data abdulrafi COBOL Programming 4 Wed Feb 01, 2017 12:41 pm


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