dbTalk Databases Forums  

some feedback wanted

comp.databases.pick comp.databases.pick


Discuss some feedback wanted in the comp.databases.pick forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Tom Phillips
 
Posts: n/a

Default some feedback wanted - 01-15-2007 , 03:38 PM






I added a program (tool) 'qcallmap' to by little site which will build an
index file when directed to a programs file.
http://www.tom-phillips.info/qcallmap.txt

This index file is keyed by program name and contains a list of all called
programs as well as a list of all calling ones.

I have run this in Native Redhat Linux Universe as well as a "pick" flavor
account on the same box.

I have flags for Native Universe and maVerick.

I would appreciate any feedback, especially from those on other platforms.
Thanks in advance,
Tom

Ps - qexit is also needed.
http://www.tom-phillips.info/qexit.txt



Reply With Quote
  #2  
Old   
Symeon
 
Posts: n/a

Default Re: some feedback wanted - 01-16-2007 , 02:58 AM







Tom Phillips wrote:

Quote:
I added a program (tool) 'qcallmap' to by little site which will build an
index file when directed to a programs file.
http://www.tom-phillips.info/qcallmap.txt

This index file is keyed by program name and contains a list of all called
programs as well as a list of all calling ones.

I have run this in Native Redhat Linux Universe as well as a "pick" flavor
account on the same box.

I have flags for Native Universe and maVerick.

I would appreciate any feedback, especially from those on other platforms.
Thanks in advance,
Tom

Ps - qexit is also needed.
http://www.tom-phillips.info/qexit.txt

Hi Tom - I have not been through it all, but one quick thing i spotted
at the top is that you eqate AM and VM to CHAR 254 and 253 - this is
not always the case, atleast on U2 - you can configure the chars for
these esp for international version's e.g. char 253 is u umlout so @vm
needs to be something different etc. @VM and @AM return the correct
chars for such systems.



Rgds
Symeon.



Reply With Quote
  #3  
Old   
Tom Phillips
 
Posts: n/a

Default Re: some feedback wanted - 01-16-2007 , 11:39 AM



Thanks Symeon.
I changed all of the programs to use @AM, @FM and @SM.
Tom

"Symeon" <symeonb (AT) gmail (DOT) com> wrote

Quote:
Tom Phillips wrote:

I added a program (tool) 'qcallmap' to by little site which will build an
index file when directed to a programs file.
http://www.tom-phillips.info/qcallmap.txt

This index file is keyed by program name and contains a list of all
called
programs as well as a list of all calling ones.

I have run this in Native Redhat Linux Universe as well as a "pick"
flavor
account on the same box.

I have flags for Native Universe and maVerick.

I would appreciate any feedback, especially from those on other
platforms.
Thanks in advance,
Tom

Ps - qexit is also needed.
http://www.tom-phillips.info/qexit.txt


Hi Tom - I have not been through it all, but one quick thing i spotted
at the top is that you eqate AM and VM to CHAR 254 and 253 - this is
not always the case, atleast on U2 - you can configure the chars for
these esp for international version's e.g. char 253 is u umlout so @vm
needs to be something different etc. @VM and @AM return the correct
chars for such systems.



Rgds
Symeon.




Reply With Quote
  #4  
Old   
Tom Phillips
 
Posts: n/a

Default Re: some feedback wanted - 01-16-2007 , 12:12 PM



Now I'm troubled by the next post about @fm...
Marshall noted that RD/D3 choked on the equ @AM statement.
Can/will anyone expand on this?
I'd like to produce something that can be used on as many platforms as
possible.
Comment lines seems to be the only way to handle this.
Advise welcome and thanks in advance,
Tom

"Tom Phillips" <squash (AT) computer (DOT) org> wrote

Quote:
Thanks Symeon.
I changed all of the programs to use @AM, @FM and @SM.
Tom

"Symeon" <symeonb (AT) gmail (DOT) com> wrote in message
news:1168937893.124005.239900 (AT) 38g2000cwa (DOT) googlegroups.com...

Tom Phillips wrote:

I added a program (tool) 'qcallmap' to by little site which will build
an
index file when directed to a programs file.
http://www.tom-phillips.info/qcallmap.txt

