Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist 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: 4650
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 IEW2456E error when link-editing a C ... Senthilraj JCL & VSAM 0 Fri Oct 13, 2017 3:12 pm
No new posts exec macro in the end of edit anatol CLIST & REXX 8 Fri Sep 22, 2017 5:10 am
No new posts Default FTP options vasanthz All Other Mainframe Topics 2 Fri Aug 25, 2017 5:58 am
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

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us