Subject: | |
From: | |
Reply To: | |
Date: | Fri, 18 Feb 2005 16:30:56 +0000 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Hi Preethi,
does your sourcecode contain a "$CONTROL DYNAMIC" statement ?
If so, remove it.
Preethi Subramaniam schrieb:
> 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 *
>
--
Mit freundlichen Grüßen / Best regards
Günter Kuhn
SSD IT Consulting GmbH
CH 6404 Greppen
Switzerland
EMail: [log in to unmask]
WWW: www.ssd-it.ch
Skype: gkuhndo
* To join/leave the list, search archives, change list settings, *
* etc., please visit http://raven.utc.edu/archives/hp3000-l.html *
|
|
|