This index file is keyed by program name and contains a list of all
called
programs as well as a list of all calling ones.

I have run this in Native Redhat Linux Universe as well as a "pick"
flavor
account on the same box.

I have flags for Native Universe and maVerick.

I would appreciate any feedback, especially from those on other
platforms.
Thanks in advance,
Tom

Ps - qexit is also needed.
http://www.tom-phillips.info/qexit.txt


Hi Tom - I have not been through it all, but one quick thing i spotted
at the top is that you eqate AM and VM to CHAR 254 and 253 - this is
not always the case, atleast on U2 - you can configure the chars for
these esp for international version's e.g. char 253 is u umlout so @vm
needs to be something different etc. @VM and @AM return the correct
chars for such systems.



Rgds
Symeon.






Reply With Quote
  #5  
Old   
Pickie
 
Posts: n/a

Default Re: some feedback wanted - 01-16-2007 , 01:53 PM




Tom Phillips wrote:
Quote:
Now I'm troubled by the next post about @fm...
Marshall noted that RD/D3 choked on the equ @AM statement.
Can/will anyone expand on this?
I'd like to produce something that can be used on as many platforms as
possible.
Comment lines seems to be the only way to handle this.
Advise welcome and thanks in advance,
Tom
rest snipped

Hi Tom,

Check out http://www.pickwiki.com/cgi-bin/wiki.pl?PrePass. This is a
program to allow a non-U2, non-QM system to use the $DEFINE $UNDEFINE
$IFDEF $IFNDEF $ELSE and $ENDIF compiler directives. You could write
your program using the directives and put a comment in it giving the
link to PrePass.

Regards, Keith



Reply With Quote
  #6  
Old   
Tom Phillips
 
Posts: n/a

Default Re: some feedback wanted - 01-16-2007 , 03:52 PM



Thanks Keith,
I'm very familar with these compiler directives. I liked them so much when I
got on to a UV account, that I added them to my pre-processor logic.
But, I don't see these directives in my RD/D3 books. Do they work there?
Curious,
Tom

PS - I went back and changed the equ to @AM function(s), back to equ to char
and commented out the other.
It seems that the @AM functions do not have a wide an audience as the
traditional char one.
Thanks again.


"Pickie" <keith.johnson (AT) datacom (DOT) co.nz> wrote

Quote:
Tom Phillips wrote:
Now I'm troubled by the next post about @fm...
Marshall noted that RD/D3 choked on the equ @AM statement.
Can/will anyone expand on this?
I'd like to produce something that can be used on as many platforms as
possible.
Comment lines seems to be the only way to handle this.
Advise welcome and thanks in advance,
Tom
rest snipped

Hi Tom,

Check out http://www.pickwiki.com/cgi-bin/wiki.pl?PrePass. This is a
program to allow a non-U2, non-QM system to use the $DEFINE $UNDEFINE
$IFDEF $IFNDEF $ELSE and $ENDIF compiler directives. You could write
your program using the directives and put a comment in it giving the
link to PrePass.

Regards, Keith




Reply With Quote
  #7  
Old   
Bill H
 
Posts: n/a

Default Re: some feedback wanted - 01-17-2007 , 03:12 PM



Tom:

Use @AM, @VM, etc throughout your code as you would have used AM, VM, etc.
This way you won't have to equate it, initialize it, or worry about other
uses of CHAR(254), CHAR(253), etc. However, I'm under the impression that
if NLS is used you'll have to recompile since these are compiler directives.

Bill

"Tom Phillips" <squash (AT) computer (DOT) org> wrote

Quote:
Now I'm troubled by the next post about @fm...
Marshall noted that RD/D3 choked on the equ @AM statement.
Can/will anyone expand on this?
I'd like to produce something that can be used on as many platforms as
possible.
Comment lines seems to be the only way to handle this.
Advise welcome and thanks in advance,
Tom

"Tom Phillips" <squash (AT) computer (DOT) org> wrote in message
news:ueidnUdfh9RckDDYnZ2dnUVZ_tunnZ2d (AT) comcast (DOT) com...
Thanks Symeon.
I changed all of the programs to use @AM, @FM and @SM.
Tom

"Symeon" <symeonb (AT) gmail (DOT) com> wrote in message
news:1168937893.124005.239900 (AT) 38g2000cwa (DOT) googlegroups.com...

