IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Compiling a COBOL program with AMODE=31 option


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
chinnielr

New User


Joined: 11 Jul 2005
Posts: 87

PostPosted: Fri Jun 13, 2008 3:24 pm
Reply with quote

Hi,

Can we override AMODE value in COBOL compile JCl to compile a cobol program with AMODE=31 option. Can you please let me know what could be the PARM value we need to give in COBOL compile JCL.

Thanks in adavance,
Chinni.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Fri Jun 13, 2008 4:11 pm
Reply with quote

Please, take this opportunity to acquaint yourself with a manual on COBOL. (Links at top of page).

this AMODE31 option is a compiler directive (key word for search in manual).

the manual will show you how to add compiler directives to override sight specific.

if you are using endevor, you need to use a different processor group.
Back to top
View user's profile Send private message
chinnielr

New User


Joined: 11 Jul 2005
Posts: 87

PostPosted: Fri Jun 13, 2008 4:22 pm
Reply with quote

Thanks for your prompt reply.
We have endeavor in our shop, can you please let me know what processor group do I need for this option? is it COBPARM. Kindly suggest.
Back to top
View user's profile Send private message
dick scherrer

Moderator Emeritus


Joined: 23 Nov 2006
Posts: 19244
Location: Inside the Matrix

PostPosted: Sat Jun 14, 2008 2:01 am
Reply with quote

Hello,

I suggest you talk with the Endevor or System Support people.

Usually, there are standards about which amode/rmode are to be used. These standards need to be followed not worked-around.

If you have encountered some situation that the standard does not support, this needs to be resolved for everyone, not just this compile.
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


Joined: 20 Oct 2006
Posts: 6966
Location: porcelain throne

PostPosted: Sat Jun 14, 2008 5:17 pm
Reply with quote

go to a batch add screen, and put an asterik '*' in the PROC GROUP position and then when you have selected a modul, you will be presented with the available PROC GROUPs for the Stage you want to enter.

the user utilities also will display pre-set parms for you endevor enviornment.

all this stuff is site specific, so no one here can tell you what proc group to use.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM

 


Similar Topics
Topic Forum Replies
No new posts Replace each space in cobol string wi... COBOL Programming 3
No new posts Using API Gateway from CICS program CICS 0
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
Search our Forums:

Back to Top