Small question...

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Small question...

mcbrides
Just a small question. While compiling some of my classes I notice that there
are more classes imported than actually exist in the soruce. In this compiler
log, you see the line: 4 classes imported from 'fileio'. There's actually only
one class, one constructor and three methods in that class file. The same is
true of the line dealing with 'Show'

Mike, can you tell me what's actually being imported here?

NetRexx portable processor, version 1.140  [2 Jun 1998]
Copyright (c) IBM Corporation, 1998.  All rights reserved.
Translating 'News.nrx' [Pass 0]
  4 classes imported from 'fileio'
  4 classes imported from 'Show'
  Loaded public class 'java.lang.Object'
  === class News === [pass 1]
    Loaded public class 'netrexx.lang.Rexx'
    method getnews [line 33]
    method version [line 175]
    method fileexist [line 186]
    method main [line 193]
    Loaded public final class 'java.lang.String'
Program News.nrx [pass 2, over 158 clauses]
  === class News ===
    function getnews
      Loaded public class 'fileio'
      Loaded public class 'Show'
      Loaded public class 'socks'
      Loaded public class 'java.lang.Throwable'
      Loaded public class 'java.lang.Exception'
      Loaded public class 'java.io.IOException'
      Loaded public class 'java.lang.RuntimeException'
      Loaded public interface class 'java.io.Serializable'
      Loaded public class 'java.lang.Error'
      Loaded public class 'netrexx.lang.BadArgumentException'
      Loaded public class 'java.lang.IllegalArgumentException'
      Loaded public class 'java.lang.NumberFormatException'
      signals IOException
    function version
    function fileexist(Rexx)
      Loaded public class 'java.io.File'
    function main(String[])
      signals IOException
Compiling: '-nowarn D:\netrexx\work\news\News.java'
Compilation of 'News.nrx' successful




--

/-------------------------------------\
| Jerry McBride                       |
|                                     |
|                ([hidden email]  |
\-------------------------------------/

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe from this mailing list ( ibm-netrexx ), please send a note to
[hidden email]
with the following message in the body of the note
unsubscribe ibm-netrexx <e-mail address>

Reply | Threaded
Open this post in threaded view
|

Re: Small question...

Mike Cowlishaw-2
Importing just locates the classes so they can be referred to by their short
name.  NetRexxC found four classes in each of those packages.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Mike Cowlishaw, IBM Fellow, IBM UK Laboratories
mailto:[hidden email]   [http://www2.hursley.ibm.com]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe from this mailing list ( ibm-netrexx ), please send a note to
[hidden email]
with the following message in the body of the note
unsubscribe ibm-netrexx <e-mail address>

Reply | Threaded
Open this post in threaded view
|

DB2/2 JDBC worked

kikuti
Hi all,

I could download 58MB 60days free DB2/2.
I could create database.
I could create a table, import some data from ascii delimited file.
(I wish I could use a blank as a delimitter, though)  
>From Netrexx Tutorial(not Quick Start), picked up JDBC sample,
And it WORKED !!!

kikuti

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe from this mailing list ( ibm-netrexx ), please send a note to
[hidden email]
with the following message in the body of the note
unsubscribe ibm-netrexx <e-mail address>