HP3000-L Archives

February 2005, Week 3

HP3000-L@RAVEN.UTC.EDU

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Preethi Subramaniam <[log in to unmask]>
Reply To:
Preethi Subramaniam <[log in to unmask]>
Date:
Fri, 18 Feb 2005 02:57:58 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (75 lines)
Hi all,

I am able to preprocess the SQL statements and compile it...but while linking I am getting the following error..I followed the below steps to compile the COBOL program with SQL statements

Steps:

1.Assign the program(containing cobol and sql statements) to SQLIN

ie. SQLIN=EXAMPLES(Name of the program)

2. run psqlcob.pub.sys;info="<dbename> (drop)"

3.cob85xl sqlout,exampleO,$null   (here the output of step will be store in sqlout and we need to compile that)

4.LinkEd> link exampleo,exampledp

ERROR:

PROGRAM ENTRY POINT "_start (OUTER BLOCK)" NOT FOUND (LINKERR 1001)

LINK FAILED (LINKERR 1116)
Please let me know if had made any mistakes or the cause for the error...i referred the linkedit manual and it says the following

1001     MESSAGE PROGRAM ENTRY POINT "!" NOT FOUND
CAUSE                        HP Link Editor/XL could not  nd an
                                   entry point for the procedure.

ACTION                       Check to make sure an outer block
                                   is present in the link or check that
                                   the NRT0.LIB.SYS  le is present on
                                   your system and that it has not been
                                    overwritten with some other  le. Also
                                    ensure that you do not have a  le equate
                                   or NRT0.LIB.SYS.

I am not sure wat does this mean...Please help

Thanks in advance
Preethi

Keven Miller <[log in to unmask]> wrote:
(rats, all my links to docs.hp are broke because they re-did all
the html pages. Of course I prefer the old format. Guess it will
take some time to get used to this new format)

See code samples in [log in to unmask]
Then read in the manual:
ALLBASE/SQL COBOL Application Programming Guide: HP 3000 MPE/iX Computer Systems

http://docs.hp.com/en/36216-90081/index.html

Keven Miller
[log in to unmask]


Preethi Subramaniam wrote:
> Hi all,
>
> I have written a sample program in COBOL which accesses ALLBASE/ISQL
> database. I would like to know how to compile the COBOL program.
>
> Is there any specific compiler in HP-3k to compile these programs.
>
> If possible, please provide me some sample code in COBOL, accesssing
> ALLBASE/ISQL.
>


---------------------------------
Do you Yahoo!?
 Yahoo! Search presents - Jib Jab's 'Second Term'

* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *

ATOM RSS1 RSS2