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
 
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: 10327
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 Subtract the ZD fields to provide neg... Balaryan DFSORT/ICETOOL 4 Wed Oct 11, 2017 10:51 pm
No new posts Where is output from PARM ABEXIT (SNA... packerm CA Products 3 Thu Sep 28, 2017 4:06 pm
No new posts Garbage on output file Hervey Martinez SYNCSORT 4 Wed Sep 27, 2017 12:50 am
No new posts it is possible output a SET value fro... Martylin JCL & VSAM 5 Fri Sep 22, 2017 7:08 am
No new posts Split 1 file into 10 output Files - S... Prasanth Kumar SYNCSORT 5 Sat Sep 16, 2017 12:02 am

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