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 to get the compiler options and link edit options?

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
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    Post subject: How to get the compiler options and link edit options?
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

Site Director


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

PostPosted: Thu Apr 24, 2008 11:40 pm    Post subject:
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: 2150
Location: At my coffee table

PostPosted: Fri Apr 25, 2008 1:34 am    Post subject:
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    Post subject:
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    Post subject:
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

Site Director


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

PostPosted: Tue Apr 29, 2008 7:47 am    Post subject:
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    Post subject:
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

Moderator Team Head


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

PostPosted: Tue Apr 29, 2008 8:38 am    Post subject: Reply to: How to get the compiler options and link edit opti
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    Post subject:
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    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 Any docs / links for isub- cobol comp... SRICOBSAS COBOL Programming 4 Fri Aug 26, 2016 2:35 pm
No new posts Problem Compiling cobol code with Cob... amitc23 COBOL Programming 2 Wed Aug 24, 2016 1:50 pm
No new posts compile and link program in 6.1 brigitte pruett COBOL Programming 3 Tue Aug 16, 2016 12:09 am
No new posts DB2 Unload format options Susanta DB2 2 Fri Aug 12, 2016 5:42 pm
No new posts COBOL compiler upgrade vicky10001 COBOL Programming 4 Mon Jul 25, 2016 1:44 pm


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