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: 6968
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: 4649
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 pre-compiler for program in an HFS Pedro DB2 0 Fri Jun 23, 2017 11:13 pm
No new posts DIrect link of dynam/nodynam nkjain87 COBOL Programming 2 Mon Apr 24, 2017 6:23 pm
No new posts Edit large number of datasets (QSAM) zh_lad TSO/ISPF 3 Tue Apr 04, 2017 6:08 pm
No new posts Mass comment and edit elixir1986 IBM Tools 3 Thu Mar 02, 2017 10:09 pm
No new posts Who can recomend or to know a PL1 com... Miguel Fernandez DB2 0 Tue Feb 14, 2017 1:42 pm


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