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
 

 

Output of compiler in PL1

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> All Other Mainframe Topics
View previous topic :: :: View next topic  
Author Message
Nandananilchintala

New User


Joined: 25 Mar 2009
Posts: 19
Location: Hyderabad

PostPosted: Thu May 07, 2009 9:05 pm    Post subject: Output of compiler in PL1
Reply with quote

Hi,

I am aware that the Precompiling of a program gives DBRM and NCAL as output and DBRM is for SQL statements. But i could not understand what actually NCAL contains or relates to. Please help
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 May 07, 2009 9:40 pm    Post subject:
Reply with quote

Hello,

If my memory is still working - With NCAL set, external references are not resolved by the linker/binder.
Back to top
View user's profile Send private message
Nandananilchintala

New User


Joined: 25 Mar 2009
Posts: 19
Location: Hyderabad

PostPosted: Thu May 07, 2009 9:47 pm    Post subject:
Reply with quote

Thank you dick scherrer for your reply....
can i assume that NCAL is the intermediate load module but not all the refereces resolved
Back to top
View user's profile Send private message
enrico-sorichetti

Global Moderator


Joined: 14 Mar 2007
Posts: 10288
Location: italy

PostPosted: Thu May 07, 2009 10:07 pm    Post subject: Reply to: Output of compiler in PL1
Reply with quote

Quote:
can i assume that NCAL is the intermediate load module but not all the refereces resolved


NO icon_biggrin.gif

let' s straighten out the terminology....
a compiler does not generate a load module, it generates an object deck

old PL/1-COBOL
the db2 preprocessor generates the DBRM and an augmented source program
which afterwards goes thru the standard PL/1-COBOL COMPILATION which generates an OBJECT
which ( object ) gets processed by the linkage editor/binder to produce a load/executable module

the term NCAL has no place here

the newer PL/1 and COBOL compiler have an INTEGRATED preprocessor
at the end of the ONE step process You get the same things
You would have gotten at the end of the previous TWO steps process

the linkage editor step is the same in both cases

again the term NCAL has no place here

NCAL is a linkage editor/binder parameter which prevents the automatic resolution of external addresses ( called subroutines )
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 -> All Other Mainframe Topics All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Multiple VSAM files single output fil... Mohan Kothakota DFSORT/ICETOOL 11 Wed Aug 09, 2017 7:57 pm
No new posts Read two inputs and write into output... murali.andaluri DFSORT/ICETOOL 6 Wed Jul 26, 2017 7:35 pm
No new posts How to add header with Date(YYMMDD) i... Rajan Moorthy DFSORT/ICETOOL 2 Thu Jul 06, 2017 11:44 pm
No new posts JES2 doesn't honor the priority of th... Aron Lendvai JCL & VSAM 8 Thu Jun 29, 2017 1:41 pm
No new posts pre-compiler for program in an HFS Pedro DB2 0 Fri Jun 23, 2017 11:13 pm


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