Tom Phillips wrote:

I added a program (tool) 'qcallmap' to by little site which will build
an
index file when directed to a programs file.
http://www.tom-phillips.info/qcallmap.txt

This index file is keyed by program name and contains a list of all
called
programs as well as a list of all calling ones.

I have run this in Native Redhat Linux Universe as well as a "pick"
flavor
account on the same box.

I have flags for Native Universe and maVerick.

I would appreciate any feedback, especially from those on other
platforms.
Thanks in advance,
Tom

Ps - qexit is also needed.
http://www.tom-phillips.info/qexit.txt


Hi Tom - I have not been through it all, but one quick thing i spotted
at the top is that you eqate AM and VM to CHAR 254 and 253 - this is
not always the case, atleast on U2 - you can configure the chars for
these esp for international version's e.g. char 253 is u umlout so @vm
needs to be something different etc. @VM and @AM return the correct
chars for such systems.



Rgds
Symeon.








Reply With Quote
  #8  
Old   
squash@computer.org
 
Posts: n/a

Default Re: some feedback wanted - 01-17-2007 , 04:59 PM



Thanks Bill for the advice.
Old habits die hard. I got in the "habit" of using equates way back
when storage and speed were an issue. If memory serves, all data
variables had a 27 byte header, where equates were compiled without
that header. So using "xxx='a'" took 28 bytes of storage for the
literal and the equate used just 1. In addition, each occurance of the
'a' took up another 28 bytes (no literal table in the compiler). I
remember when I first switched just the letters of the alphabet from
literals to equates (equ a to 'a'...), I reduced the space required for
the object by some huge figure (not to mention the extra 2 delimiters
I'd didn't need to type - so the source got smaller too).

I'm considering the @AM function use, but want to insure that this
"feature" works on the widest possible number of systems. It sure
doesn't work on any older systems. I'm guessing that the newer players
have an implememtation.
Regards,
Tom


Bill H wrote:
Quote:
Tom:

Use @AM, @VM, etc throughout your code as you would have used AM, VM, etc.
This way you won't have to equate it, initialize it, or worry about other
uses of CHAR(254), CHAR(253), etc. However, I'm under the impression that
if NLS is used you'll have to recompile since these are compiler directives.

Bill

"Tom Phillips" <squash (AT) computer (DOT) org> wrote in message
news:Kp6dnbyBBc8FiDDYnZ2dnUVZ_rmdnZ2d (AT) comcast (DOT) com...
Now I'm troubled by the next post about @fm...
Marshall noted that RD/D3 choked on the equ @AM statement.
Can/will anyone expand on this?
I'd like to produce something that can be used on as many platforms as
possible.
Comment lines seems to be the only way to handle this.
Advise welcome and thanks in advance,
Tom

"Tom Phillips" <squash (AT) computer (DOT) org> wrote in message
news:ueidnUdfh9RckDDYnZ2dnUVZ_tunnZ2d (AT) comcast (DOT) com...
Thanks Symeon.
I changed all of the programs to use @AM, @FM and @SM.
Tom

"Symeon" <symeonb (AT) gmail (DOT) com> wrote in message
news:1168937893.124005.239900 (AT) 38g2000cwa (DOT) googlegroups.com...

Tom Phillips wrote:

I added a program (tool) 'qcallmap' to by little site which will build
an
index file when directed to a programs file.
http://www.tom-phillips.info/qcallmap.txt

This index file is keyed by program name and contains a list of all
called
programs as well as a list of all calling ones.

I have run this in Native Redhat Linux Universe as well as a "pick"
flavor
account on the same box.

I have flags for Native Universe and maVerick.

I would appreciate any feedback, especially from those on other
platforms.
Thanks in advance,
Tom

Ps - qexit is also needed.
http://www.tom-phillips.info/qexit.txt


Hi Tom - I have not been through it all, but one quick thing i spotted
at the top is that you eqate AM and VM to CHAR 254 and 253 - this is
not always the case, atleast on U2 - you can configure the chars for
these esp for international version's e.g. char 253 is u umlout so @vm
needs to be something different etc. @VM and @AM return the correct
chars for such systems.



Rgds
Symeon.







Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.