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

How to get the compiler options and link edit options?


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Sahoo

New User


Joined: 08 Jun 2006
Posts: 53

PostPosted: Thu Apr 24, 2008 10:45 pm
Reply with quote

Hi,
I need to find out the compiler options without EPA. Also i do not have the compiler listing. Is it possible?
Thanks
Sahoo
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: Thu Apr 24, 2008 11:40 pm
Reply with quote

Hello,

Quote:
I need to find out the compiler options without EPA. Also i do not have the compiler listing. Is it possible?
What does "EPA" mean to you?

While you might not have a listing, you should be able to see the compiler optons in the standard compile jcl for that type of program.

If you more clearly explain what you are really looking for, someone may have a suggestion.
Back to top
View user's profile Send private message
CICS Guy

Senior Member


Joined: 18 Jul 2007
Posts: 2146
Location: At my coffee table

PostPosted: Fri Apr 25, 2008 1:34 am
Reply with quote

Doesn't that program, COBANAL (or such), provide some answers?
Back to top
View user's profile Send private message
dbzTHEdinosauer

Global Moderator


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

PostPosted: Fri Apr 25, 2008 10:59 am
Reply with quote

AMBLIST will notate the compile/link edit options used for a program.
Back to top
View user's profile Send private message
Sahoo

New User


Joined: 08 Jun 2006
Posts: 53

PostPosted: Tue Apr 29, 2008 7:31 am
Reply with quote

Can you please send me how to findout from the AMBLIST output?
Thanks
Sahoo
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: Tue Apr 29, 2008 7:47 am
Reply with quote

Hello,

Try this - it was posted in another topic and i have not actually run it.

Code:
//REPORT EXEC PGM=AMBLIST
//SYSPRINT DD SYSOUT=*
//SYSLIB DD DISP=SHR,DSN=Load name
  LISTIDR MEMBER=mem-name
  LISTLOAD OUTPUT=XREF,MEMBER=mem-name
/*

Here's another previous post:
Code:
//STEP010 EXEC PGM=AMBLIST
//SYSPRINT DD SYSOUT=*
//SYSOUT DD SYSOUT=*
//LOADLB DD DSN=MY.LOADLIB.DIR,DISP=SHR
//SYSIN DD *
  LISTIDR DDN=LOADLB,MEMBER=xxxxxx
Back to top
View user's profile Send private message
Sahoo

New User


Joined: 08 Jun 2006
Posts: 53

PostPosted: Tue Apr 29, 2008 8:04 am
Reply with quote

Code:

//SEARCH  EXEC PGM=AMBLIST                       
//SYSOUT   DD SYSOUT=*                           
//SYSPRINT DD SYSOUT=*                           
//LOADLIB  DD DISP=SHR,DSN=TCOJVIN.LOADLIB       
//SYSIN    DD *                                 
  LISTIDR  DDN=LOADLIB,MEMBER=HRHPONET             
/*


I got this
AMB121I INVALID CONTROL STATEMENT -- PROCESSING TERMINATES
Back to top
View user's profile Send private message
superk

Global Moderator


Joined: 26 Apr 2004
Posts: 4652
Location: Raleigh, NC, USA

PostPosted: Tue Apr 29, 2008 8:38 am
Reply with quote

AMBLIST.
Back to top
View user's profile Send private message
Sahoo

New User


Joined: 08 Jun 2006
Posts: 53

PostPosted: Tue Apr 29, 2008 8:56 am
Reply with quote

it does not say how to get Compiler and Link-edit options. We can get only the following information from AMBLIST

* Formatted listing of an object module
* Map of the control sections (CSECTs) in a load module or program object
* List of modifications to the code in a CSECT
* Map of all modules in the link pack areas (LPA)
* Map of the contents of the DAT-on nucleus. The map no longer represents the IPL version and message AMB129I will be issued.
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 -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts How I Found a Bug in a FORTRAN Compiler All Other Mainframe Topics 4
No new posts Query on edit primary command CLIST & REXX 5
No new posts Query on edit primary command CLIST & REXX 1
No new posts Need help to resolve a hard edit COBOL Programming 8
This topic is locked: you cannot edit posts or make replies. Need help to resolve a hard edit COBOL Programming 4
Search our Forums:

Back to Top