Re: Where would I get jBase 5 and/or 6 from in the UK

2024-04-19 Thread 'Jim Idle' via jBASE
HI Neil, how's it going?

Rocket still give out evaluation licenses with, I think, 3 users. so I think 
you can just email them (support I guess and I also guess it would be on their 
web site) and tell them why you need it. As it for you to upgrade an existing 
jBASE customer, I imagine that they would be happy to hook you up. 

Jim

> On Apr 19, 2024, at 01:18, Neil Charrington  wrote:
> 
> Hi, <>
>  
> I am retiring in 4 months and I have one customer remaining.  They may want 
> to upgrade the jBiTE and Magician ERP software that they use (my software) to 
> the “latest” jBase versions, as they are currently on 3.4.10
>  
> They have 30 users and are investigating getting someone or some company to 
> support the software for them.  To do this they also want to upgrade to a 
> 64-bit compliant version.
>  
> So, where would I get jBase 5/6 from in the UK?  Also, is there anyone 
> interested in taking on the support?
>  
> Kind regards,
>  
> Neil. 
>  
>  
> 
> 
> Neil Charrington
> Partner
> 
> Office: +44 0845 680 0014
> Mobile: +44 07791 736 418
> n...@casoftware.co.uk 
> www.casoftware.co.uk 
>  
>  
> 
> -- 
> -- 
> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>  
> To post, send email to jBASE@googlegroups.com 
> To unsubscribe, send email to jbase-unsubscr...@googlegroups.com 
> 
> For more options, visit this group at 
> http://groups.google.com/group/jBASE?hl=en
> 
> --- 
> You received this message because you are subscribed to the Google Groups 
> "jBASE" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to jbase+unsubscr...@googlegroups.com 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jbase/01ab01da9229%24d83223d0%2488966b70%24%40casoftware.co.uk
>  
> .

-- 
-- 
IMPORTANT: T24/Globus posts are no longer accepted on this forum.

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"jBASE" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jbase+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jbase/34CC81E9-6CC9-460F-A108-312556E44769%40temporal-wave.com.


Re: rocket software support

2024-03-04 Thread 'Jim Idle' via jBASE
j...@idle.ws

On Mar 4 2024, at 9:16 am, Robert Beaudry  wrote:
> Jim Idle, if you can send me your email address and i will explain what I'm 
> taking about.
>
> thanks,
>
> Robert Beaudry
>
>
> Le vendredi 1 mars 2024 à 21:02:21 UTC-5, Jim Idle a écrit :
> > Interesting. I am no longer involved of course but I would be interested to 
> > talk about this. Drop me an email if you like.
> >
> > Jim
> >
> > On Fri, Mar 1, 2024 at 16:13 Robert Beaudry  wrote:
> > > Hi,
> > >
> > > we are using jBASE since 1998 on our company, but since jBase has been 
> > > sold to Rocket Software, the support is really bad.
> > >
> > > look's like the development of jBASE is also a problem , it look like 
> > > they create more bug that they fix.
> > >
> > > At least i can tell that we had good support in the time that strategy7 
> > > was doing the support for us on jBase.
> > >
> > > I hope that you have better support than me with jBASE and Rocket 
> > > Software.
> > >
> > > Robert Beaudry
> > > --
> > > --
> > > IMPORTANT: T24/Globus posts are no longer accepted on this forum.
> > >
> > > To post, send email to jb...@googlegroups.com
> > > To unsubscribe, send email to jbase-un...@googlegroups.com
> > > For more options, visit this group at 
> > > http://groups.google.com/group/jBASE?hl=en
> > >
> > > ---
> > > You received this message because you are subscribed to the Google Groups 
> > > "jBASE" group.
> > > To unsubscribe from this group and stop receiving emails from it, send an 
> > > email to jbase+un...@googlegroups.com.
> > > To view this discussion on the web visit 
> > > https://groups.google.com/d/msgid/jbase/4ddcc5b0-ab27-4d55-93d0-b5e02e00c85en%40googlegroups.com
> > >  
> > > (https://groups.google.com/d/msgid/jbase/4ddcc5b0-ab27-4d55-93d0-b5e02e00c85en%40googlegroups.com?utm_medium=email_source=footer).
> >
> >
> >
>
>
>
> --
> --
> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>
> To post, send email to jBASE@googlegroups.com
> To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
> For more options, visit this group at 
> http://groups.google.com/group/jBASE?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups 
> "jBASE" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to jbase+unsubscr...@googlegroups.com 
> (mailto:jbase+unsubscr...@googlegroups.com).
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/jbase/64ad8021-5cc8-44a7-a38b-85dc977b3eb6n%40googlegroups.com
>  
> (https://groups.google.com/d/msgid/jbase/64ad8021-5cc8-44a7-a38b-85dc977b3eb6n%40googlegroups.com?utm_medium=email_source=footer).

-- 
-- 
IMPORTANT: T24/Globus posts are no longer accepted on this forum.

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"jBASE" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jbase+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jbase/3DABDCB2-766F-473B-A319-84C0F698205D%40getmailspring.com.


Re: rocket software support

2024-03-01 Thread 'Jim Idle' via jBASE
Interesting. I am no longer involved of course but I would be interested to
talk about this. Drop me an email if you like.

Jim

On Fri, Mar 1, 2024 at 16:13 Robert Beaudry  wrote:

> Hi,
>
> we are using jBASE since 1998 on our company, but since jBase has been
> sold to Rocket Software, the support is really bad.
>
> look's like the development  of jBASE is also a problem , it look like
> they create more bug that they fix.
>
> At least i can tell that we had good support in the time that strategy7
> was doing the support for us on jBase.
>
> I hope that you have better support than me with jBASE and Rocket Software.
>
> Robert Beaudry
>
> --
> --
> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>
> To post, send email to jBASE@googlegroups.com
> To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/jBASE?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "jBASE" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jbase+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jbase/4ddcc5b0-ab27-4d55-93d0-b5e02e00c85en%40googlegroups.com
> 
> .
>

-- 
-- 
IMPORTANT: T24/Globus posts are no longer accepted on this forum.

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"jBASE" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jbase+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jbase/CAGPPfg-0Gbq3pvuhsS-6JtCNt0rCC5NchhDWyUa3U__e936a%3Dg%40mail.gmail.com.


Re: Jbase Response Delay

2023-04-26 Thread 'Jim Idle' via jBASE
Say hello to Bob for me. :)

It is common for companies to try and move away. It’s also common for that
to fail if it is a rewrite. But I understand why you e not upgraded.

I think you do need to try a restart. One user may be a red herring here as
if there are background programs running, then it could be one of those
programs causing all the writes. Difficult to say without a look at the
system itself.

On Wed, Apr 26, 2023 at 21:53 Alan Metz  wrote:

> Jim,
>Well, I have been working with a friend of mine, Bob Wyatt; however, we
> have not been able to find anything definitive.
> The sync d runs every 60 seconds.
> As far as system workload, we have about 300 users, many with multiple
> Accuterm sessions at once, so yes, there is much activity throughout the
> day. What bothers
> me is the fact that I can duplicate the problem with only 1 user attached!
> (The one thing that I did not try was to eliminate all users, restart AIX
> and jBASE, and see if the
> problem occurs, without anyone running any jBASE programs - to your point
> about software code changes.  I have been coding our system for over 30
> years now, so yes,
> some code changes have happened this year...but that is normal operations)
>  At this point, I would be inclined to make use of your services to
> see if you can find anything!  (I do want you to be aware that my
> company has decided, 2 years ago, to
> move away from Pick/jBASE in early 2024 - much to my dismay - which is why
> I haven't upgraded the system.)
> Let me know if you are interested.
> Thanks,
> Al
>
> On Wed, Apr 26, 2023 at 1:42 AM 'Jim Idle' via jBASE <
> jbase@googlegroups.com> wrote:
>
>> Any progress on this?
>>
>> On Fri, Apr 21, 2023 at 3:40 PM Jim Idle  wrote:
>>
>>> So, I can no longer find much documentation on AIX 6.1 because it is
>>> end-of-lifed. But I think that you can determine if this is the cause of
>>> your problem by:
>>>
>>> edit the file /sbin/rc.boot using sudo (it may be /etc/rc.boot on your
>>> version of AIX), and find where it starts the syncd daemon. Start out with
>>> 5 seconds - in some cases you can make this shorter. It looks like the -i
>>> option is what you need:
>>>
>>> start /usr/sbin/syncd -i 5
>>>
>>> You can change it for the current system without making it permanent by
>>> killing the syncd and restarting it with a new seconds value. That way you
>>> can try different values until you get one that suits your system.
>>>
>>> In the AIX 7.1 documentation it also recommends to turn on
>>> the random write behind function using the ioo command, but I suspect that
>>> that is not there on AIX 6.1.
>>>
>>> I suspect that things hand while this is happening because by default,
>>> the process causes locks to be held against the inodes (jBASE files) that
>>> have dirty writes outstanding. In AIX 7.1, you can prevent syncd from
>>> locking the inode with ioo -o sync_release_ilock=1. See if that is also
>>> an option in 6.1.
>>>
>>> Please let us know if that helps.
>>>
>>> However, if it does help, then you need to work out why this is now an
>>> issue when it was not before. I can only think that there has been a change
>>> to your application software, but that is speculation of course.
>>>
>>> Jim
>>>
>>> On Thu, Apr 20, 2023 at 11:25 AM Jim Idle  wrote:
>>>
>>>> Ah, right. I think you can rule out the network then, as you are seeing
>>>> intermittent stutter in actual program response time here. That's kicked
>>>> out a lot of issues. To be honest, I should have recognized this as an XY
>>>> problem from the start - my apologies.
>>>>
>>>> Now, I used to be a dab hand at tuning AIX, especially with jBASE of
>>>> course, but it's been a "number of years" ;)
>>>>
>>>> So, something has changed, but unless you changed some of your
>>>> application software, then it is something that has happened over time that
>>>> has now hit a bottleneck.There have been a few good suggestions here
>>>> already, so i will assume that you have looked at those by now.
>>>>
>>>> So, the main thing I remember was that there is a kernel tuning
>>>> parameter for memory flushing of dirty memory buffers, which was (and I
>>>> assume still is) controlled by a flush daemon, which I think used to be
>>>> syncd or flushd. The parameter controls how often this daemon runs.
>>>>
>>>> Right now, th

Re: Jbase Response Delay

2023-04-25 Thread 'Jim Idle' via jBASE
Any progress on this?

On Fri, Apr 21, 2023 at 3:40 PM Jim Idle  wrote:

> So, I can no longer find much documentation on AIX 6.1 because it is
> end-of-lifed. But I think that you can determine if this is the cause of
> your problem by:
>
> edit the file /sbin/rc.boot using sudo (it may be /etc/rc.boot on your
> version of AIX), and find where it starts the syncd daemon. Start out with
> 5 seconds - in some cases you can make this shorter. It looks like the -i
> option is what you need:
>
> start /usr/sbin/syncd -i 5
>
> You can change it for the current system without making it permanent by
> killing the syncd and restarting it with a new seconds value. That way you
> can try different values until you get one that suits your system.
>
> In the AIX 7.1 documentation it also recommends to turn on
> the random write behind function using the ioo command, but I suspect that
> that is not there on AIX 6.1.
>
> I suspect that things hand while this is happening because by default, the
> process causes locks to be held against the inodes (jBASE files) that have
> dirty writes outstanding. In AIX 7.1, you can prevent syncd from locking
> the inode with ioo -o sync_release_ilock=1. See if that is also an option
> in 6.1.
>
> Please let us know if that helps.
>
> However, if it does help, then you need to work out why this is now an
> issue when it was not before. I can only think that there has been a change
> to your application software, but that is speculation of course.
>
> Jim
>
> On Thu, Apr 20, 2023 at 11:25 AM Jim Idle  wrote:
>
>> Ah, right. I think you can rule out the network then, as you are seeing
>> intermittent stutter in actual program response time here. That's kicked
>> out a lot of issues. To be honest, I should have recognized this as an XY
>> problem from the start - my apologies.
>>
>> Now, I used to be a dab hand at tuning AIX, especially with jBASE of
>> course, but it's been a "number of years" ;)
>>
>> So, something has changed, but unless you changed some of your
>> application software, then it is something that has happened over time that
>> has now hit a bottleneck.There have been a few good suggestions here
>> already, so i will assume that you have looked at those by now.
>>
>> So, the main thing I remember was that there is a kernel tuning parameter
>> for memory flushing of dirty memory buffers, which was (and I assume still
>> is) controlled by a flush daemon, which I think used to be syncd or flushd.
>> The parameter controls how often this daemon runs.
>>
>> Right now, this is my first guess as to what is happening as this was
>> always the answer back in the day. And, guess what? The default time for
>> this demon to run is either 30 or 40 seconds, which seems to fit the bill
>>
>> The scenario is as follows:
>>
>>- Someone thinks that this kernel parameter should be high and
>>changes it such that the system doesn't try to flush dirty memory to disk
>>until it gets a lot of dirty buffers
>>- Nothing seems to change right away, but one day your workload
>>changes slightly and...
>>- The syncd (or whatever it is these days) wakes up every 30 seconds
>>or so, sees that 70% of your memory is in need of being written and it
>>tries to do that all at once in one massive glob of writes - everything
>>else has to pause and wait.
>>- The actual setting should be that the flush cycle runs more often,
>>not less often so that you get a smooth, averaged out performance.
>>- The setting, especially on a write busy system, should be about 5
>>seconds
>>
>> This was performance problem #1 with jBASE on AIX. AIX is generally a
>> great system, but tuning it is a bit of a nightmare sometimes. I used to
>> have a whole instruction set for people in the field to do this, but I
>> don't have access to that and haven't for a long time. I don't know if
>> maybe someone like *Bruce Decker *has a copy of that email - he might.
>> If not, then we will need to find out what I used to do starting from first
>> principles.
>>
>> The daemon is either flushd or syncd (it is called different things on
>> different systems). As I say, the default is 30 seconds or
>> something similar. You want this to run MORE often, not LESS often. Also,
>> have a think about whether the system workload has changed in terms of
>> writes. More users? Extra business? Someone changed the background tasks to
>> do more writes?
>>
>> I will try and find my notes etc about this, but while I cannot guarantee
>> that this is your 

Re: Jbase Response Delay

2023-04-21 Thread Jim Idle
So, I can no longer find much documentation on AIX 6.1 because it is
end-of-lifed. But I think that you can determine if this is the cause of
your problem by:

edit the file /sbin/rc.boot using sudo (it may be /etc/rc.boot on your
version of AIX), and find where it starts the syncd daemon. Start out with
5 seconds - in some cases you can make this shorter. It looks like the -i
option is what you need:

start /usr/sbin/syncd -i 5

You can change it for the current system without making it permanent by
killing the syncd and restarting it with a new seconds value. That way you
can try different values until you get one that suits your system.

In the AIX 7.1 documentation it also recommends to turn on the random write
behind function using the ioo command, but I suspect that that is not there
on AIX 6.1.

I suspect that things hand while this is happening because by default, the
process causes locks to be held against the inodes (jBASE files) that have
dirty writes outstanding. In AIX 7.1, you can prevent syncd from locking
the inode with ioo -o sync_release_ilock=1. See if that is also an option
in 6.1.

Please let us know if that helps.

However, if it does help, then you need to work out why this is now an
issue when it was not before. I can only think that there has been a change
to your application software, but that is speculation of course.

Jim

On Thu, Apr 20, 2023 at 11:25 AM Jim Idle  wrote:

> Ah, right. I think you can rule out the network then, as you are seeing
> intermittent stutter in actual program response time here. That's kicked
> out a lot of issues. To be honest, I should have recognized this as an XY
> problem from the start - my apologies.
>
> Now, I used to be a dab hand at tuning AIX, especially with jBASE of
> course, but it's been a "number of years" ;)
>
> So, something has changed, but unless you changed some of your application
> software, then it is something that has happened over time that has now hit
> a bottleneck.There have been a few good suggestions here already, so i will
> assume that you have looked at those by now.
>
> So, the main thing I remember was that there is a kernel tuning parameter
> for memory flushing of dirty memory buffers, which was (and I assume still
> is) controlled by a flush daemon, which I think used to be syncd or flushd.
> The parameter controls how often this daemon runs.
>
> Right now, this is my first guess as to what is happening as this was
> always the answer back in the day. And, guess what? The default time for
> this demon to run is either 30 or 40 seconds, which seems to fit the bill
>
> The scenario is as follows:
>
>- Someone thinks that this kernel parameter should be high and changes
>it such that the system doesn't try to flush dirty memory to disk until it
>gets a lot of dirty buffers
>- Nothing seems to change right away, but one day your workload
>changes slightly and...
>- The syncd (or whatever it is these days) wakes up every 30 seconds
>or so, sees that 70% of your memory is in need of being written and it
>tries to do that all at once in one massive glob of writes - everything
>else has to pause and wait.
>- The actual setting should be that the flush cycle runs more often,
>not less often so that you get a smooth, averaged out performance.
>- The setting, especially on a write busy system, should be about 5
>seconds
>
> This was performance problem #1 with jBASE on AIX. AIX is generally a
> great system, but tuning it is a bit of a nightmare sometimes. I used to
> have a whole instruction set for people in the field to do this, but I
> don't have access to that and haven't for a long time. I don't know if
> maybe someone like *Bruce Decker *has a copy of that email - he might. If
> not, then we will need to find out what I used to do starting from first
> principles.
>
> The daemon is either flushd or syncd (it is called different things on
> different systems). As I say, the default is 30 seconds or
> something similar. You want this to run MORE often, not LESS often. Also,
> have a think about whether the system workload has changed in terms of
> writes. More users? Extra business? Someone changed the background tasks to
> do more writes?
>
> I will try and find my notes etc about this, but while I cannot guarantee
> that this is your issue, I would be willing to bet a pint on it. We would
> need to run some vmstat and related commands to put this together, but I
> bet if you ran that command at the same time as your script that measured
> above, that you will find that the delay corresponds to a massive spike in
> disk writes.
>
> BTW, your system is quite a bit out of date; AIX has been basically
> end-of-lifed and we are on AIX 7.1 now I think. I would recommend

Re: Jbase Response Delay

2023-04-19 Thread Jim Idle
3  11:47:56AM  11:48:39AM43
> 04/18/2023  11:53:33AM  11:54:16AM43
> 04/18/2023  11:59:28AM  12:00:12PM44
> 04/18/2023  12:05:13PM  12:05:54PM41
> 04/18/2023  12:11:03PM  12:11:39PM36
> 04/18/2023  12:16:53PM  12:17:34PM41
> 04/18/2023  12:22:34PM  12:23:17PM43
> 04/18/2023  12:28:34PM  12:29:16PM42
> 04/18/2023  12:34:05PM  12:34:48PM43
> 04/18/2023  12:39:50PM  12:40:34PM44
> 04/18/2023  12:45:43PM  12:46:26PM43
> 04/18/2023  12:51:26PM  12:52:09PM43
> 04/18/2023  12:57:05PM  12:57:49PM44
> 04/18/2023  01:02:33PM  01:03:16PM43
> 04/18/2023  01:08:26PM  01:09:09PM43
> 04/18/2023  01:14:22PM  01:15:05PM43
> 04/18/2023  01:19:58PM  01:20:42PM44
> 04/18/2023  01:25:42PM  01:26:27PM45
> 04/18/2023  01:31:41PM  01:32:25PM44
>
> My question is can I somehow determine if a background process is causing
> the hangs?  I do have Phantoms jobs in Jbase running; however, The code has
> not changed in years and no new Phantoms
> have been added.
>
> I have added more users on  the network over time, but removing the
> network as mentioned above was tested.  Unfortunately, I didn't write the
> tracking program until Monday, after the "removing the network" test.
> (I will say that the delays didn't appear to be as frequent with just me
> and the server test - I suppose I could test that this weekend...)
>
> I wish I could provide more information, but I don't know what else to
> test??
> Thanks,
> Al
>
>
> On Sat, Apr 15, 2023 at 11:42 AM Kannan Seshadri 
> wrote:
>
>> Hi,
>> Is it possible for you to execute whatever you are executing directly on
>> the AIX console with a telnet session?   This will clearly tell you whether
>> you have a network issue or not?
>>
>> Thanks and Regards
>>
>> On Sat, Apr 15, 2023 at 6:42 PM Bruce Decker 
>> wrote:
>>
>>> Is the delay between the login prompt and the password prompt?  As jimi
>>> asked, more details.
>>>
>>> Sent from my iPhone
>>>
>>> On Apr 15, 2023, at 8:45 AM, Jim Idle  wrote:
>>>
>>> 
>>> I think more details are needed Alan.
>>>
>>> What version of AIX are you running?
>>> Are you really using telnet and not ssh? Telnet is unlikely to be
>>> maintained.
>>> I assume that you have ruled out network configuration changes?
>>> Any upgrades to AIX lately?
>>> Any change to the network load? New devices?
>>>
>>> In the absence of any changes, then I would definitely be looking at
>>> network problems. When you say you tried with just one user, do you mean
>>> literally one device and the server only on the network? If there is a
>>> faulty system somewhere, or malware, then that would still eat your network
>>> Bandwidth.
>>>
>>> Finally, I presume you have done the obvious and rebooted the server and
>>> all the network gear? You’ll probably have to start from first principles
>>> with no devices on the network and gradually add them in.
>>>
>>> On Fri, Apr 14, 2023 at 21:12 Alan Metz  wrote:
>>>
>>>> All,
>>>>I have recently been experiencing sporadic response delays when
>>>> accessing Jbase, (version 5.6.0.2), from telnet sessions with all users in
>>>> my company. At first I thought it was a network issue; however, I have
>>>> tested this with only one user and the Jbase server plugged into a switch
>>>> and was able to duplicate the hesitation. I am not logging any errors on my
>>>> AIX server that would indicate a hardware issue. I am not sure how to
>>>> further trouble-shoot this issue and am asking for suggestions.  This
>>>> system has been rock solid since 2018.
>>>> Thanks,
>>>> Al
>>>>
>>>> --
>>>> --
>>>> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>>>>
>>>> To post, send email to jBASE@googlegroups.com
>>>> To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/jBASE?hl=en
>>>>
>>>> ---
>>>> You received this message because you are subscribed to the Google
>>>> Groups "jBASE" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to jbase+unsubscr...@googlegroups.com.
>>>> To view this discussion on the web visit
>>>> https://grou

Re: Jbase Response Delay

2023-04-15 Thread Jim Idle
I think more details are needed Alan.

What version of AIX are you running?
Are you really using telnet and not ssh? Telnet is unlikely to be
maintained.
I assume that you have ruled out network configuration changes?
Any upgrades to AIX lately?
Any change to the network load? New devices?

In the absence of any changes, then I would definitely be looking at
network problems. When you say you tried with just one user, do you mean
literally one device and the server only on the network? If there is a
faulty system somewhere, or malware, then that would still eat your network
Bandwidth.

Finally, I presume you have done the obvious and rebooted the server and
all the network gear? You’ll probably have to start from first principles
with no devices on the network and gradually add them in.

On Fri, Apr 14, 2023 at 21:12 Alan Metz  wrote:

> All,
>I have recently been experiencing sporadic response delays when
> accessing Jbase, (version 5.6.0.2), from telnet sessions with all users in
> my company. At first I thought it was a network issue; however, I have
> tested this with only one user and the Jbase server plugged into a switch
> and was able to duplicate the hesitation. I am not logging any errors on my
> AIX server that would indicate a hardware issue. I am not sure how to
> further trouble-shoot this issue and am asking for suggestions.  This
> system has been rock solid since 2018.
> Thanks,
> Al
>
> --
> --
> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>
> To post, send email to jBASE@googlegroups.com
> To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/jBASE?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "jBASE" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jbase+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jbase/CAPPLyKCej9SMfqOPoBnnQLSUVSDWMEsP-1CFsCgMSZya0yS0NQ%40mail.gmail.com
> 
> .
>

-- 
-- 
IMPORTANT: T24/Globus posts are no longer accepted on this forum.

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"jBASE" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jbase+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jbase/CAGPPfg_KxpM_KaKWMJFJUenJq7vhwYdQsB4-7LKKWz0dasggyQ%40mail.gmail.com.


Re: ERROR MESSAGE

2022-08-08 Thread Jim Idle
 I think it might be to do with UAC - I always turn that off - though I
have not been near Windows for many years.

However, for reasons that I cannot discern, previous advise has also been
to set:

 CLIENT_TNID=257f010030



In your remote.cmd

But I also saw:

CLIENT_TNID=257f010030

For jBASE 5.

On Aug 7, 2022 at 9:15:15 PM, Richard Kann  wrote:

> When I log on Jbase 5.5.1 (windows ver) I get the following message on one
> of my accounts:
>
> jBASE: CLIENT_TNID value is NULL or invalid
>
> I can't find that environmental variable in any of the docs. Anyone know
> what it is or how to check and set variables on an account?
> --
>
> *Richard Kann*
> [image: cwslogo]
>
> *Comp-Ware Systems, Inc.*
> phone: 800-494-7671
> email: rk...@comp-ware.net
> www.comp-ware.net
>
> --
> --
> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>
> To post, send email to jBASE@googlegroups.com
> To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/jBASE?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "jBASE" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jbase+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jbase/812042bb-d603-f894-1eee-03a7826d6e09%40COMP-WARE.NET
> 
> .
>

-- 
-- 
IMPORTANT: T24/Globus posts are no longer accepted on this forum.

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"jBASE" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jbase+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jbase/CAGPPfg_SkWtH6nuXhg9XwAPk9-FoXp6koQ6UqEZTd%2B59p3uqVA%40mail.gmail.com.


Re: Question about modifying core programs and memory reset after Compile

2022-07-14 Thread Jim Idle
 You cannot modify such programs, but everything in jBASE is an individual
binary program, so you can of course replace any command with your own
version. We did give away the source code for JED back in the day. I think
programs like that could be open sourced, but I am no longer in charge of
jBASE of course… if I ever was 

JIm

On Jul 13, 2022 at 10:52:56 PM, Greg Motter 
wrote:

> Thanks for that info. I think I've figured out what will work. I agree
> that this was more for development and would not want them changed in
> production immediately.
>
> Any insight into how to modify core programs like JED?
>
> Greg
>
> On Tuesday, July 12, 2022 at 5:35:30 PM UTC-6 ji...@temporal-wave.com
> wrote:
>
>> That should read “if your shell is jsh.."
>>
>> On Jul 13, 2022 at 7:33:45 AM, Jim Idle  wrote:
>>
>>> The answer to these question depends on which version of jBASE you are
>>> using. Newer versions have a different mode of compiling, triggered by:
>>>
>>>  export JELF=1
>>>
>>> In your login profile.
>>>
>>> Your subroutines and programs are compiled to machine code and built in
>>> to a shared library. If your shell is ssh, and you have called the
>>> subroutine once, then the shared library will already be attached to the
>>> shell and you need to exit it and come back in. It isn’t because of JED,
>>> and the source code won’t help you. It is just your usage pattern changes.
>>>
>>> Nobody should be compiling and cataloging in to a live system, but
>>> people do, and there are techniques to mitigate for this scenario, but it
>>> can be a pain when developing. JELF mode overcomes this, thanks to more
>>> modern systems having better capabilities in this regard. It also carries
>>> the source code (optionally encrypted) that was used to compile the program
>>> - because many MV shops do not use much in the way of version control etc.
>>>
>>> As a developer, the best way to get around this is to not use jsh as
>>> your login shell. Use zsh and the oh-my-zsh plugin. If you need jsh to run
>>> process etc, then you can start it at the command line, do whatever, then
>>> just exit with ^d. It is just getting used to a slightly different
>>> lifecycle. Again, this should not be needed in JELF mode.
>>>
>>> However, you have not said whether you are on Windows or Linux. If
>>> Windows, then learn powershell. When submitting questions, always include
>>> the output of the jdiag command.
>>>
>>> yum install zsh
>>>
>>> https://github.com/ohmyzsh/ohmyzsh
>>>
>>> Your development experience is much better using a system shell, but be
>>> prepared for a few days adjustment. Trying to use an MV shell frustrates
>>> the heck out of me.
>>>
>>> Jim
>>>
>>>
>>> On Jul 13, 2022 at 4:27:58 AM, Greg Motter  wrote:
>>>
>>>> Hi all, Couple of quick questions from someone new to jBase. I have
>>>> quite a few years of experience on Universe, but not much on jBase and have
>>>> a couple questions.
>>>>
>>>> 1) Is it possible to change the core system programs like it is on
>>>> Universe. For example can JED be modified to add some custom security? If
>>>> so which File/Table is that?
>>>>
>>>> 2) If I can see the JED code, I'll likely get my answer to this. But
>>>> why is it when I do a FIBC within JED does it seem to reset the memory and
>>>> use the new version, but if I simply BASIC and CATALOG a program I need to
>>>> log out and back in? What would I need to do to avoid the log out and back
>>>> in?
>>>>
>>>> Have already learned much browsing the backlog of posts here. Thanks
>>>> much.
>>>>
>>>> --
>>>> --
>>>> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>>>>
>>>> To post, send email to jb...@googlegroups.com
>>>> To unsubscribe, send email to jbase-un...@googlegroups.com
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/jBASE?hl=en
>>>>
>>>> ---
>>>> You received this message because you are subscribed to the Google
>>>> Groups "jBASE" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to jbase+un...@googlegroups.com.
>>>> To view this discussion on the web visit
>>>> htt

Re: Question about modifying core programs and memory reset after Compile

2022-07-12 Thread Jim Idle
 That should read “if your shell is jsh.."

On Jul 13, 2022 at 7:33:45 AM, Jim Idle  wrote:

> The answer to these question depends on which version of jBASE you are
> using. Newer versions have a different mode of compiling, triggered by:
>
>  export JELF=1
>
> In your login profile.
>
> Your subroutines and programs are compiled to machine code and built in to
> a shared library. If your shell is ssh, and you have called the subroutine
> once, then the shared library will already be attached to the shell and you
> need to exit it and come back in. It isn’t because of JED, and the source
> code won’t help you. It is just your usage pattern changes.
>
> Nobody should be compiling and cataloging in to a live system, but people
> do, and there are techniques to mitigate for this scenario, but it can be a
> pain when developing. JELF mode overcomes this, thanks to more modern
> systems having better capabilities in this regard. It also carries the
> source code (optionally encrypted) that was used to compile the program -
> because many MV shops do not use much in the way of version control etc.
>
> As a developer, the best way to get around this is to not use jsh as your
> login shell. Use zsh and the oh-my-zsh plugin. If you need jsh to run
> process etc, then you can start it at the command line, do whatever, then
> just exit with ^d. It is just getting used to a slightly different
> lifecycle. Again, this should not be needed in JELF mode.
>
> However, you have not said whether you are on Windows or Linux. If
> Windows, then learn powershell. When submitting questions, always include
> the output of the jdiag command.
>
> yum install zsh
>
> https://github.com/ohmyzsh/ohmyzsh
>
> Your development experience is much better using a system shell, but be
> prepared for a few days adjustment. Trying to use an MV shell frustrates
> the heck out of me.
>
> Jim
>
>
> On Jul 13, 2022 at 4:27:58 AM, Greg Motter 
> wrote:
>
>> Hi all, Couple of quick questions from someone new to jBase. I have quite
>> a few years of experience on Universe, but not much on jBase and have a
>> couple questions.
>>
>> 1) Is it possible to change the core system programs like it is on
>> Universe. For example can JED be modified to add some custom security? If
>> so which File/Table is that?
>>
>> 2) If I can see the JED code, I'll likely get my answer to this. But why
>> is it when I do a FIBC within JED does it seem to reset the memory and use
>> the new version, but if I simply BASIC and CATALOG a program I need to log
>> out and back in? What would I need to do to avoid the log out and back in?
>>
>> Have already learned much browsing the backlog of posts here. Thanks much.
>>
>> --
>> --
>> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>>
>> To post, send email to jBASE@googlegroups.com
>> To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/jBASE?hl=en
>>
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "jBASE" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to jbase+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/jbase/5f0a13f1-5102-4531-91d4-343418fc551an%40googlegroups.com
>> <https://groups.google.com/d/msgid/jbase/5f0a13f1-5102-4531-91d4-343418fc551an%40googlegroups.com?utm_medium=email_source=footer>
>> .
>>
>

-- 
-- 
IMPORTANT: T24/Globus posts are no longer accepted on this forum.

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"jBASE" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jbase+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jbase/CAGPPfg8uKft1Frpy7vJ%3DPvFUGxqT4V14_C0Pns7qNpCagP3%2Byg%40mail.gmail.com.


Re: Question about modifying core programs and memory reset after Compile

2022-07-12 Thread Jim Idle
 The answer to these question depends on which version of jBASE you are
using. Newer versions have a different mode of compiling, triggered by:

 export JELF=1

In your login profile.

Your subroutines and programs are compiled to machine code and built in to
a shared library. If your shell is ssh, and you have called the subroutine
once, then the shared library will already be attached to the shell and you
need to exit it and come back in. It isn’t because of JED, and the source
code won’t help you. It is just your usage pattern changes.

Nobody should be compiling and cataloging in to a live system, but people
do, and there are techniques to mitigate for this scenario, but it can be a
pain when developing. JELF mode overcomes this, thanks to more modern
systems having better capabilities in this regard. It also carries the
source code (optionally encrypted) that was used to compile the program -
because many MV shops do not use much in the way of version control etc.

As a developer, the best way to get around this is to not use jsh as your
login shell. Use zsh and the oh-my-zsh plugin. If you need jsh to run
process etc, then you can start it at the command line, do whatever, then
just exit with ^d. It is just getting used to a slightly different
lifecycle. Again, this should not be needed in JELF mode.

However, you have not said whether you are on Windows or Linux. If Windows,
then learn powershell. When submitting questions, always include the output
of the jdiag command.

yum install zsh

https://github.com/ohmyzsh/ohmyzsh

Your development experience is much better using a system shell, but be
prepared for a few days adjustment. Trying to use an MV shell frustrates
the heck out of me.

Jim


On Jul 13, 2022 at 4:27:58 AM, Greg Motter 
wrote:

> Hi all, Couple of quick questions from someone new to jBase. I have quite
> a few years of experience on Universe, but not much on jBase and have a
> couple questions.
>
> 1) Is it possible to change the core system programs like it is on
> Universe. For example can JED be modified to add some custom security? If
> so which File/Table is that?
>
> 2) If I can see the JED code, I'll likely get my answer to this. But why
> is it when I do a FIBC within JED does it seem to reset the memory and use
> the new version, but if I simply BASIC and CATALOG a program I need to log
> out and back in? What would I need to do to avoid the log out and back in?
>
> Have already learned much browsing the backlog of posts here. Thanks much.
>
> --
> --
> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>
> To post, send email to jBASE@googlegroups.com
> To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/jBASE?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "jBASE" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jbase+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jbase/5f0a13f1-5102-4531-91d4-343418fc551an%40googlegroups.com
> 
> .
>

-- 
-- 
IMPORTANT: T24/Globus posts are no longer accepted on this forum.

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"jBASE" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jbase+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jbase/CAGPPfg-aRKyGk0DifNUW4Bf7PrtBCen%3DAf%2BNZcfe2Y0PJfF_4Q%40mail.gmail.com.


Re: CUBS 5.2 JBase Extract

2022-05-26 Thread Jim Idle
 Do you have anything to add Jeremy? I am happy to help you here.

Jim

On May 24, 2022 at 1:38:51 PM, Jim Idle  wrote:

> Well, it might not be as easy as that. Finding the files/tables is easy
> enough and selecting all the records in all the tables isn't difficult.
> But, assuming you want say a CSV file, you have (at least) the following
> issues:
>
>- It is unlikely that CUBS documented each attribute in their files so
>that customers can even accurately name them. There are probably fields
>that are just used internally for instance;
>- Many fields will have multiple values - internally jBASE does not
>use flat files;
>- Reports probably calculate at least some of the fields;
>- Reports will format the fields for output from their raw internal
>values;
>- Many more issues;
>
> You are asking to export the entire database, which seems unlikely to be
> useful.
>
> I feel you are asking for an answer to the wrong question, having decided
> on your answer to a different question.
>
> Could you take a step back and state what you are trying to achieve? Then
> we can help you get to that point.
>
> Jim
>
>
> On Wed, May 18, 2022 at 2:32 AM Jeremy Mapes 
> wrote:
>
>> Hello,
>>
>> I've got a client that I need to do an extract of their CUBS (TCS) debt
>> collection database that is setting on a Windows Jbase 5.2 platform.  The
>> shop has NO knowledge of how to run a report off their system let alone
>> extract the database.
>>
>> I'd like to hire someone or if someone could tell me the commands to:
>> 1.  Command to find all the tables in the database.
>> 2.  Command to select all records (and all fields) for each table.
>> 3.  Command to export the data from each table to a flat file on the
>> windows server.
>>
>> Willing to pay...
>>
>> Thanks,
>>
>> Please respond:
>> Jeremy Mapes
>> 407-901-4077
>>
>> --
>> --
>> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>>
>> To post, send email to jBASE@googlegroups.com
>> To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/jBASE?hl=en
>>
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "jBASE" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to jbase+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/jbase/d190ecee-b73c-475c-a9a6-27c01cd0e464n%40googlegroups.com
>> <https://groups.google.com/d/msgid/jbase/d190ecee-b73c-475c-a9a6-27c01cd0e464n%40googlegroups.com?utm_medium=email_source=footer>
>> .
>>
>

-- 
-- 
IMPORTANT: T24/Globus posts are no longer accepted on this forum.

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"jBASE" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jbase+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jbase/CAGPPfg-g85Cm1QQQ_yTAEJkAY2k%3DMT3nTFo_R39GdJp052W-CQ%40mail.gmail.com.


Re: CUBS 5.2 JBase Extract

2022-05-23 Thread Jim Idle
Well, it might not be as easy as that. Finding the files/tables is easy
enough and selecting all the records in all the tables isn't difficult.
But, assuming you want say a CSV file, you have (at least) the following
issues:

   - It is unlikely that CUBS documented each attribute in their files so
   that customers can even accurately name them. There are probably fields
   that are just used internally for instance;
   - Many fields will have multiple values - internally jBASE does not use
   flat files;
   - Reports probably calculate at least some of the fields;
   - Reports will format the fields for output from their raw internal
   values;
   - Many more issues;

You are asking to export the entire database, which seems unlikely to be
useful.

I feel you are asking for an answer to the wrong question, having decided
on your answer to a different question.

Could you take a step back and state what you are trying to achieve? Then
we can help you get to that point.

Jim


On Wed, May 18, 2022 at 2:32 AM Jeremy Mapes 
wrote:

> Hello,
>
> I've got a client that I need to do an extract of their CUBS (TCS) debt
> collection database that is setting on a Windows Jbase 5.2 platform.  The
> shop has NO knowledge of how to run a report off their system let alone
> extract the database.
>
> I'd like to hire someone or if someone could tell me the commands to:
> 1.  Command to find all the tables in the database.
> 2.  Command to select all records (and all fields) for each table.
> 3.  Command to export the data from each table to a flat file on the
> windows server.
>
> Willing to pay...
>
> Thanks,
>
> Please respond:
> Jeremy Mapes
> 407-901-4077
>
> --
> --
> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>
> To post, send email to jBASE@googlegroups.com
> To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/jBASE?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "jBASE" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jbase+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jbase/d190ecee-b73c-475c-a9a6-27c01cd0e464n%40googlegroups.com
> 
> .
>

-- 
-- 
IMPORTANT: T24/Globus posts are no longer accepted on this forum.

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"jBASE" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jbase+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jbase/CAGPPfg-JA5fkyYaRPz%2BtmUnYwvKGUsnZsOW%2B7LLHFAkGLxwwEA%40mail.gmail.com.


Re: email from jbase

2022-04-15 Thread Jim Idle
I believe you can still use app passwords. But perhaps cloud authorization
may work.

https://support.google.com/accounts/answer/6010255?hl=en


On Fri, Apr 15, 2022 at 21:10 Richard Kann  wrote:

> I am using blat and stunnel to send emails via jbase executes. As of
> 05/30/22 gmail will require more secure sending and the blat/stunnel combo
> does not seem to like app specific passwords in order for it to work. Is
> anyone familiar with this or is there another command-line email tool that
> will work with the new app specific passwords?
> --
>
> *Richard Kann*
> [image: cwslogo]
>
> *Comp-Ware Systems, Inc.*
> phone: 800-494-7671
> email: rk...@comp-ware.net
> www.comp-ware.net
>
> --
> --
> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>
> To post, send email to jBASE@googlegroups.com
> To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/jBASE?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "jBASE" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jbase+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jbase/57e5b626-1bf9-4d07-493a-fe1d462f81f7%40COMP-WARE.NET
> 
> .
>

-- 
-- 
IMPORTANT: T24/Globus posts are no longer accepted on this forum.

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"jBASE" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jbase+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jbase/CAGPPfg_a9tkJ89q2odFEF8M%3Da9Ye-Tt3QVwSzNPVjj%3DhcXZUaw%40mail.gmail.com.


Re: Server name

2022-01-19 Thread Jim Idle
Could you not set a variable at startup time that tracks that?

There is @USER1 that you could assign it to - though I don't remember if
that would persist across paragraphs. The command line uname -n will give
you the DNS server name.

But maybe step back and tell us why you think this is what you need to do.
What are you actually trying to achieve? Do you definitely need to do this
in paragraphs? Etc.

Jim

On Thu, Jan 20, 2022 at 11:03 AM JOSE LUIS MARTINEZ-AVIAL GONZALEZ-CELA <
jlm...@gmail.com> wrote:

> Hello,
>   In jbase is there a common variable (like @WHO) that returns the server
> name? I want to create a paragraph that behaves differently if called on
> one server or another, but I need a simple way of retrieving the server
> name for that.
>
> Thanks
>
> JL
>
> Sent from my iPhone
>
> --
> --
> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>
> To post, send email to jBASE@googlegroups.com
> To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/jBASE?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "jBASE" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jbase+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jbase/6DCB57C2-587A-4F64-85B9-9401DEBBB275%40gmail.com
> .
>

-- 
-- 
IMPORTANT: T24/Globus posts are no longer accepted on this forum.

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"jBASE" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jbase+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jbase/CAGPPfg_B1nYO%2BQYNr9qBC0PgqEQZ7ukkbuQDwDazFrDJ9J98Aw%40mail.gmail.com.


Re: callj

2021-09-27 Thread Jim Idle
I see - yes, CALLJ was just meant to be a simple way to call simple
methods, so it won't do anything too sophisticated. You can of course
create a different class that calls the library and returns UUID as a
string, but if you were just trying to get an example going, then the
example page should do that for you :)

On Tue, Sep 28, 2021 at 6:43 AM Stuart Boydell <
s.boyd...@paperlesswarehousing.com.au> wrote:

> Thanks Jim, I just wanted to get a simple callj example working. I was
> looking at invoking a library for another application.
> Apparently the return value needs to be a string so it won't work for the
> application. Cheers
>
> Stuart Boydell​
> Analyst/Programmer
> Paperless Warehousing
> *+61 (2) 9795-2900* <+61%20(2)%209795-2900>
> Unit C9, 391 Park Road, Regents Park, NSW, 2143
> Discover why we're Australia's leading warehouse and logistics company
> [image: LinkedIn]
> <https://www.linkedin.com/company/paperless-warehousing-pty-ltd/?originalSubdomain=au>
> [image: Facebook]
> <https://www.facebook.com/pwarehousing/?modal=suggested_action_id=1535351796744592_t=page_user_activity>
> [image: YouTube]
> <https://www.youtube.com/channel/UC9p3d69_zrNS8kF2FA8SZAA?view_as=subscriber>
>  Consider the environment. Do you really need to print this email?
> Please consider the environment before printing this email. The
> information transmitted, including attachments, is intended only for the
> person(s) or entity to which it is addressed. If you receive this email in
> error please advise by return mail. You should not copy, use or disclose
> this email or its contents. Information may be subject to change without
> notice. See our privacy policy  *here*
> <https://www.paperlesswarehousing.com.au/privacy-policy>.
>
> --
> *From:* jbase@googlegroups.com  on behalf of Jim
> Idle 
> *Sent:* Monday, September 27, 2021 3:01:07 PM
> *To:* jBASE 
> *Subject:* Re: callj
>
> A bit overkill to call Java for a UUID - but I suspect that you have not
> declared an explicit constructor for the class, which leaves the default
> one generated by the compiler, which is not very accessible - add an
> explicit constructor.
>
> If on Linux, you can just use EXECUTE:
>
>
> https://www.digitalocean.com/community/tutorials/workflow-command-line-basics-generating-uuids
> <https://aus01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.digitalocean.com%2Fcommunity%2Ftutorials%2Fworkflow-command-line-basics-generating-uuids=04%7C01%7Cs.boydell%40paperlesswarehousing.com.au%7C8fc754e6efd7462eb79408d98173dc76%7Cb0cef45e871d4d7e99335cb5619ef629%7C0%7C0%7C637683156893087973%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000=9e%2FojPpNWqK0QZMuRzOO4Sdtz68pMhkAe%2BYbJmoSDb4%3D=0>
>
> Jim
>
> On Fri, Sep 24, 2021 at 11:25 PM StuartB <
> s.boyd...@paperlesswarehousing.com.au> wrote:
>
> Can someone point me in the right direction. I'm attempting to get a uuid
> using the java util class. I've tried a few different permutations. Just
> keep getting system(0) = 6 "Cannot find object constructor".
>
> p = null
> CALLJ "java.util.UUID","$randomUUID",p SETTING ret
> CRT "out: ":SYSTEM(0), ret
>
> out: 6  32768
>
> --
> --
> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>
> To post, send email to jBASE@googlegroups.com
> To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/jBASE?hl=en
> <https://aus01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgroups.google.com%2Fgroup%2FjBASE%3Fhl%3Den=04%7C01%7Cs.boydell%40paperlesswarehousing.com.au%7C8fc754e6efd7462eb79408d98173dc76%7Cb0cef45e871d4d7e99335cb5619ef629%7C0%7C0%7C637683156893087973%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000=bIhhhSoeekUUzgIz%2BeO6fhKsYV7qNrK%2BQ5zJZLxnLrM%3D=0>
>
> ---
> You received this message because you are subscribed to the Google Groups
> "jBASE" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jbase+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jbase/8d646f77-755e-4f86-853c-8faeb97f0a83n%40googlegroups.com
> <https://aus01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fd%2Fmsgid%2Fjbase%2F8d646f77-755e-4f86-853c-8faeb97f0a83n%2540googlegroups.com%3Futm_medium%3Demail%26utm_source%3Dfooter=04%7C01%7Cs.boydell%40paperlesswarehousing.com.au%7C8fc754e6efd7462eb79408d98173dc76%7Cb0cef45e871d4d7e99335cb5619ef629%7C0%7C0%7C637683156893097926%7CUnknown%7CTWFpbGZsb3d

Re: callj

2021-09-26 Thread Jim Idle
A bit overkill to call Java for a UUID - but I suspect that you have not
declared an explicit constructor for the class, which leaves the default
one generated by the compiler, which is not very accessible - add an
explicit constructor.

If on Linux, you can just use EXECUTE:

https://www.digitalocean.com/community/tutorials/workflow-command-line-basics-generating-uuids

Jim

On Fri, Sep 24, 2021 at 11:25 PM StuartB <
s.boyd...@paperlesswarehousing.com.au> wrote:

> Can someone point me in the right direction. I'm attempting to get a uuid
> using the java util class. I've tried a few different permutations. Just
> keep getting system(0) = 6 "Cannot find object constructor".
>
> p = null
> CALLJ "java.util.UUID","$randomUUID",p SETTING ret
> CRT "out: ":SYSTEM(0), ret
>
> out: 6  32768
>
> --
> --
> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>
> To post, send email to jBASE@googlegroups.com
> To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/jBASE?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "jBASE" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jbase+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jbase/8d646f77-755e-4f86-853c-8faeb97f0a83n%40googlegroups.com
> 
> .
>

-- 
-- 
IMPORTANT: T24/Globus posts are no longer accepted on this forum.

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"jBASE" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jbase+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jbase/CAGPPfg90eS5S%2BwjwhV5whmaH-8xiUz%3DuuLDpNBCH3uEw_OytbQ%40mail.gmail.com.


Re: Compilation error 1811

2021-08-10 Thread Jim Idle
It's definitely a compiler compatibility issue. I can only guess that one
machine was upgraded and the other wasn't. IF using the .net version of the
compiler, then upgrading that system is part of the system upgrades (I
think - I have not used Windows for years, and not that particular version
for a very long time.

So, while you might be able to copy the bin and lib directories, the
runtime system installed on the one machine isn't compatible, so it is
linked to libraries that will not be present on the other machine.

Definitely the best way forward is to upgrade everything - there comes a
time where hanging on to what you've paid for many years ago becomes
impractical. Ignoring whether jBASE can be put back together on that
system, just go and count the system security updates that have been issued
in the intervening years. It isn't sensible to keep using it.

So, for now, here is how I would put that back together, given that one
system is working:

Look at what is installed version wise on the working system - .Net runtime
version especially
Install that version of .Net runtime/development system on the system that
stopped working - the thing is though that things like the .Net runtime
version are also fundamental to the system - it may not be possible to
downgrade without a complicated procedure/
Look at the install/upgrade history on the system that isn't working and
see what went wrong - things like this don't just happen - something was
changed

Then, honestly, pay a few support $$, get off Windows and on to Amazon
Linux on AWS - the advantages are too many to enumerate.



On Wed, Aug 11, 2021 at 4:18 AM Mark Hogden  wrote:

> It may be a .net framework issue check for which versions are installed on
> both boxes, and reinstall on the problem box.
> Maybe I’m missing something, but if you have good bin and libs on the
> second machine why can’t you use copies of them on the problem box. If you
> can’t blow away the existing bin and lib you can set JBCOBJECTLIST, and
> PATH etc to look for the imported ones.
>
>
> On Aug 10, 2021, at 12:25, Marc  wrote:
>
> 
> Agree completely but what can I do short-term to get running???
>
> For my own edification, why does the code compile and run on another
> installation, same age hardware and compiler, and not on this one?  What is
> causing the subroutine call failure?
>
> Thanks again for the assistance.
> Marc
>
> On Tuesday, August 10, 2021 at 2:11:23 PM UTC-4 mvr...@zumasys.com wrote:
>
>> Mark,
>>
>> > What next?
>>
>> Not only is the platform on which you are running this deprecated, but so
>> is the compiler.
>>
>>
>>
>> If the program will compile and catalog on another system without any
>> errors, that should also be an indication that there is a problem with this
>> particular system.
>>
>>
>>
>> The best solution is to invest in some jBASE Support dollars so that you
>> can upgrade to a new jBASE version on a new or newer Windows platform,
>> running a current C++ compiler version.
>>
>>
>>
>> Mike
>>
>>
>>
>> *From:* jb...@googlegroups.com  *On Behalf Of *
>> Marc
>> *Sent:* 10 August 2021 18:31
>> *To:* jBASE 
>> *Subject:* Re: Compilation error 1811
>>
>>
>>
>> Update:
>>
>>
>>
>> Moved the programs to another server and recompiled and cataloged.  NO
>> error messages.  Moved the files back to the first machine.  Still get a
>> SUBROUTINE_CALL_FAILURE error when running any program with a CALL function
>> even though no LINK error when cataloging.  Checked JBCOBJECTLIST and entry
>> points to my LIB file.  Checked to be sure LIB file is in PATH.  Out of
>> ideas!!  What next?
>>
>>
>>
>> On Monday, August 9, 2021 at 10:17:23 PM UTC-4 Marc wrote:
>>
>> Sorry to be short on the info I posted...I was hoping the error message
>> would be enough to suggest a fix.
>>
>> I have been running jBase 5.2 on a Windows Server 2008 Foundation R2 for
>> a number of years without incident.  I frequently modify and recompile
>> programs with no issues...until yesterday!
>>
>> I haven't restored anything yet, not wanting to make the situation
>> worse.  I have daily Windows backups to work from if necessary.
>>
>>
>>
>> As you suggested, I recompiled and recataloged all 472 programs in that
>> .bp file.  All of them recompiled and cataloged successfully but 52 failed,
>> I assume at the link stage with the following error message.
>>
>> Source file CASH.ENTRY165 compiled successfully
>>
>> CASH.ENTRY165
>> Object CASH.ENTRY165 cataloged successfully
>> link @C:\Windows\TEMP\jbuild2 >C:\Windows\TEMP\jbuild3 failed , command
>> returned
>>  a code of 1181
>> LINK : warning LNK4044: unrecognized option '/DWIN32'; ignored
>> LINK : warning LNK4044: unrecognized option '/MD'; ignored
>> LINK : warning LNK4044: unrecognized option '/W3'; ignored
>> LINK : warning LNK4044: unrecognized option '/GR'; ignored
>> LINK : warning LNK4044: unrecognized option '/EHa'; ignored
>> LINK : warning LNK4044: unrecognized option '/GF'; ignored
>> LINK : warning LNK4044: 

Re: Compilation error 1811

2021-08-08 Thread Jim Idle
It is a little tough to answer your question - you did not provide very
much information. So I will have to guess at a few things:

1) You say Lib/objdir, so I have to guess you mean Windows? But what
version?
2) I think error 1811 is likely a linker error - but you did not show us
the actual error.
3) What version of Windows, if it is Windows?
4) What version of the compiler?
5) What version of jBASE?
6) What did you restore? An entire backup? Part of the system? Was the
backup compiled using the same version of Windows and the compiler?
7) What kind of backup?
8) Which object code does it say is missing? You should be able to work out
the source code that is not compiled from that.

But, in general you can recompile everything and recatalog everything, so
long as you have the source code. If you have changed compilers or systems
since that backup, it is generally a good idea to recompile and recatalog.
And not when the system is live of course. Maybe clear out all the old
objects beforehand, though in theory that should not be required.

If you have good backups, then you can try anything as you can always go
back to the backup. But I would start by clearing out the object code you
restored and doing a BASIC and CATALOG on all the files - that should clear
everything up.

Have you considered moving to Linux? The difference is quite big these
days. You can also run it on AWS Linux in the cloud - there is no really
good reason not to these days.

Jim


On Mon, Aug 9, 2021 at 7:36 AM Marc  wrote:

> Help!!?
>
> After cataloging a revised program I get a error message that first, tells
> me that the program was catalogued successfully, then fails to rebuild the
> library saying that an object file can't be found.  Sure enough, it is in
> an old backup file but not in the current Lib\objdir directory.
>
> 1) what the heck happened?
> 2) can I copy the old file to the correct directory and recompile or do I
> risk completely messing things up?
>
> All help will be appreciated as I'm unable to process a large inventory
> file without the updated program
>
> --
> --
> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>
> To post, send email to jBASE@googlegroups.com
> To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/jBASE?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "jBASE" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jbase+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jbase/e32ef0cf-dd4b-476d-9fc4-dc13fe6ea949n%40googlegroups.com
> 
> .
>

-- 
-- 
IMPORTANT: T24/Globus posts are no longer accepted on this forum.

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"jBASE" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jbase+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jbase/CAGPPfg8mbnsAvhtTOBEbvRdAYLq2vtD4u%2Bxe0CCNmVQpHS9o4g%40mail.gmail.com.


Re: Docker Containers with MongoDB Driver

2021-07-12 Thread Jim Idle
A bloke had a database storage problem. "I know, I will use Mongodb!". Now
he had two problems.  ;)


On Sat, Jul 10, 2021 at 9:01 PM Mvreply  wrote:

> John,
>
> The Mongo jEDI is now built into jBASE and it is no longer necessary to
> use the driver.
>
>
>
> There is a Mongo jEDI Quick Start on the Zumasys “docs” site which
> reflects that.
>
>
>
> If you need further assistance on this, please submit a ticket to
> supp...@zumasys.com
>
>
>
> Mike
>
>
>
> *From:* jbase@googlegroups.com  *On Behalf Of *John
> Weis
> *Sent:* 09 July 2021 21:54
> *To:* jBASE 
> *Subject:* Docker Containers with MongoDB Driver
>
>
>
> I was trying to follow the YouTube tutorial
> 
> for the MongoDB driver, and it looks like the Docker image Patrick Payne
> uses (zumasys/jbase_mongo) is no longer on Docker Hub as of 8 July. The
> *latest* images don't seem to have the Mongo jEDI driver installed, since
> when I try to create a file with "type=mongo" (from the quick start
> documentation
> )
> I get "Illegal file operation command passed to jedi". I tried both the
> CentOS and Ubuntu tags.
>
>
>
> Am I missing the way to install or set up the driver within the image? I
> looked under $JBCRELEASEDIR/src and didn't see a jEDI example for it. The 
> driver
> installation documentation
> 
> for Linux does not seem to be written, yet.
>
>
>
> Cheers,
>
>
>
> John
>
> --
> --
> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>
> To post, send email to jBASE@googlegroups.com
> To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/jBASE?hl=en
> 
>
> ---
> You received this message because you are subscribed to the Google Groups
> "jBASE" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jbase+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jbase/3604ac99-a34a-4873-a0ee-c4af4fa0e4f5n%40googlegroups.com
> 
> .
>
> --
> --
> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>
> To post, send email to jBASE@googlegroups.com
> To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/jBASE?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "jBASE" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jbase+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jbase/CO6PR18MB4483125ED6DF23EBA7440FF9B3179%40CO6PR18MB4483.namprd18.prod.outlook.com
> 

Re: How to see records locked by a port in Jbase

2021-07-04 Thread Jim Idle
I should think that T24 keeps that information somewhere outside the
locking system. There is, or was, an F.LOCKED file for instance. It also
seems that perhaps T24 is too granular (or maybe it has to lock the whole
account). So, you will find out that a port/user has a lock taken, but the
Fund Transfer ID is a different record to the account record I presume? If
the account being locked prevents any other account processing, then maybe
that fund transfer isn't even locked?

I think that you are better asking T24 support for sure as I bet that there
are application routines that you can call to find this out.

However, a more philosophical question is "Why do you need to know this?" -
if the account is locked, then you either wait for it not to be, or you do
not. I am not sure why knowing the funds transfer that someone else is
working on benefits anyone? However, I do not know what your code is doing
or who is to use it of course, so maybe it is useful information. HOnestly
though, I would just use SHOW-ITEM-LOCKS and parse the output. I believe it
has a -m option for machine output, expressly for this purpose.

Jim



On Fri, Jul 2, 2021 at 6:29 AM JOSE L MARTINEZ-AVIAL 
wrote:

> Hello Jim,
>   Yep, you are correct. We are using T24 over TAFC. We have some programs
> that create Funds Transfer, but before creating them the program makes sure
> nobody is locking one particular account by doing a READU over the account.
> If the account is locked we do a sleep for a few seconds and try again,
> until we reach a limit and desist, or the account is unlocked. We are able
> to pinpoint the port and user that is locking the account, but not the
> Funds Transfer ID he/she is processing at that moment. We can check it by
> doing the show-item-locks, but we are looking for a way to do it
> programmatically so we can retrieve the FT record involved in the lock.
>
> JL
>
> El mar, 22 jun 2021 a las 5:45, Jim Idle () escribió:
>
>> It sounds very likely to me that you will get more useful answers if you
>> tell us what you are trying to achieve, rather than how to do something.
>>
>> For instance, why do you need to get the information programmatically?
>> What do you intend to do with the information? Are you trying to track down
>> some application issue?
>>
>> Perhaps there are better ways to do what you are trying to do.
>>
>> On Mon, Jun 21, 2021 at 11:42 PM JOSE L MARTINEZ-AVIAL 
>> wrote:
>>
>>> Hello all,
>>>   thanks for the feedback. Actually what I meant was to ask how we can
>>> programmatically get the list of items that are locked. I know we can use
>>> show-item-locks from the command line, but I want to be able to do it
>>> programmatically.
>>>
>>> Thanks
>>>
>>> JL
>>>
>>> El vie, 18 jun 2021 a las 16:41, Robert Burke ()
>>> escribió:
>>>
>>>> Hi Jose,
>>>>
>>>> You can view jBASE record locks by using the list-item-locks command.
>>>> You can also view the lock table held by the jBASE distributed lock service
>>>> by using the jdls -dvL command.
>>>>
>>>> Thanks,
>>>> Robert Burke
>>>>
>>>> On Tuesday, June 15, 2021 at 10:41:12 AM UTC-7 Jose L wrote:
>>>>
>>>>> Hello,
>>>>>Is there anyway I can get a list of tables/records locked by a port
>>>>> in Jbase?
>>>>>
>>>>> thank you
>>>>>
>>>>> JL
>>>>>
>>>> --
>>>> --
>>>> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>>>>
>>>> To post, send email to jBASE@googlegroups.com
>>>> To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
>>>> For more options, visit this group at
>>>> http://groups.google.com/group/jBASE?hl=en
>>>>
>>>> ---
>>>> You received this message because you are subscribed to the Google
>>>> Groups "jBASE" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to jbase+unsubscr...@googlegroups.com.
>>>> To view this discussion on the web visit
>>>> https://groups.google.com/d/msgid/jbase/28d770a6-5b09-4e19-a2f8-a907dca33a64n%40googlegroups.com
>>>> <https://groups.google.com/d/msgid/jbase/28d770a6-5b09-4e19-a2f8-a907dca33a64n%40googlegroups.com?utm_medium=email_source=footer>
>>>> .
>>>>
>>> --
>>> --
>>> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>>>
>>> To po

Re: How to see records locked by a port in Jbase

2021-06-21 Thread Jim Idle
It sounds very likely to me that you will get more useful answers if you
tell us what you are trying to achieve, rather than how to do something.

For instance, why do you need to get the information programmatically? What
do you intend to do with the information? Are you trying to track down some
application issue?

Perhaps there are better ways to do what you are trying to do.

On Mon, Jun 21, 2021 at 11:42 PM JOSE L MARTINEZ-AVIAL 
wrote:

> Hello all,
>   thanks for the feedback. Actually what I meant was to ask how we can
> programmatically get the list of items that are locked. I know we can use
> show-item-locks from the command line, but I want to be able to do it
> programmatically.
>
> Thanks
>
> JL
>
> El vie, 18 jun 2021 a las 16:41, Robert Burke ()
> escribió:
>
>> Hi Jose,
>>
>> You can view jBASE record locks by using the list-item-locks command. You
>> can also view the lock table held by the jBASE distributed lock service by
>> using the jdls -dvL command.
>>
>> Thanks,
>> Robert Burke
>>
>> On Tuesday, June 15, 2021 at 10:41:12 AM UTC-7 Jose L wrote:
>>
>>> Hello,
>>>Is there anyway I can get a list of tables/records locked by a port
>>> in Jbase?
>>>
>>> thank you
>>>
>>> JL
>>>
>> --
>> --
>> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>>
>> To post, send email to jBASE@googlegroups.com
>> To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/jBASE?hl=en
>>
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "jBASE" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to jbase+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/jbase/28d770a6-5b09-4e19-a2f8-a907dca33a64n%40googlegroups.com
>> 
>> .
>>
> --
> --
> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>
> To post, send email to jBASE@googlegroups.com
> To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/jBASE?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "jBASE" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jbase+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jbase/CAHB4ARvcToh8mUCRzEg1N8YW7WdP-VJ6dFK1ovwYm4stvxq6vw%40mail.gmail.com
> 
> .
>

-- 
-- 
IMPORTANT: T24/Globus posts are no longer accepted on this forum.

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"jBASE" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jbase+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jbase/CAGPPfg-2aBadLA9mDsHCyWxt95M%3DNikv8XXUzp6cFKh4XeT%3DBQ%40mail.gmail.com.


Re: Quiesce database for storage snap backup

2021-06-20 Thread Jim Idle
They are not using transaction boundaries? Physical snapshots won't help
you with logical database consistency. On a side note, if using NetApp, why
not just move everything to AWS - cheaper, faster, etc.

On Sat, Jun 19, 2021 at 4:41 AM Ben Compton 
wrote:

> All,
>
> I have a customer running jBASE on VMware served by NetApp storage…
> Currently they are taking application based backups… However, I REALLY want
> to switch them to backups using Veeam to orchestrate an application
> consistent snap based backup… Since it is my understanding the database is
> like a large text file; corruption is always a concern.
>
> The Veeam backup takes a vSphere consistency snap and then sends an API to
> the storage array to take a snap… Then kicks off the array based
> replication of said Snap to a DR target…
>
> Is there a pre or post Quiesce type call I can add to make sure jBASE gets
> backed up correctly?
>
> Thanks,
>
> *Ben Compton*
>
> 859-494-1795 - Mobile
>
>
> Autocorrected by iPhone
>
> --
> --
> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>
> To post, send email to jBASE@googlegroups.com
> To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/jBASE?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "jBASE" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jbase+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jbase/2A02280F-24E0-4BF1-A740-3AC99A06C070%40gmail.com
> 
> .
>

-- 
-- 
IMPORTANT: T24/Globus posts are no longer accepted on this forum.

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"jBASE" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jbase+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jbase/CAGPPfg_Lr1XQ801kJGrduWFDsOJDNf6qWqe%3DkB3pNwRj5-Tq3w%40mail.gmail.com.


Re: How to see records locked by a port in Jbase

2021-06-17 Thread Jim Idle
Going to the dogs mate! ;)

Good luck!

Jim



On Thu, Jun 17, 2021 at 10:01 PM bdeck...@gmail.com 
wrote:

> The Zumasys influence has made jBASE a much kinder and gentler product :-)
>
> On Thursday, June 17, 2021 at 12:10:19 AM UTC-6 ji...@temporal-wave.com
> wrote:
>
>> I object to those example programs using Greg and not FB. What is the
>> world coming to when age old traditions are violated willy nilly?
>>
>>
>> On Wed, Jun 16, 2021 at 10:34 PM bdeck...@gmail.com 
>> wrote:
>>
>>> jBASE also allows you to query the lock table as if it was a file using
>>> normal query techniques.  This was implemented using jBASE's database
>>> abstraction model called jEDI.  This jEDI is called the jLock JEDI.  You
>>> can read all about it here:
>>> https://docs.zumasys.com/jbase/record-locking/locking-models/#using-the-lock-jedi-to-display-and-clear-locks
>>>
>>>
>>> On Wednesday, June 16, 2021 at 12:10:00 AM UTC-6 ji...@temporal-wave.com
>>> wrote:
>>>
 SHOW-ITEM-LOCKS


 https://static.zumasys.com/jbase/r99/knowledgebase/manuals/3.0/30manpages/man/util1.htm

 On Wed, Jun 16, 2021 at 1:41 AM JOSE L MARTINEZ-AVIAL 
 wrote:

> Hello,
>Is there anyway I can get a list of tables/records locked by a port
> in Jbase?
>
> thank you
>
> JL
>
> --
> --
> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>
> To post, send email to jb...@googlegroups.com
> To unsubscribe, send email to jbase-un...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/jBASE?hl=en
>
> ---
> You received this message because you are subscribed to the Google
> Groups "jBASE" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to jbase+un...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jbase/CAHB4ARuhvHw5Xqowr2PppX%3DkLqxYAnfpTMF0BqswkJ9No6V28g%40mail.gmail.com
> 
> .
>
 --
>>> --
>>> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>>>
>>> To post, send email to jb...@googlegroups.com
>>> To unsubscribe, send email to jbase-un...@googlegroups.com
>>> For more options, visit this group at
>>> http://groups.google.com/group/jBASE?hl=en
>>>
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "jBASE" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to jbase+un...@googlegroups.com.
>>>
>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/jbase/bbb89e52-2727-4944-b696-fe46cb0c9b11n%40googlegroups.com
>>> 
>>> .
>>>
>> --
> --
> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>
> To post, send email to jBASE@googlegroups.com
> To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/jBASE?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "jBASE" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jbase+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jbase/954400fe-a684-4b51-8b79-099c6145d63bn%40googlegroups.com
> 
> .
>

-- 
-- 
IMPORTANT: T24/Globus posts are no longer accepted on this forum.

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"jBASE" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jbase+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jbase/CAGPPfg9atxJ%2BqseeC9%2BF7XsSAkK2vgR-kfyvFTOpBKaB%3DFRXbg%40mail.gmail.com.


Re: How to see records locked by a port in Jbase

2021-06-17 Thread Jim Idle
I object to those example programs using Greg and not FB. What is the
world coming to when age old traditions are violated willy nilly?


On Wed, Jun 16, 2021 at 10:34 PM bdeck...@gmail.com 
wrote:

> jBASE also allows you to query the lock table as if it was a file using
> normal query techniques.  This was implemented using jBASE's database
> abstraction model called jEDI.  This jEDI is called the jLock JEDI.  You
> can read all about it here:
> https://docs.zumasys.com/jbase/record-locking/locking-models/#using-the-lock-jedi-to-display-and-clear-locks
>
>
> On Wednesday, June 16, 2021 at 12:10:00 AM UTC-6 ji...@temporal-wave.com
> wrote:
>
>> SHOW-ITEM-LOCKS
>>
>>
>> https://static.zumasys.com/jbase/r99/knowledgebase/manuals/3.0/30manpages/man/util1.htm
>>
>> On Wed, Jun 16, 2021 at 1:41 AM JOSE L MARTINEZ-AVIAL 
>> wrote:
>>
>>> Hello,
>>>Is there anyway I can get a list of tables/records locked by a port
>>> in Jbase?
>>>
>>> thank you
>>>
>>> JL
>>>
>>> --
>>> --
>>> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>>>
>>> To post, send email to jb...@googlegroups.com
>>> To unsubscribe, send email to jbase-un...@googlegroups.com
>>> For more options, visit this group at
>>> http://groups.google.com/group/jBASE?hl=en
>>>
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "jBASE" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to jbase+un...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/jbase/CAHB4ARuhvHw5Xqowr2PppX%3DkLqxYAnfpTMF0BqswkJ9No6V28g%40mail.gmail.com
>>> 
>>> .
>>>
>> --
> --
> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>
> To post, send email to jBASE@googlegroups.com
> To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/jBASE?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "jBASE" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jbase+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jbase/bbb89e52-2727-4944-b696-fe46cb0c9b11n%40googlegroups.com
> 
> .
>

-- 
-- 
IMPORTANT: T24/Globus posts are no longer accepted on this forum.

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"jBASE" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jbase+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jbase/CAGPPfg-GUZHcbUWCeA1aSK3xADFGCMV8nadAAuUtonLOf1763Q%40mail.gmail.com.


Re: How to see records locked by a port in Jbase

2021-06-16 Thread Jim Idle
SHOW-ITEM-LOCKS

https://static.zumasys.com/jbase/r99/knowledgebase/manuals/3.0/30manpages/man/util1.htm

On Wed, Jun 16, 2021 at 1:41 AM JOSE L MARTINEZ-AVIAL 
wrote:

> Hello,
>Is there anyway I can get a list of tables/records locked by a port in
> Jbase?
>
> thank you
>
> JL
>
> --
> --
> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>
> To post, send email to jBASE@googlegroups.com
> To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/jBASE?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "jBASE" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jbase+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jbase/CAHB4ARuhvHw5Xqowr2PppX%3DkLqxYAnfpTMF0BqswkJ9No6V28g%40mail.gmail.com
> 
> .
>

-- 
-- 
IMPORTANT: T24/Globus posts are no longer accepted on this forum.

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"jBASE" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jbase+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jbase/CAGPPfg-SnU%2BhADZkYq_VqWRmab3H8a5o1aPcUYp2KOEkPcgNjg%40mail.gmail.com.


Re: Looping a GOSUB

2021-06-10 Thread Jim Idle
None of your lip Weiser ;)

On Thu, Jun 10, 2021 at 11:59 PM Rick Weiser  wrote:

> WOW, a jIdle sighting!!
>
> On Thursday, June 10, 2021 at 1:58:16 AM UTC-4 ji...@temporal-wave.com
> wrote:
>
>> On Wed, Jun 9, 2021 at 6:55 PM Johan Liebenberg 
>> wrote:
>>
>>> Thanks for the reply.
>>> Yes as I said, it works just fine on Linux. I am trying to send some
>>> data to another server, just a few headers with values. The code does not
>>> need to check status as it should not interrupt the current process if it
>>> fails for any reason whatsoever.
>>>
>>
>> I would probably not do this from jBASE at all then, just monitor a
>> transfer directory and write the data to be transferred there and move on.
>> Otherwise your main program will hang around waiting for the curl etc. I
>> don't know if the receiving end is jBASE or something else, but message
>> queues are your friend, or even something as simple as scp. Think in
>> parallel terms.
>>
>>
>>
>>> I will pick it up on the remote server if the process did not call in
>>> successfully. Anyway, taking the exact code out of the gosub fixed it. Same
>>> code, just no gosub and no return. Works fine on Linux, does not work on
>>> Windows.
>>>
>>
>> Which is why you should work out what is going on with your subroutine
>> and EXECUTE. You may have found a way to get around it by duplicating code,
>> but that is more likely to be masking the actual problem, which may come
>> back to bite you later.
>>
>>
>>
>>>
>>> I will rewrite some of it when I start using the jCurl command. Will
>>> have to figure out if it is available on the older versions of jBase.
>>>
>>
>> But is using a form of curl really the correct way to do this?
>>
>>
>>
>>>
>>> On Wednesday, June 9, 2021 at 3:13:46 PM UTC+10 ji...@temporal-wave.com
>>> wrote:
>>>
 I usually find that it is better to say what you are trying to do
 first. Maybe your approach is not optimal? As in tell us:

 "I need to contact an http server at http:// and retrieve xyz"

 Whereas here you are assuming your approach is the correct one, then
 saying it isn't working. we should probably work out why you are seeing
 what you seem to be seeing, but it may well be that your approach is
 incorrect.

 The compiler will not generate bad code for GOSUB and RETURN - if it
 did, a lot more people would be complaining ;). It tends to make me think
 that you are not executing the binary that you think you are. Maybe run
 from a command line instead of jsh for instance. Also, when executing
 external scripts, you would likely be better specifying EXECUTE with
 CHAR(255):">>> be why EXECUTE of your command line is not working.

 You should also use the additional clauses in EXECUTE to capture exit
 codes and errors etc. Your code is just assuming that it works, which is
 never a good idea.

 I would also recommend Linux over Windows, but that's just a
 preference. Things always seem to work better.

 So, what are you actually trying to do here? There are probably 20
 different ways if we know what you are doing.

 Jim


 On Mon, Jun 7, 2021 at 12:00 AM Johan Liebenberg 
 wrote:

> jBASE 5.2.31 on Windows Server 2012.
>
> Yes thanks I saw the jCURL command and I will investigate in future to
> do a switch over. Anyway, I got the batch file thing to work by not 
> calling
> the subroutine and instead calling the same code in 3 different places.
> More cleanup to do later.
>
> Thanks :)
>
> On Friday, June 4, 2021 at 11:37:37 PM UTC+10 pfalson wrote:
>
>> What version of jBASE are you using? We support curl natively now
>>
>>
>> https://docs.zumasys.com/jbase/miscellaneous/jcurl/#additional-helper-functions
>>
>> Sent from my iPhone
>>
>> On Jun 4, 2021, at 5:29 AM, Johan Liebenberg 
>> wrote:
>>
>> 
>>
>> Building a small batch file to run on a Window jBase server.
>>
>> Batch file executes a curl command build inside the jBase program.
>>
>> I 1st tried to EXECUTE the curl command CAPTURING RESULTS, but the
>> remote server returns an error. I filtered all the illegal character out 
>> of
>> the curl command just in case. No luck.This happens to work flawlessly 
>> on a
>> Linux server.
>>
>> So the next approach is to create a DOS batch file and execute the
>> batch file with the curl command inside the batch file. Works 1st time 
>> but
>> then the trouble starts:
>>
>> So I have a GOSUB RUNCMD that calls the sub below with the curl
>> command inside the CMD variable:
>>
>> RUNCMD:
>>
>>  OSDELETE 'temp.bat'
>>
>> EXECUTE 'touch temp.bat' CAPTURING JUNK
>>
>> OSOPEN 'temp.bat' TO TEMPDOSFILE THEN
>>
>> OSBWRITE CMD ON TEMPDOSFILE AT 0
>>
>> OSCLOSE TEMPDOSFILE

Re: Looping a GOSUB

2021-06-09 Thread Jim Idle
On Wed, Jun 9, 2021 at 6:55 PM Johan Liebenberg  wrote:

> Thanks for the reply.
> Yes as I said, it works just fine on Linux. I am trying to send some data
> to another server, just a few headers with values. The code does not need
> to check status as it should not interrupt the current process if it fails
> for any reason whatsoever.
>

I would probably not do this from jBASE at all then, just monitor a
transfer directory and write the data to be transferred there and move on.
Otherwise your main program will hang around waiting for the curl etc. I
don't know if the receiving end is jBASE or something else, but message
queues are your friend, or even something as simple as scp. Think in
parallel terms.



> I will pick it up on the remote server if the process did not call in
> successfully. Anyway, taking the exact code out of the gosub fixed it. Same
> code, just no gosub and no return. Works fine on Linux, does not work on
> Windows.
>

Which is why you should work out what is going on with your subroutine and
EXECUTE. You may have found a way to get around it by duplicating code, but
that is more likely to be masking the actual problem, which may come back
to bite you later.



>
> I will rewrite some of it when I start using the jCurl command. Will have
> to figure out if it is available on the older versions of jBase.
>

But is using a form of curl really the correct way to do this?



>
> On Wednesday, June 9, 2021 at 3:13:46 PM UTC+10 ji...@temporal-wave.com
> wrote:
>
>> I usually find that it is better to say what you are trying to do first.
>> Maybe your approach is not optimal? As in tell us:
>>
>> "I need to contact an http server at http:// and retrieve xyz"
>>
>> Whereas here you are assuming your approach is the correct one, then
>> saying it isn't working. we should probably work out why you are seeing
>> what you seem to be seeing, but it may well be that your approach is
>> incorrect.
>>
>> The compiler will not generate bad code for GOSUB and RETURN - if it did,
>> a lot more people would be complaining ;). It tends to make me think that
>> you are not executing the binary that you think you are. Maybe run from a
>> command line instead of jsh for instance. Also, when executing external
>> scripts, you would likely be better specifying EXECUTE with
>> CHAR(255):"> be why EXECUTE of your command line is not working.
>>
>> You should also use the additional clauses in EXECUTE to capture exit
>> codes and errors etc. Your code is just assuming that it works, which is
>> never a good idea.
>>
>> I would also recommend Linux over Windows, but that's just a preference.
>> Things always seem to work better.
>>
>> So, what are you actually trying to do here? There are probably 20
>> different ways if we know what you are doing.
>>
>> Jim
>>
>>
>> On Mon, Jun 7, 2021 at 12:00 AM Johan Liebenberg 
>> wrote:
>>
>>> jBASE 5.2.31 on Windows Server 2012.
>>>
>>> Yes thanks I saw the jCURL command and I will investigate in future to
>>> do a switch over. Anyway, I got the batch file thing to work by not calling
>>> the subroutine and instead calling the same code in 3 different places.
>>> More cleanup to do later.
>>>
>>> Thanks :)
>>>
>>> On Friday, June 4, 2021 at 11:37:37 PM UTC+10 pfalson wrote:
>>>
 What version of jBASE are you using? We support curl natively now


 https://docs.zumasys.com/jbase/miscellaneous/jcurl/#additional-helper-functions

 Sent from my iPhone

 On Jun 4, 2021, at 5:29 AM, Johan Liebenberg  wrote:

 

 Building a small batch file to run on a Window jBase server.

 Batch file executes a curl command build inside the jBase program.

 I 1st tried to EXECUTE the curl command CAPTURING RESULTS, but the
 remote server returns an error. I filtered all the illegal character out of
 the curl command just in case. No luck.This happens to work flawlessly on a
 Linux server.

 So the next approach is to create a DOS batch file and execute the
 batch file with the curl command inside the batch file. Works 1st time but
 then the trouble starts:

 So I have a GOSUB RUNCMD that calls the sub below with the curl command
 inside the CMD variable:

 RUNCMD:

  OSDELETE 'temp.bat'

 EXECUTE 'touch temp.bat' CAPTURING JUNK

 OSOPEN 'temp.bat' TO TEMPDOSFILE THEN

 OSBWRITE CMD ON TEMPDOSFILE AT 0

 OSCLOSE TEMPDOSFILE

 EXECUTE 'temp.bat' CAPTURING RESULTS

 END

 OSDELETE 'temp.bat'

  RETURN
 With the debugger turned on, outside RUNCMD sub, I can follow the
 progress through the sub line by line, everything works and the remote
 server receives the curl command correctly and returns the correct data in
 the RESULTS variable. All good. When the execution gets to the RETURN
 command, one expects it to jump back to the 1st line after the GOSUB

Re: Looping a GOSUB

2021-06-08 Thread Jim Idle
I usually find that it is better to say what you are trying to do first.
Maybe your approach is not optimal? As in tell us:

"I need to contact an http server at http:// and retrieve xyz"

Whereas here you are assuming your approach is the correct one, then saying
it isn't working. we should probably work out why you are seeing what you
seem to be seeing, but it may well be that your approach is incorrect.

The compiler will not generate bad code for GOSUB and RETURN - if it did, a
lot more people would be complaining ;). It tends to make me think that you
are not executing the binary that you think you are. Maybe run from a
command line instead of jsh for instance. Also, when executing external
scripts, you would likely be better specifying EXECUTE with
CHAR(255):"
wrote:

> jBASE 5.2.31 on Windows Server 2012.
>
> Yes thanks I saw the jCURL command and I will investigate in future to do
> a switch over. Anyway, I got the batch file thing to work by not calling
> the subroutine and instead calling the same code in 3 different places.
> More cleanup to do later.
>
> Thanks :)
>
> On Friday, June 4, 2021 at 11:37:37 PM UTC+10 pfalson wrote:
>
>> What version of jBASE are you using? We support curl natively now
>>
>>
>> https://docs.zumasys.com/jbase/miscellaneous/jcurl/#additional-helper-functions
>>
>> Sent from my iPhone
>>
>> On Jun 4, 2021, at 5:29 AM, Johan Liebenberg  wrote:
>>
>> 
>>
>> Building a small batch file to run on a Window jBase server.
>>
>> Batch file executes a curl command build inside the jBase program.
>>
>> I 1st tried to EXECUTE the curl command CAPTURING RESULTS, but the remote
>> server returns an error. I filtered all the illegal character out of the
>> curl command just in case. No luck.This happens to work flawlessly on a
>> Linux server.
>>
>> So the next approach is to create a DOS batch file and execute the batch
>> file with the curl command inside the batch file. Works 1st time but then
>> the trouble starts:
>>
>> So I have a GOSUB RUNCMD that calls the sub below with the curl command
>> inside the CMD variable:
>>
>> RUNCMD:
>>
>>  OSDELETE 'temp.bat'
>>
>> EXECUTE 'touch temp.bat' CAPTURING JUNK
>>
>> OSOPEN 'temp.bat' TO TEMPDOSFILE THEN
>>
>> OSBWRITE CMD ON TEMPDOSFILE AT 0
>>
>> OSCLOSE TEMPDOSFILE
>>
>> EXECUTE 'temp.bat' CAPTURING RESULTS
>>
>> END
>>
>> OSDELETE 'temp.bat'
>>
>>  RETURN
>> With the debugger turned on, outside RUNCMD sub, I can follow the
>> progress through the sub line by line, everything works and the remote
>> server receives the curl command correctly and returns the correct data in
>> the RESULTS variable. All good. When the execution gets to the RETURN
>> command, one expects it to jump back to the 1st line after the GOSUB
>> RUNCMD, but instead it jumps back to the RUNCMD: label and it repeats the
>> sub over and over in a loop that you can not break out of.
>>
>> Surely I am very tired because it is late and I am missing something
>> really really obvious. Thanks for looking :)
>>
>> --
>> --
>> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>>
>> To post, send email to jb...@googlegroups.com
>> To unsubscribe, send email to jbase-un...@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/jBASE?hl=en
>>
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "jBASE" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to jbase+un...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/jbase/64144341-a743-4e2b-9824-8cfda8f609f9n%40googlegroups.com
>> 
>> .
>>
>> --
> --
> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>
> To post, send email to jBASE@googlegroups.com
> To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/jBASE?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "jBASE" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jbase+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jbase/df6af11c-1987-4d92-a718-8e87378be89cn%40googlegroups.com
> 
> .
>

-- 
-- 
IMPORTANT: T24/Globus posts are no longer accepted on this forum.

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"jBASE" group.
To 

Re: jacPGM

2021-05-20 Thread Jim Idle
I believe it is a CATALOGed program entry

[Jim Idle - Chat @ 
Spike](https://spikenow.com/r/a/?ref=spike-organic-signature&_ts=11dlno) 
[11dlno]

On May 20, 2021 at 7:36 GMT, Johan Liebenberg  wrote:

Can anybody tell me what jacPGM on line 1 of an entry in the MD files does?
Thanks :)

--
--
IMPORTANT: T24/Globus posts are no longer accepted on this forum.

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

---
You received this message because you are subscribed to the Google Groups 
"jBASE" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jbase+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
[https://groups.google.com/d/msgid/jbase/84c10cc1-4540-4c9c-9a53-50a5969ca7fcn%40googlegroups.com](https://groups.google.com/d/msgid/jbase/84c10cc1-4540-4c9c-9a53-50a5969ca7fcn%40googlegroups.com?utm_medium=email_source=footer).

-- 
-- 
IMPORTANT: T24/Globus posts are no longer accepted on this forum.

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"jBASE" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jbase+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jbase/c-a82c6-kowl30t0-su240e%3Dddyf7v%402.gethop.com.


Re: Getting the jBase DP (data pointer) of the current session when using pure C

2020-03-04 Thread Jim Idle
I think then that the thing to do is ask Greg Cooper. @Bruce Decker - maybe
you can facilitate this?

As I use OSX, I don’t have jBASE available without some messing around
 Hunt Hint. OSX port would be easy. As would a docket image of jBASE :)

Jim

On Wed, Mar 4, 2020 at 23:05 Igor Osmolovskiy  wrote:

> Hello Jim,
>
> Thanks for your participation in the discussion :)
>
> > Are writing a pure C program and wish to call in to subroutines etc?
> Yes, that's the idea. Actually the final goal is wider, namely to write a
> Python extension in C that would call JBC functions. Basically I managed to
> do it but this excessive session is something would be good to get rid of.
>
> I've applied jbc -S myrtn.b for a simple code already which results in
> producing 2 files: myrtn.c and the myrtn.j, the latter one being included
> into the .c one via #include "myrtn.j".
> But in the .j file already we can see the lines like
> #define DEF_SEL_VAR JLibReturnDefaultSelect(dp) /* Default select
> list for this program */
> #define DEF_FILE_VAR JLibReturnDefaultFile(dp) /* Default file
> descriptor for this program */
>
> i.e. dp is supposed to be initialized already by the moment myrtn is
> called.
>
> I've managed to find the next dp related functions mentioned in some
> libraries
> jbase_getdp() - this works, i.e. initializes dp, but creates a new session
> jbase_getdp_nocreate() - not working if called alone. but it works and
> returns the dp1 value when called after jbase_getdp(), and dp1 = dp in
> this case
> jbase_getdpEX() - not sure what it should do
> jbase_setdpEX() - not sure what it should do
>
>
> Please see the sample piece of code
>
> #include 
> extern "C" DPSTRUCT *jbase_getdp();
>
> ...
>
> PyMODINIT_FUNC
> jbc_oconv(PyObject*, PyObject* _args)
> {
> ...
> DPSTRUCT *dp = jbase_getdp();
> OCONV_B(result, tmp, VarHelper(arg1), VarHelper(arg2));  // this if
> defined in jsystem.h as   #define OCONV_B(Target, ConvReg, Source,
> Conversion) JLibGConvRun(*dp*, ConvReg, Target, Source, Conversion, 1)
> ...
> }
>
>
>
> I've tried to read the jmainfunction.obj  as well where some other jbase
> related functions are mentioned but could not figure out any useful one...
>
> Maybe there is something I am missing or some non-documented function?
>
> Would appreciate any hints! :)
> Thanks
> Igor
>
> среда, 4 марта 2020 г., 8:11:30 UTC+1 пользователь Jim Idle написал:
>>
>> Wow - it has been a long time since that code ;) However, what you ask is
>> possible I believe. It depends on your context. Are writing a pure C
>> program and wish to call in to subroutines etc?
>>
>> Probably the best place to start is to generate the C code for a very
>> small jBC program:
>>
>> lufc.b
>> CRT "Leeds United are Magic!"
>>
>> jbc -S lufc.b
>>
>> Then you will see the startup sequence for a standard executable and can
>> copy the code.
>>
>> However, my memory is vague, but I think that we had a C function you can
>> call to do what you are doing and that will return the dp for reuse. It
>> get's passed to subroutines for instance.
>>
>> Perhaps you can post the code you currently have.
>>
>> Jim
>>
>> On Wed, Mar 4, 2020 at 3:19 AM Igor Osmolovskiy  wrote:
>>
>>> Dear all
>>>
>>> I need the jBase DP (data pointer) to be initialized. I've actually
>>> managed to initialize it by calling the jbase_getdp(). But in both cases
>>> the new child session is created in jshell (and gets removed automatically
>>> after the code has been executed).
>>>
>>> So I am wondering: is there a possibility to retrieve and use the
>>> current session DP somehow? So that no child session would get created
>>>
>>> Any advice would be highly appreciated
>>>
>>> Thanks in advance
>>>
>>>
>>> PS: to the admin, it is actually a jBase related question rather than
>>> TAFC. Thanks
>>>
>>>
>>> Kind regards,
>>> Igor
>>>
>>> --
>>> --
>>> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>>>
>>> To post, send email to jb...@googlegroups.com
>>> To unsubscribe, send email to jbase-un...@googlegroups.com
>>> For more options, visit this group at
>>> http://groups.google.com/group/jBASE?hl=en
>>>
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "jBASE" group.
>>> To unsubscribe from this group an

Re: Getting jBASE phantom processes to restart automatically after reboot (Windows)?

2020-03-04 Thread Jim Idle
This was in fact much of the point. Move away from Pick only.

For Windows, use this:

https://en.m.wikipedia.org/wiki/Windows_Task_Scheduler

And there are a few commercial schedulers that are great. Think different :)

These days, I would not run Windows - AWS Linux is the way to go guys.

jIM

On Wed, Mar 4, 2020 at 23:05 Bruce Decker  wrote:

> Great tip Mark.  And on *nix, Cron is the “standard” way of doing timed
> execution.
>
>
>
> Often, the power of jBASE comes from what it does not *need* to do.
>
>
>
> With our upcoming community-based documentation, handy tips like this will
> nestle right next to the main docs making life easier for Greg and the
> community at large.  It’s gonna be great!
>
> -BD
>
>
>
>
>
> *From:* jbase@googlegroups.com  *On Behalf Of *
> m...@proman.com
> *Sent:* Tuesday, March 3, 2020 4:43 PM
> *To:* jbase@googlegroups.com
> *Subject:* RE: Getting jBASE phantom processes to restart automatically
> after reboot (Windows)?
>
>
>
> You might consider adding your own service for your.exe which would
> execute the PH-START commands
>
>
>
>
> https://support.microsoft.com/en-us/help/137890/how-to-create-a-user-defined-service
>
> The registry settings woud be something like
>
> Application : C:\jBASE\5.5.0\bin\jsh.exe
>
> AppParameters : -Jb -c fullpath\your.exe
>
>
>
> OR
>
>
>
> Adding fullpath\jpq fullpath\proc to the Startup procedure might also work.
>
>
>
>
>
> *From:* jbase@googlegroups.com  *On Behalf Of *Greg
> Iverson
> *Sent:* Tuesday, March 3, 2020 11:58 AM
> *To:* jBASE 
> *Subject:* Getting jBASE phantom processes to restart automatically after
> reboot (Windows)?
>
>
>
> Hi all!
>
>
>
> This is an annoying issue that I thought I'd finally ask about since it's
> not going to fix itself! :)
>
>
>
> On D3 every phantom process I had previously started would start back up
> after a system reboot. I never had to worry about whether or not there was
> a power failure or someone tripped on the power cord.
>
> I have several phantoms whose only purpose is to check and make sure the
> other phantoms are running...but of course THEY don't start either so I
> remain ignorant :)
>
>
>
> With jBASE, not only do I not have the functionality of choosing when
> processes kick off (between certain times and on certain days, etc.), but
> when the PC is restarted, the processes don't start back up automatically.
>
>
>
> I have a proc in the MD that I run manually at TCL (JSH prompt) that does
> all the necessary PH-START commands, but is there any way to get it to run
> after a system reboot (or some other way to kick them off again)?
>
>
>
> Just seems strange that jBASE forgets all about the phantoms and starts
> fresh with each reboot? I guess I've got to stop compiling lists of all the
> things D3 does that jBASE doesn't - HA! :)
>
>
>
> -Greg
>
>
>
> --
> --
> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>
> To post, send email to jBASE@googlegroups.com
> To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/jBASE?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "jBASE" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jbase+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jbase/21dbde52-866d-48fa-8287-aee125fc8e37%40googlegroups.com
> 
> .
>
> --
> --
> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>
> To post, send email to jBASE@googlegroups.com
> To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/jBASE?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "jBASE" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jbase+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jbase/008001d5f1b5%248624c930%24926e5b90%24%40proman.com
> 
> .
>
> --
> --
> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>
> To post, send email to jBASE@googlegroups.com
> To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/jBASE?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "jBASE" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jbase+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> 

Re: Getting the jBase DP (data pointer) of the current session when using pure C

2020-03-03 Thread Jim Idle
Wow - it has been a long time since that code ;) However, what you ask is
possible I believe. It depends on your context. Are writing a pure C
program and wish to call in to subroutines etc?

Probably the best place to start is to generate the C code for a very small
jBC program:

lufc.b
CRT "Leeds United are Magic!"

jbc -S lufc.b

Then you will see the startup sequence for a standard executable and can
copy the code.

However, my memory is vague, but I think that we had a C function you can
call to do what you are doing and that will return the dp for reuse. It
get's passed to subroutines for instance.

Perhaps you can post the code you currently have.

Jim

On Wed, Mar 4, 2020 at 3:19 AM Igor Osmolovskiy  wrote:

> Dear all
>
> I need the jBase DP (data pointer) to be initialized. I've actually
> managed to initialize it by calling the jbase_getdp(). But in both cases
> the new child session is created in jshell (and gets removed automatically
> after the code has been executed).
>
> So I am wondering: is there a possibility to retrieve and use the current
> session DP somehow? So that no child session would get created
>
> Any advice would be highly appreciated
>
> Thanks in advance
>
>
> PS: to the admin, it is actually a jBase related question rather than
> TAFC. Thanks
>
>
> Kind regards,
> Igor
>
> --
> --
> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>
> To post, send email to jBASE@googlegroups.com
> To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/jBASE?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "jBASE" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jbase+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jbase/73153581-25ae-493a-95f6-8afc5cdf7813%40googlegroups.com
> 
> .
>

-- 
-- 
IMPORTANT: T24/Globus posts are no longer accepted on this forum.

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"jBASE" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jbase+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jbase/CAGPPfg8zzGaA%3Dizs%3DL-DJJgrfzJ2BaenCBdtNOfMRD_HX6XvUg%40mail.gmail.com.


Re: Issue with umask and openseq

2018-12-17 Thread Jim Idle
OK - then yes, you will need TEMENOS to modify their subroutines if the
files they produce do not have deterministic names. Hopefully, they can
help you. You could, of course, execute chmod on the files after they are
generated, but there would be a window of time where the files are
accessible outside the permission set you want, so that is probably not a
practical solution.

Good luck,

Jim

On Tue, Dec 18, 2018 at 1:06 AM JOSE LUIS MARTINEZ-AVIAL GONZALEZ-CELA <
jlm...@gmail.com> wrote:

> The problem is not our code. The problem is that there is Temenos code
> (like tSA) that is doing that for the files it creates. That represents a
> problem from the auditory POV, as there is no way to ensure files are not
> modified by an unauthorized user.
>
> Sent from my iPhone
>
> On Dec 17, 2018, at 9:00 AM, Jim Idle  wrote:
>
> Actually, I do not think that this is a bug. I think that this is how the
> system call fopen(2) works. Hence the real way to do this is to touch the
> file then execute chmod on it before writing to it. Perhaps the OPENSEQ isc
> commands should really have been given a MODE parameter, but in general,
> you don't want user programs overriding the umask. A number of options
> here, but I would just set the file to the permissions you want before you
> write to it.
>
> Jim
>
>
>
> On Mon, Dec 17, 2018 at 1:01 PM JOSE L MARTINEZ-AVIAL 
> wrote:
>
>> Thanks Jim, Mike,
>>   I just tested Jim's example and it creates the files with the right
>> permissions
>> SunOS-/ve1/miaeod/bnk/bnk.run: TEST2
>> Umask as seen from jBASE is currently: 02
>> Umask as seen from ksh EXECUTE  is currently: 02
>> SunOS-/ve1/miaeod/bnk/bnk.run: ls -rlt file1 file2
>> -rw-rw-r--   1 miaeod   tafc   0 Dec 16 18:09 file1
>> -rw-rw-r--   1 miaeod   tafc   0 Dec 16 18:09 file2
>> SunOS-/ve1/miaeod/bnk/bnk.run:
>>
>> so it seems the problem is specific to the command CREATE in jbase. I've
>> opened a ticket with Temenos, since for auditory purposes we need  to have
>> this issue solved.
>>
>> I'll keep you posted.
>>
>> thanks
>>
>> JL
>>
>> El vie., 14 dic. 2018 a las 9:02, Mvreply ()
>> escribió:
>>
>>> Jose,
>>>
>>> I tested your TEST.OPENSEQ against the latest (Zumasys) jBASE version on
>>> RHEL 7 Linux and the behaviour is exactly the same, whether “umask 002” is
>>> present or not:
>>>
>>>
>>>
>>> -rw-rw-rw-.  1 support support 0 Dec 13 15:45 test.txt
>>>
>>>
>>>
>>> Regular files are created with the correct permissions:
>>>
>>>
>>>
>>> -rw-rw-r--.  1 support support 24576 Dec 13 15:46 tempfile
>>>
>>> -rw-rw-r--.  1 support support 24576 Dec 13 15:46 tempfile]D
>>>
>>>
>>>
>>> If this is a problem for you, then you need to contact Temenos for
>>> assistance.
>>>
>>>
>>>
>>> Mike
>>>
>>>
>>>
>>> *From:* jbase@googlegroups.com  *On Behalf Of *JOSE
>>> L MARTINEZ-AVIAL
>>> *Sent:* 13 December 2018 13:26
>>> *To:* jbase@googlegroups.com
>>> *Subject:* Re: Issue with umask and openseq
>>>
>>>
>>>
>>> Hello Jim,
>>>
>>>
>>>
>>>  Thanks for your repsonse. This is a real example without jsh
>>>
>>>
>>>
>>> SunOS-/ve1/miaeod/bnk/bnk.run:
>>> SunOS-/ve1/miaeod/bnk/bnk.run: umask 002
>>> SunOS-/ve1/miaeod/bnk/bnk.run: touch thisisatest.txt
>>> SunOS-/ve1/miaeod/bnk/bnk.run: ls -lrt thisisatest.txt
>>> -rw-rw-r--   1 miaeod   tafc   0 Dec 13 08:23 thisisatest.txt
>>> SunOS-/ve1/miaeod/bnk/bnk.run: TEST.OPENSEQ
>>> SunOS-/ve1/miaeod/bnk/bnk.run: ls -rlt test.txt
>>> -rw-rw-rw-   1 miaeod   tafc   0 Dec 13 08:23 test.txt
>>> SunOS-/ve1/miaeod/bnk/bnk.run: echo $SHELL
>>> /bin/ksh
>>> SunOS-/ve1/miaeod/bnk/bnk.run:
>>>
>>>
>>>
>>> As you can see the umask is set to 002, and the touch program inherits
>>> that, but it seems the TEST.OPENSEQ (same program as previous example) does
>>> not. Any ideas?
>>>
>>>
>>>
>>> El jue., 13 dic. 2018 a las 0:43, Jim Idle ()
>>> escribió:
>>>
>>> In your touch example above, you have used two different file names -
>>> that is obviously not the output from your actual commands and you have not
>>> shown the value of umask. You 'touch test2.txt', then you 'ls' the file
>>> t

Re: Issue with umask and openseq

2018-12-17 Thread Jim Idle
Actually, I do not think that this is a bug. I think that this is how the
system call fopen(2) works. Hence the real way to do this is to touch the
file then execute chmod on it before writing to it. Perhaps the OPENSEQ isc
commands should really have been given a MODE parameter, but in general,
you don't want user programs overriding the umask. A number of options
here, but I would just set the file to the permissions you want before you
write to it.

Jim



On Mon, Dec 17, 2018 at 1:01 PM JOSE L MARTINEZ-AVIAL 
wrote:

> Thanks Jim, Mike,
>   I just tested Jim's example and it creates the files with the right
> permissions
> SunOS-/ve1/miaeod/bnk/bnk.run: TEST2
> Umask as seen from jBASE is currently: 02
> Umask as seen from ksh EXECUTE  is currently: 02
> SunOS-/ve1/miaeod/bnk/bnk.run: ls -rlt file1 file2
> -rw-rw-r--   1 miaeod   tafc   0 Dec 16 18:09 file1
> -rw-rw-r--   1 miaeod   tafc   0 Dec 16 18:09 file2
> SunOS-/ve1/miaeod/bnk/bnk.run:
>
> so it seems the problem is specific to the command CREATE in jbase. I've
> opened a ticket with Temenos, since for auditory purposes we need  to have
> this issue solved.
>
> I'll keep you posted.
>
> thanks
>
> JL
>
> El vie., 14 dic. 2018 a las 9:02, Mvreply ()
> escribió:
>
>> Jose,
>>
>> I tested your TEST.OPENSEQ against the latest (Zumasys) jBASE version on
>> RHEL 7 Linux and the behaviour is exactly the same, whether “umask 002” is
>> present or not:
>>
>>
>>
>> -rw-rw-rw-.  1 support support 0 Dec 13 15:45 test.txt
>>
>>
>>
>> Regular files are created with the correct permissions:
>>
>>
>>
>> -rw-rw-r--.  1 support support 24576 Dec 13 15:46 tempfile
>>
>> -rw-rw-r--.  1 support support 24576 Dec 13 15:46 tempfile]D
>>
>>
>>
>> If this is a problem for you, then you need to contact Temenos for
>> assistance.
>>
>>
>>
>> Mike
>>
>>
>>
>> *From:* jbase@googlegroups.com  *On Behalf Of *JOSE
>> L MARTINEZ-AVIAL
>> *Sent:* 13 December 2018 13:26
>> *To:* jbase@googlegroups.com
>> *Subject:* Re: Issue with umask and openseq
>>
>>
>>
>> Hello Jim,
>>
>>
>>
>>  Thanks for your repsonse. This is a real example without jsh
>>
>>
>>
>> SunOS-/ve1/miaeod/bnk/bnk.run:
>> SunOS-/ve1/miaeod/bnk/bnk.run: umask 002
>> SunOS-/ve1/miaeod/bnk/bnk.run: touch thisisatest.txt
>> SunOS-/ve1/miaeod/bnk/bnk.run: ls -lrt thisisatest.txt
>> -rw-rw-r--   1 miaeod   tafc   0 Dec 13 08:23 thisisatest.txt
>> SunOS-/ve1/miaeod/bnk/bnk.run: TEST.OPENSEQ
>> SunOS-/ve1/miaeod/bnk/bnk.run: ls -rlt test.txt
>> -rw-rw-rw-   1 miaeod   tafc   0 Dec 13 08:23 test.txt
>> SunOS-/ve1/miaeod/bnk/bnk.run: echo $SHELL
>> /bin/ksh
>> SunOS-/ve1/miaeod/bnk/bnk.run:
>>
>>
>>
>> As you can see the umask is set to 002, and the touch program inherits
>> that, but it seems the TEST.OPENSEQ (same program as previous example) does
>> not. Any ideas?
>>
>>
>>
>> El jue., 13 dic. 2018 a las 0:43, Jim Idle ()
>> escribió:
>>
>> In your touch example above, you have used two different file names -
>> that is obviously not the output from your actual commands and you have not
>> shown the value of umask. You 'touch test2.txt', then you 'ls' the file
>> test1.txt, then you show the ls output of test2.txt, where you have
>> seemingly the output of umask 2. You should really do those commands from
>> scratch and list the actual output, not a mock-up.
>>
>>
>>
>> jBASE will use the umask setting of its inherited environment. Here, you
>> are using jsh, which is a jBASE program, so it will pick up the umask that
>> it received at the time it started up. jSH may be a little different in
>> that it might respect the umask command on the command line, but I no
>> longer remember - I think not though - you can test by changing umask at
>> the jsh command line and seeing what happens when you create new files.
>> But the best thing to do is to set umask in your .profile or bash profile.
>> This is so that when you start your jBASE program, it inherits the
>> umask from the environment it starts up in.
>>
>>
>>
>> You could also change jsh mode to sh mode, then use:
>>
>>
>>
>> umask 002 ; TEST.OPENSEQ
>>
>>
>>
>> Personally, I would not use jSH - just learn bash properly.
>>
>>
>>
>> I do not believe that we ever made any special environment things for
>> umask, but there is someth

Re: Type ahead buffer?

2018-12-14 Thread Jim Idle
It would work, but jBASE supports multi byte characters directly and
terminal independence is built in as per the previous message.

On Fri, Dec 14, 2018 at 13:30  wrote:

> Hi
>
> IN etc all work for single character. The echo needs to be turned off and
> you simply print the character if you wish.
>
> However I simply use input getByte,0 on D3 for Unicode multi byte
> characters and act appropriately for things like backspace.
>
> I see no reason that would not work on JBase
>
>
>
> *From:* jbase@googlegroups.com  *On Behalf Of *wsw
> *Sent:* Friday, December 14, 2018 8:11 AM
> *To:* jBASE 
> *Subject:* Type ahead buffer?
>
>
>
> Does jbasic have a type-ahead buffer where I can check for control
> characters before they are displayed on the terminal? I've tried IN, INS
> and KEYIN().
>
>
>
> Thanks in advance.
>
> --
> --
> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>
> To post, send email to jBASE@googlegroups.com
> To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/jBASE?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "jBASE" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jbase+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
> --
> --
> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>
> To post, send email to jBASE@googlegroups.com
> To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/jBASE?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "jBASE" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jbase+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
IMPORTANT: T24/Globus posts are no longer accepted on this forum.

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"jBASE" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jbase+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Issue with umask and openseq

2018-12-13 Thread Jim Idle
Let's try a little exploration. My apologies but it's been a long time
since I worked on jBASE of course.

If you execute the touch command from your program, what permissions are
assigned? You should try like this:

EXECUTE "umask" CAPTURING Output
CRT "Umask as seen from jBASE is currently: ":Output
EXECUTE CHAR(255):"k""umask" CAPTURING Output
CRT "Umask as seen from ksh EXECUTE  is currently: ":Output
EXECUTE "touch file1"
EXECUTE CHAR(255):"k":touch file2"

Then see what file1 and file2 permissions are.

The only here is that I think umask is a shell builtin only on some
systems. If that is the case on your system then you may get an error if
you execute with the ksh (that's what CHAR(255):"k" does in EXECUTE - it
cause the command to be run in the Korn shell). If you get an error, then
execute the command only in the ksh rather than in raw mode.

I wonder if you have a global umask setting that jBASE is seeing, whereas
your shell is seeing what your umask command has set up - it is something
like that is happening I suspect. You could just circumvent it and execute
something like:

EXECUTE CHAR(255):'k":"umask 0002 ; touch the file"
Then OPENSEQ the file, which should not change the permissions.

Obviously, it would be better if you could get to the bottom of this
though. Maybe check the global profiles for umask commands.

Jim





On Thu, Dec 13, 2018 at 11:11 PM JOSE L MARTINEZ-AVIAL 
wrote:

> Hello Jim,
>
>  Thanks for your repsonse. This is a real example without jsh
>
> SunOS-/ve1/miaeod/bnk/bnk.run:
> SunOS-/ve1/miaeod/bnk/bnk.run: umask 002
> SunOS-/ve1/miaeod/bnk/bnk.run: touch thisisatest.txt
> SunOS-/ve1/miaeod/bnk/bnk.run: ls -lrt thisisatest.txt
> -rw-rw-r--   1 miaeod   tafc   0 Dec 13 08:23 thisisatest.txt
> SunOS-/ve1/miaeod/bnk/bnk.run: TEST.OPENSEQ
> SunOS-/ve1/miaeod/bnk/bnk.run: ls -rlt test.txt
> -rw-rw-rw-   1 miaeod   tafc   0 Dec 13 08:23 test.txt
> SunOS-/ve1/miaeod/bnk/bnk.run: echo $SHELL
> /bin/ksh
> SunOS-/ve1/miaeod/bnk/bnk.run:
>
> As you can see the umask is set to 002, and the touch program inherits
> that, but it seems the TEST.OPENSEQ (same program as previous example) does
> not. Any ideas?
>
> El jue., 13 dic. 2018 a las 0:43, Jim Idle ()
> escribió:
>
>> In your touch example above, you have used two different file names -
>> that is obviously not the output from your actual commands and you have not
>> shown the value of umask. You 'touch test2.txt', then you 'ls' the file
>> test1.txt, then you show the ls output of test2.txt, where you have
>> seemingly the output of umask 2. You should really do those commands from
>> scratch and list the actual output, not a mock-up.
>>
>> jBASE will use the umask setting of its inherited environment. Here, you
>> are using jsh, which is a jBASE program, so it will pick up the umask that
>> it received at the time it started up. jSH may be a little different in
>> that it might respect the umask command on the command line, but I no
>> longer remember - I think not though - you can test by changing umask at
>> the jsh command line and seeing what happens when you create new files.
>> But the best thing to do is to set umask in your .profile or bash profile.
>> This is so that when you start your jBASE program, it inherits the
>> umask from the environment it starts up in.
>>
>> You could also change jsh mode to sh mode, then use:
>>
>> umask 002 ; TEST.OPENSEQ
>>
>> Personally, I would not use jSH - just learn bash properly.
>>
>> I do not believe that we ever made any special environment things for
>> umask, but there is something buzzing in the back of my head about umask.
>> But start by setting umask before you start any jBNASE program.
>>
>> I checked the latest OPENSEQ docs on the jBASE web site. But whoever took
>> my original text and wrote misleading things about read locks, and garbled
>> the grammar, obviously did not know much about how it actually works, then
>> compounded the garbled explanation with an example in lower case with
>> comments such as:
>>
>> * open the jbase file
>>  open 
>>
>> Yeah - I can see why you didn't consult the documentation!
>>
>> On Thu, Dec 13, 2018 at 1:13 PM JOSE L MARTINEZ-AVIAL 
>> wrote:
>>
>>> Hello,
>>>   we are running into some issues with files created with OPENSEQ. We
>>> are using Jbase 5.11 over Solaris 10, and we have setup umask 002, in order
>>> to avoid files being writable by others. It works fine if I create a new
>>> file by doing
>>>
>>> jsh miaeod ~ -->touch test

Re: Type ahead buffer?

2018-12-13 Thread Jim Idle
It does a lot better than that and provides a uniform interface for
keyboard independence, which you can easily access from jBC. The jSH, JET
replacement and JED editor use this for instance:

https://docs.jbase.com/34463-mv-migration-station/keyboard-independence

This is far more powerful than trying to code it yourself.

Jim


On Fri, Dec 14, 2018 at 5:15 AM wsw  wrote:

> Does jbasic have a type-ahead buffer where I can check for control
> characters before they are displayed on the terminal? I've tried IN, INS
> and KEYIN().
>
> Thanks in advance.
>
> --
> --
> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>
> To post, send email to jBASE@googlegroups.com
> To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/jBASE?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "jBASE" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jbase+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
IMPORTANT: T24/Globus posts are no longer accepted on this forum.

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"jBASE" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jbase+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Issue with umask and openseq

2018-12-12 Thread Jim Idle
In your touch example above, you have used two different file names - that
is obviously not the output from your actual commands and you have not
shown the value of umask. You 'touch test2.txt', then you 'ls' the file
test1.txt, then you show the ls output of test2.txt, where you have
seemingly the output of umask 2. You should really do those commands from
scratch and list the actual output, not a mock-up.

jBASE will use the umask setting of its inherited environment. Here, you
are using jsh, which is a jBASE program, so it will pick up the umask that
it received at the time it started up. jSH may be a little different in
that it might respect the umask command on the command line, but I no
longer remember - I think not though - you can test by changing umask at
the jsh command line and seeing what happens when you create new files.
But the best thing to do is to set umask in your .profile or bash profile.
This is so that when you start your jBASE program, it inherits the
umask from the environment it starts up in.

You could also change jsh mode to sh mode, then use:

umask 002 ; TEST.OPENSEQ

Personally, I would not use jSH - just learn bash properly.

I do not believe that we ever made any special environment things for
umask, but there is something buzzing in the back of my head about umask.
But start by setting umask before you start any jBNASE program.

I checked the latest OPENSEQ docs on the jBASE web site. But whoever took
my original text and wrote misleading things about read locks, and garbled
the grammar, obviously did not know much about how it actually works, then
compounded the garbled explanation with an example in lower case with
comments such as:

* open the jbase file
 open 

Yeah - I can see why you didn't consult the documentation!

On Thu, Dec 13, 2018 at 1:13 PM JOSE L MARTINEZ-AVIAL 
wrote:

> Hello,
>   we are running into some issues with files created with OPENSEQ. We are
> using Jbase 5.11 over Solaris 10, and we have setup umask 002, in order to
> avoid files being writable by others. It works fine if I create a new file
> by doing
>
> jsh miaeod ~ -->touch test2.txt
> jsh miaeod ~ -->ls -lrt test1.txt
> -rw-rw-r--   1 miaeod   tafc   0 Dec 12 22:56 test2.txt
>
>  but if I write a program that just creates a file and closes it, the file
> is created with permissions for others to read
> jsh miaeod ~ -->CT DEV.BP TEST.OPENSEQ
> TEST.OPENSEQ
> 001 PROGRAM TEST.OPENSEQ
> 002 FILE.NAME = "test.txt"
> 003   OPENSEQ FILE.NAME TO FILE.CREATED ELSE CREATE FILE.CREATED ELSE
> DISPLAY 'ERROR CREATING TABLE' ; STOP
> 004   WEOFSEQ FILE.CREATED
> 005 CLOSESEQ FILE.CREATED
> 006 RETURN
> 007 END
>
> jsh miaeod ~ -->TEST.OPENSEQ
> jsh miaeod ~ -->ls -lrt test.txt
> -rw-rw-rw-   1 miaeod   tafc   0 Dec 12 22:56 test.txt
>
>What could be the issue?
>
> thanks
>
> JL
>
> --
> --
> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>
> To post, send email to jBASE@googlegroups.com
> To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/jBASE?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "jBASE" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jbase+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
IMPORTANT: T24/Globus posts are no longer accepted on this forum.

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"jBASE" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jbase+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Corrupted Partition file

2018-03-02 Thread Jim Idle
Maurice is correct here, though 2007 can come from actual corruption, or
maybe a spy reference to Kubric. I presume you took a full backup before
your update? Also, what did you update?

Before anything else, your procedure is:

1) If you did not already do so, make a backup now, fire yourself [joke]
2) OK, make a copy of the partition so you can have a few goes
3) Run jcheck against the partition file - see what it says
4) jcheck -s
5) jcheck -S if not
6) Restore from backup

I presume that you were not waiting for an answer here though if it was a
critical system?

Jim

On Thu, Mar 1, 2018 at 23:11 Maurice Staelen  wrote:

> Hi,
>
> Make sure OS is enabled to read write large files. Otherwise this is what
> you get. There is a specific tuning on Unix OS to enable that.
>
> Maurice
>
>
> On 1 Mar 2018, at 09:15, Murali Krishna B S 
> wrote:
>
> Hi Team,
>
> We have a distributed a large j4 file, however one the partitioned file is
> corrupted during a critical update.
>
> Now accessing this partition is causing read error as below.
>
> "ERROR! Select processing detected record error"
>
> Error 2007 during READ_ERROR to file
>
> Appreciate if you could guide us a way to restore this file.
>
> Thanks in advance
>
>
> --
> --
> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>
> To post, send email to jBASE@googlegroups.com
> To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/jBASE?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "jBASE" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jbase+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
>
> --
> --
> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>
> To post, send email to jBASE@googlegroups.com
> To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/jBASE?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "jBASE" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jbase+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
IMPORTANT: T24/Globus posts are no longer accepted on this forum.

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"jBASE" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jbase+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: JBASE equivalent to using sockets in D3?

2018-01-25 Thread Jim Idle
Those D3 socket routines are very clunky and I bet nobody has tested them
for security either. Execute a script as described here (you can also then
use https and not send your customers data over the interwebs without
encryption):

http://discoposse.com/2012/06/30/powershell-invoke-restmethod-putting-the-curl-in-your-shell/

Jim

On Fri, Jan 26, 2018 at 04:43 Treg Taylor (SKS) 
wrote:

> On Windows, call a powershell script that wraps a call to
> System.Net.WebClient.
>
> On Jan 25, 2018 1:23 PM, Greg Iverson  wrote:
>
> Hi Dan!
>
> We are running jBASE on Windows  :(
>
> On Thursday, January 25, 2018 at 1:00:54 PM UTC-6, DanE wrote:
>
> Very simple in Linux and therefore in jBASE on Linux, just use curl and
> capture the results.
>
>
>
> [image: jBASE] 
> Dan Ell
> jBASE Technical Engineer
> *949-383-2429*
>  |
> 866‑582‑8447
> *d...@jbase.com*
>  |
> *www.jbase.com* 
>
> 
> 
> 
> 
>
> 
> 9245
> 
>  Research
> 
>  Drive
> 
> 
>
> 
>
> 
> 
> 
> 
> 
> 
>
> 

Re: variable++ / ++variable behavior in jbase 3 / jbase 5

2018-01-25 Thread Jim Idle
This behavior is correct. Pre-increment (++v) increments the variable and
uses its value. Post-increment uses the current value, THEN increments the
value at the end of the operation.

Cheers,

Jim

On Wed, Jan 24, 2018 at 12:37 William  wrote:

> Hi,
>
>
> After doing some very odd testing, I'm seeing some answers from jbase that
> I wasn't expecting. I'm interested in the why piece of it.
>
> In the program below, lines 4 thru 10 are behaving as I would expect, but
> lines 15 and 19  for the first crt K value looks to be wrong. Even though
> lines 14 and 18 set K=2, it appears K=3. Hopefully highlighting the pieces
> makes it a little bit more clear.
>
> 001
> 002 VALS= 1: @AM: 2: @AM: 3: @AM: 4: @AM: 5
> 003
> 004 K= 2
> 005 CRT "K after= ": K:; CRT SPACE(5): VALS
> 006 CRT "K= ": K
> 007 CRT
> 008 K= 2
> 009 CRT "before K= ": K:; CRT SPACE(5): VALS<++K>
> 010 CRT "K= ": K
> 011
> 012 CRT "***"; CRT "***"; CRT "***"
> 013
> 014 K= 2
> 015 CRT "K after= ": K: SPACE(5): VALS
> 016 CRT "K= ": K
> 017 CRT
> 018 K= 2
> 019 CRT "before K= ": K: SPACE(5): VALS<++K>
> 020 CRT "K= ": K
>
>
>
> K after= 2 2
> K= 3
>
> before K= 2 3
> K= 3
> ***
> ***
> ***
> K after= 3 2
> K= 3
>
> before K= 3 3
> K= 3
>
>
> After making the line 18 change, I'm seeing the following so it doesn't
> look unique to # 2.:
>
> 018 K= 1
> 019 CRT "before K= ": K: SPACE(5): VALS<++K>
> 020 CRT "K= ": K
>
>
> before K= 2 2
> K= 2
>
>
>
>
>
> Thanks,
> William
>
> --
> --
> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>
> To post, send email to jBASE@googlegroups.com
> To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/jBASE?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "jBASE" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jbase+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
IMPORTANT: T24/Globus posts are no longer accepted on this forum.

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"jBASE" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jbase+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: .bmp as part of a print job

2017-07-25 Thread Jim Idle
Just as food for thought, I have always liked Bob's products, if that makes
any difference to you.

Jim

On Fri, Jul 21, 2017 at 11:38 PM, Bob Rasmussen  wrote:

> Richard,
>
> With Print Wizard (our product, external to jBase), you can combine an
> image file (such as a BMP) with a main print job consisting of plain text,
> Print Wizard Markup Language, PCL-5, or PDF. You can specify the location
> and size at which the image file can be printed.
>
> Contact me for more info if interested.
>
>
> On Fri, 21 Jul 2017, Richard Kann wrote:
>
> Hi All:
>>
>>
>>Looking to print a signature file (.bmp file) on an invoice printing
>> through jbase (on windows). Any ideas of a program or way to do that? I was
>> using dosprinter but all of a sudden it will not work anymore. Just sits in
>> the spooler, does not print. Jbase 3.x
>>
>>
>> Richard Kann
>>
>> Comp-Ware
>>
>> --
>> --
>> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>>
>> To post, send email to jBASE@googlegroups.com
>> To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
>> For more options, visit this group at http://groups.google.com/group
>> /jBASE?hl=en
>>
>> --- You received this message because you are subscribed to the Google
>> Groups "jBASE" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to jbase+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>>
> Regards,
> Bob Rasmussen,   President,   Rasmussen Software, Inc.
>
> personal e-mail: r...@anzio.com
>  company e-mail: r...@anzio.com
>   voice: (US) 503-624-0360 (9:00-6:00 Pacific Time)
> fax: (US) 503-624-0760
> web: http://www.anzio.com
>  street address: Rasmussen Software, Inc.
>  10240 SW Nimbus, Suite L9
>  Portland, OR  97223  USA
>

-- 
-- 
IMPORTANT: T24/Globus posts are no longer accepted on this forum.

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"jBASE" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jbase+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: .bmp as part of a print job

2017-07-22 Thread Jim Idle
>From within what now??? ;)


From: jbase@googlegroups.com  on behalf of Rick Weiser 

Sent: Saturday, July 22, 2017 12:47:55 AM
To: jBASE
Subject: Re: .bmp as part of a print job

Hi Richard,

We have used a product called IrfanView (http://www.irfanview.com/) to print 
signatures on a POS Printer.  It has command line options that let you EXECUTE 
it from within pick.

Rick

On Friday, July 21, 2017 at 10:40:02 AM UTC-4, Richard Kann wrote:
Hi All:


 Looking to print a signature file (.bmp file) on an invoice
printing through jbase (on windows). Any ideas of a program or way to do
that? I was using dosprinter but all of a sudden it will not work
anymore. Just sits in the spooler, does not print. Jbase 3.x


Richard Kann

Comp-Ware


--
--
IMPORTANT: T24/Globus posts are no longer accepted on this forum.

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

---
You received this message because you are subscribed to the Google Groups 
"jBASE" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
jbase+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

-- 
-- 
IMPORTANT: T24/Globus posts are no longer accepted on this forum.

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"jBASE" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jbase+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Jbase Error 2 : While Creating user object

2017-06-13 Thread Jim Idle
The account you are using for your Phantoms is what I am asking about, not
your /usr/jbc directory. Does that account have a $HOME and does it have
the correct permissions. If it is not $HOME then it is some other file or
directory that you do not have permissions for. Compare the relevant
directories.

Although should not /usr/jbc/tmp have the same permissions as proc?

Jim

On Tue, Jun 13, 2017 at 3:28 PM, Mujtaba Khan <mujtaba...@gmail.com> wrote:

> Hi ,
>
>   Below are the permissions on /usr/jbc . Issue is not very frequent it
> appears specifically while trying to start the Phantoms , from SERVER A
> while every thing is fine on server B
>
> drwxr-xr-x2 t24usr   t24usr  256 Dec 10 2008  logs
> drwxr-xr-x5 t24usr   t24usr  256 Dec 10 2008  java
> -r--r--r--1 t24usr   t24usr  110 Dec 10 2008  RELEASE
> -r--r--r--1 t24usr   t24usr  763 Dec 10 2008  OPTIONS
> -rw-r--r--1 t24usr   t24usr 8192 Dec 10 2008  SYS_TYPE_INFO]D
> -rw-r--r--1 t24usr   t24usr 8192 Dec 10 2008  SYS_TYPE_INFO
> -rw-r--r--1 t24usr   t24usr 8192 Dec 10 2008
>  SYS_TABLE_RELATIONS]D
> -rw-r--r--1 t24usr   t24usr 8192 Dec 10 2008
>  SYS_TABLE_RELATIONS
> drwxr-xr-x4 t24usr   t24usr 4096 Dec 10 2008  include
> drwxr-xr-x2 t24usr   t24usr  256 Dec 10 2008  jet
> -rw-r--r--1 t24usr   t24usr 8192 Dec 10 2008  jbcmessages]D
> -rw-rw-r--1 t24usr   t24usr   204800 Dec 10 2008  jbcmessages
> drwxrwxr-x2 t24usr   t24usr 4096 Dec 10 2008  src
> -rw-r--r--1 t24usr   t24usr50039 Dec 10 2008  jbc.init.err
> -r-xr-xr-x1 t24usr   t24usr  576 Dec 10 2008  jbase_env.sh
> -rw-rw-r--1 t24usr   t24usr 8192 Dec 10 2008  jbackup]D
> drwxrwxr-x2 t24usr   t24usr 4096 Dec 10 2008  dev
> drwxrwxr-x   11 t24usr   t24usr 4096 Dec 10 2008  samples
> drwxr-xr-x2 t24usr   t24usr 4096 Dec 10 2008  lib
> drwxrwxrwx3 t24usr   t24usr  256 Dec 31 2009  jbase_data
> drwxr-xr-x4 t24usr   t24usr 4096 Jan 01 2010  config
> -rw-rw-r--1 t24usr   t24usr   498560 Feb 16 2011  proc.tar.Z
> drwxr-xr-x3 t24usr   t24usr57344 Oct 19 2011  bin
> drwxrwxrwx   11 t24usr   t24usr 4096 May 26 11:38 proc
> drwxrwxr-x3 t24usr   t24usr73728 May 30 14:40 tmp
> t24appshba:/usr/jbc
>
>
> On Tue, Jun 13, 2017 at 10:28 AM, Mujtaba Khan <mujtaba...@gmail.com>
> wrote:
>
>> Hi ,
>>
>>   Below are the permissions on /usr/jbc . Issue is not very frequent it
>> appears specifically while trying to start the Phantoms , from SERVER A
>> while every thing is fine on server B
>>
>> On Tue, Jun 13, 2017 at 10:03 AM, Jim Idle <j...@temporal-wave.com>
>> wrote:
>>
>>> UNIX error 2 means 'permission denied'. Does the account that you are
>>> trying to start the job B on have a properly configured and writeable home
>>> directory?
>>>
>>> On Jun 12, 2017, at 15:36, Mujtaba Khan <mujtaba...@gmail.com> wrote:
>>>
>>> Hi Guys;
>>>
>>>  We are using Jbase 5.0 on AIX 7.2 in  multi server environment ;
>>> recently in SERVER A only we are facing
>>>
>>> jbase Error 2 : While creating user object
>>>
>>> Issue specifically while trying to start the phantom in that server
>>> other things are normally working
>>>
>>> i already clear the PROC directory but still issue is appearing
>>>
>>> --
>>> Regards
>>>
>>> Mujtaba Yousuf Khan
>>> T24 Consultant
>>>
>>> --
>>> --
>>> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>>>
>>> To post, send email to jBASE@googlegroups.com
>>> To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
>>> For more options, visit this group at http://groups.google.com/group
>>> /jBASE?hl=en
>>>
>>> ---
>>> You received this message because you are subscribed to the Google
>>> Groups "jBASE" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to jbase+unsubscr...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>> --
>>> --
>>> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>>>
>>> To post, send email to jBASE@googlegroups.com
>>> To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
>>> For more options, visit this group at http://groups.google.com/g

Re: Jbase Error 2 : While Creating user object

2017-06-13 Thread Jim Idle
UNIX error 2 means 'permission denied'. Does the account that you are trying to 
start the job B on have a properly configured and writeable home directory?

> On Jun 12, 2017, at 15:36, Mujtaba Khan  wrote:
> 
> Hi Guys;
> 
>  We are using Jbase 5.0 on AIX 7.2 in  multi server environment ; 
> recently in SERVER A only we are facing 
> 
> jbase Error 2 : While creating user object 
> 
> Issue specifically while trying to start the phantom in that server other 
> things are normally working 
> 
> i already clear the PROC directory but still issue is appearing 
> 
> -- 
> Regards
> 
> Mujtaba Yousuf Khan 
> T24 Consultant 
> -- 
> -- 
> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>  
> To post, send email to jBASE@googlegroups.com
> To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
> For more options, visit this group at 
> http://groups.google.com/group/jBASE?hl=en
> 
> --- 
> You received this message because you are subscribed to the Google Groups 
> "jBASE" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to jbase+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
-- 
IMPORTANT: T24/Globus posts are no longer accepted on this forum.

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"jBASE" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jbase+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: List a table with multivalues and the index of the multivalue

2017-04-21 Thread Jim Idle
However, if the position of a datum in a multivalue is important, then the data 
design is completely broken. 

Jim

> On Apr 21, 2017, at 19:43, Kevin Powick  wrote:
> 
> Look into creating a dictionary item with the A Correlative using the NV 
> System Parameter Operand.
> 
> http://jbase.com/r5/knowledgebase/manuals/3.0/30manpages/man/jql2_CONVERSION.A.htm
> 
> --
> Kevin Powick
> 
>> On Friday, April 21, 2017 at 12:26:00 PM UTC-4, Jose L wrote:
>> Hello,
>>  I have a table with some fields multivalued. I can list them and I got a 
>> list for each one of the multivalues:
>> 
>> LIST F.BATCH JOB.NAME JOB.STATUS 
>>  
>>PAGE1 11:36:05  21 APR 2017
>>  
>>  
>>
>> @ID...
>> JOB.NAMEJOB.STATUS   
>> 
>> BNK/REGEN.CRF.RVL.PRT EOD.CRF.REVAL   0  
>>   
>>   EOD.CRF.REVAL.POST 
>> 0
>>   RE.UPDT.STAT.LINE.CONT 
>> 0
>>   EB.STAT.PRINT  
>> 0
>> BNK/SC.BATCH.PERFSC.EOD.CASH.FLOW.TRANS 0
>>   EOD.CFT.MKT.UPD
>> 0
>>   
>> SC.PERF.DETAIL.UPD.BATCH0
>>   EB.PRINT   
>>0
>> BNK/SC.SAFE.FEES.POSTSC.SAFE.FEES.CREATE0
>>   SC.SAFEKEEP.ACC.REPORT 
>>0
>>   
>> 
>> 
>> I would like to get a colum with the index of the multivalue, so it would 
>> apper as follows:
>> 
>> LIST F.BATCH JOB.NAME JOB.STATUS 
>>  
>>PAGE1 11:36:05  21 APR 2017
>>  
>>  
>>  
>> @ID...
>> JOB.NAMEJOB.STATUS   MY.INDEX
>>  
>> 
>> BNK/REGEN.CRF.RVL.PRT EOD.CRF.REVAL   0  
>>   1
>>   EOD.CRF.REVAL.POST 
>> 02
>>   RE.UPDT.STAT.LINE.CONT 
>> 03
>>   EB.STAT.PRINT  
>> 04
>> BNK/SC.BATCH.PERFSC.EOD.CASH.FLOW.TRANS 0
>> 1
>>   EOD.CFT.MKT.UPD
>> 02
>>   
>> SC.PERF.DETAIL.UPD.BATCH03
>>   EB.PRINT   
>>04
>> BNK/SC.SAFE.FEES.POSTSC.SAFE.FEES.CREATE0
>> 1
>>   SC.SAFEKEEP.ACC.REPORT 
>> 02
>> 
>> 
>> Is there any way to do that?
>> 
>> Thanks
>> 
>> JL
> 
> -- 
> -- 
> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>  
> To post, send email to jBASE@googlegroups.com
> To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
> For more options, visit this group at 
> http://groups.google.com/group/jBASE?hl=en
> 
> --- 
> You received this message because you are subscribed to the Google Groups 
> "jBASE" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to jbase+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
-- 
IMPORTANT: T24/Globus posts are no longer accepted on this forum.

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

--- 
You received 

Re: JBase Performance Tunning to optimize SSD usage.

2017-04-19 Thread Jim Idle
The answer is almost always not to use a SAN. If you can create an SSD volume 
locally and compare it, you may be surprised. I think SANs were there most 
oversold idea in the history of storage. 

> On Apr 19, 2017, at 15:32, Felix A. Pardos De Sedas  
> wrote:
> 
> Hello Everyone. 
> We have a JBase Temenos environment that used to run in 10K rotational disks, 
> then we move the database into a new SSD volume, wishing to have a better 
> batch
> time, but it didn't was better.   At this moment, we are having the same time 
> for the job. 
> After some review from the storage side, we have found the SAN is working in 
> average
> 10% througput, so it seems from the storage side (NetApp DataOntap 8) with 
> SSD volume
> that has a 8 Gb Fibre Channel Connectivity is not a bottleneck.   The server 
> is a Solaris 
> multicore box, doesn't seems to be a bottleneck also. 
> We are wondering if there are some database parameter to optimize I/O in 
> order to let Database
> open more bandwith or connections to the storage in order to have a better 
> job time. 
> As we move the volume from rotational drives, it seems to have a not adecuate 
> optimization.
> If anyone can help, please let us know.
> Best Regards,
> Félix.
> 
> -- 
> -- 
> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>  
> To post, send email to jBASE@googlegroups.com
> To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
> For more options, visit this group at 
> http://groups.google.com/group/jBASE?hl=en
> 
> --- 
> You received this message because you are subscribed to the Google Groups 
> "jBASE" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to jbase+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
-- 
IMPORTANT: T24/Globus posts are no longer accepted on this forum.

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"jBASE" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jbase+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: DECATALOG from a particular lib file?

2017-01-06 Thread Jim Idle
However, if you have for your liveries mixed up somehow, it might be safer to 
delete everything and v referrals everything so you know you are using the 
correct set of subroutines. 
It's been a while since I worked equity jBASE. This list doesn't seem very 
active anymore.  I think Zunasys are doing a good support job :)
Jim






On Fri, Jan 6, 2017 at 1:12 PM -1000, "Bruce Willmore" 
 wrote:














Believe the option is –L library path


 

From: H 
Anureka Rajesh 
Sent: Friday, January 06, 2017 5:05 PM
To: jbase@googlegroups.com 

Subject: Re: DECATALOG from a particular lib file?
 

You may try to export library path and then DECATALOG. Command is export 
JBCDEV_LIB=


On Fri, 6 Jan 2017 at 10:38, wsw  
wrote:


  I have a subroutine in to different libraries. Is there a 
  way to specify a library name when using DECATALOG? If not then what are my 
  options to get rid of /data/files/lib/liblothold.so 
   
  
  Subroutine:  
  /data/files/lib/liblothold.so
  Subroutine (DUP!!):  
  /data/files/lib/lib3.so.29
   
  Thanks in advance.




  





-- 


-- 


IMPORTANT: T24/Globus posts are no longer accepted on 
  this forum.


 


To 
  post, send email to jBASE@googlegroups.com


To 
  unsubscribe, send email to jbase-unsubscr...@googlegroups.com


For more options, visit this group at http://groups.google.com/group/jBASE?hl=en





--- 


You received this message because you are subscribed 
  to the Google Groups "jBASE" group.


To unsubscribe 
  from this group and stop receiving emails from it, send an email to 
jbase+unsubscr...@googlegroups.com.


For more options, visit https://groups.google.com/d/optout.


-- 
-- 
IMPORTANT: 
T24/Globus posts are no longer accepted on this forum.
 
To post, 
send email to jBASE@googlegroups.com
To unsubscribe, send email to 
jbase-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

--- 

You received this message because you are subscribed to the Google Groups 
"jBASE" group.
To unsubscribe from this group and stop receiving emails from 
it, send an email to jbase+unsubscr...@googlegroups.com.
For more 
options, visit https://groups.google.com/d/optout.






-- 

-- 

IMPORTANT: T24/Globus posts are no longer accepted on this forum.

 

To post, send email to jBASE@googlegroups.com

To unsubscribe, send email to jbase-unsubscr...@googlegroups.com

For more options, visit this group at http://groups.google.com/group/jBASE?hl=en



--- 

You received this message because you are subscribed to the Google Groups 
"jBASE" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to jbase+unsubscr...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.






-- 
-- 
IMPORTANT: T24/Globus posts are no longer accepted on this forum.

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"jBASE" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jbase+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: DESCRINFO determining the "type" or a variable

2016-09-01 Thread Jim Idle
Really? Which fat bloke programmed that. I think that's a bug; it should just 
return false to say that it is not able to process that variable. 
Though comparing a file variable to "" or whatever is not a good move, what 
happens when the variable is a file descriptor?





On Thu, Sep 1, 2016 at 4:14 PM +0800, "Daniel Klein" <danielklei...@gmail.com> 
wrote:










The IOCTL() function is very useful to find out things about a file but if you 
try to use it on a variable that is not a file variable then the program will 
drop to the debugger.

The jBASE-way to programmatically determine if it is working with a file 
variable is to use the ON ERROR clause in an OPEN statement, e.g.

OPEN filename TO filevar ON ERROR
   CRT filename : ' is not a file variable'
END

On Wed, Aug 31, 2016 at 11:39 PM, Jim Idle <j...@temporal-wave.com> wrote:
Google emails is fickle some times:
http://www.jbase.com/r5/knowledgebase/manuals/3.0/30manpages/man/sup22_IOCTL.htm

Jim
On Thu, Sep 1, 2016 at 11:39 AM, Jim Idle <j...@temporal-wave.com> wrote:
I think that that is still a pretty poor way to code it, but if they have it 
already, then recoding the logic to do better initialization is probably too 
much work.
However, I seem to remember coming across this in the dim and distant past. 
What you need is to use the IOCTL function, that will tell you details about 
the variable if it is a file variable. If it is not a file variable 
(uninitialized or 0 or "" depending on emulation flavor) then it either tells 
you that, or it returns false. Easy to use and the documentatin is here:

On Thu, Sep 1, 2016 at 9:26 AM, 'Ed Clark' via jBASE <jbase@googlegroups.com> 
wrote:
There is a thread on the mvdbms google group asking about it. I think the 
original requestor was asking because they are doing a migration and keep 
stumbling over  IF FILEVAR=“” THEN….which worked on the old platform but aborts 
on the new one if the file is already open. Probably something related to 
COMMON which is initialized to to an empty string or 0 in some places and 
unassigned in other. If you’re keeping a file in COMMON to avoid repeated 
OPENs, you need to check.
The universe DESCRINFO distinguishes between database files and sequential 
files as well as between strings, arrays, and unassigned variables. I guess you 
could write a generalized logging procedure that could take either a hashed or 
sequential file as a parameter and write appropriately, or a string or empty 
variable and return the logged message in that.
On Aug 31, 2016, at 6:41 PM, Jim Idle <j...@temporal-wave.com> wrote:
I can't think how that would possibly be useful within a reasonably designed 
program - why do you need it, out of curiosity?
The only way I know of is to write a trivial C function to do the same. 
Jim






On Thu, Sep 1, 2016 at 4:35 AM +0800, "'Ed Clark' via jBASE" 
<jbase@googlegroups.com> wrote:










universe has a basic function DESCRINFO that returns the “type” of a 
variable—it is a simple variable, a file variable, a select list, assigned or 
unassigned, and so forth.
Is there an equivalent in jBase?

-- 
-- 
IMPORTANT: T24/Globus posts are no longer accepted on this forum.

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"jBASE" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jbase+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.








-- 

-- 

IMPORTANT: T24/Globus posts are no longer accepted on this forum.

 

To post, send email to jBASE@googlegroups.com

To unsubscribe, send email to jbase-unsubscr...@googlegroups.com

For more options, visit this group at http://groups.google.com/group/jBASE?hl=en



--- 

You received this message because you are subscribed to the Google Groups 
"jBASE" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to jbase+unsubscr...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.








-- 

-- 

IMPORTANT: T24/Globus posts are no longer accepted on this forum.

 

To post, send email to jBASE@googlegroups.com

To unsubscribe, send email to jbase-unsubscr...@googlegroups.com

For more options, visit this group at http://groups.google.com/group/jBASE?hl=en



--- 

You received this message because you are subscribed to the Google Groups 
"jBASE" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to jbase+unsubscr...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.










-- 

-- 

IMPORTANT: T24/Globus posts are no longer accepted on this forum.

 

To post, send e

Re: DESCRINFO determining the "type" or a variable

2016-08-31 Thread Jim Idle
Google emails is fickle some times:

http://www.jbase.com/r5/knowledgebase/manuals/3.0/30manpages/man/sup22_IOCTL.htm

Jim

On Thu, Sep 1, 2016 at 11:39 AM, Jim Idle <j...@temporal-wave.com> wrote:

> I think that that is still a pretty poor way to code it, but if they have
> it already, then recoding the logic to do better initialization is probably
> too much work.
>
> However, I seem to remember coming across this in the dim and distant
> past. What you need is to use the IOCTL function, that will tell you
> details about the variable if it is a file variable. If it is not a file
> variable (uninitialized or 0 or "" depending on emulation flavor) then it
> either tells you that, or it returns false. Easy to use and the
> documentatin is here:
>
>
> On Thu, Sep 1, 2016 at 9:26 AM, 'Ed Clark' via jBASE <
> jbase@googlegroups.com> wrote:
>
>> There is a thread on the mvdbms google group asking about it. I think the
>> original requestor was asking because they are doing a migration and keep
>> stumbling over
>>   IF FILEVAR=“” THEN….
>> which worked on the old platform but aborts on the new one if the file is
>> already open. Probably something related to COMMON which is initialized to
>> to an empty string or 0 in some places and unassigned in other. If you’re
>> keeping a file in COMMON to avoid repeated OPENs, you need to check.
>>
>> The universe DESCRINFO distinguishes between database files and
>> sequential files as well as between strings, arrays, and unassigned
>> variables. I guess you could write a generalized logging procedure that
>> could take either a hashed or sequential file as a parameter and write
>> appropriately, or a string or empty variable and return the logged message
>> in that.
>>
>> On Aug 31, 2016, at 6:41 PM, Jim Idle <j...@temporal-wave.com> wrote:
>>
>> I can't think how that would possibly be useful within a reasonably
>> designed program - why do you need it, out of curiosity?
>>
>> The only way I know of is to write a trivial C function to do the same.
>>
>> Jim
>>
>>
>>
>>
>>
>> On Thu, Sep 1, 2016 at 4:35 AM +0800, "'Ed Clark' via jBASE" <
>> jbase@googlegroups.com> wrote:
>>
>> universe has a basic function DESCRINFO that returns the “type” of a 
>> variable—it is a simple variable, a file variable, a select list, assigned 
>> or unassigned, and so forth.
>>> Is there an equivalent in jBase?
>>>
>>> --
>>> --
>>> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>>>
>>> To post, send email to jBASE@googlegroups.com
>>> To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
>>> For more options, visit this group at 
>>> http://groups.google.com/group/jBASE?hl=en
>>>
>>> ---
>>> You received this message because you are subscribed to the Google Groups 
>>> "jBASE" group.
>>> To unsubscribe from this group and stop receiving emails from it, send an 
>>> email to jbase+unsubscr...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>>
>> --
>> --
>> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>>
>> To post, send email to jBASE@googlegroups.com
>> To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
>> For more options, visit this group at http://groups.google.com/group
>> /jBASE?hl=en
>>
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "jBASE" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to jbase+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>>
>> --
>> --
>> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>>
>> To post, send email to jBASE@googlegroups.com
>> To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
>> For more options, visit this group at http://groups.google.com/group
>> /jBASE?hl=en
>>
>> ---
>> You received this message because you are subscribed to the Google Groups
>> "jBASE" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to jbase+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
-- 
IMPORTANT: T24/Globus posts are no longer accepted on this forum.

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"jBASE" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jbase+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: DESCRINFO determining the "type" or a variable

2016-08-31 Thread Jim Idle
I think that that is still a pretty poor way to code it, but if they have
it already, then recoding the logic to do better initialization is probably
too much work.

However, I seem to remember coming across this in the dim and distant past.
What you need is to use the IOCTL function, that will tell you details
about the variable if it is a file variable. If it is not a file variable
(uninitialized or 0 or "" depending on emulation flavor) then it either
tells you that, or it returns false. Easy to use and the documentatin is
here:


On Thu, Sep 1, 2016 at 9:26 AM, 'Ed Clark' via jBASE <jbase@googlegroups.com
> wrote:

> There is a thread on the mvdbms google group asking about it. I think the
> original requestor was asking because they are doing a migration and keep
> stumbling over
>   IF FILEVAR=“” THEN….
> which worked on the old platform but aborts on the new one if the file is
> already open. Probably something related to COMMON which is initialized to
> to an empty string or 0 in some places and unassigned in other. If you’re
> keeping a file in COMMON to avoid repeated OPENs, you need to check.
>
> The universe DESCRINFO distinguishes between database files and sequential
> files as well as between strings, arrays, and unassigned variables. I guess
> you could write a generalized logging procedure that could take either a
> hashed or sequential file as a parameter and write appropriately, or a
> string or empty variable and return the logged message in that.
>
> On Aug 31, 2016, at 6:41 PM, Jim Idle <j...@temporal-wave.com> wrote:
>
> I can't think how that would possibly be useful within a reasonably
> designed program - why do you need it, out of curiosity?
>
> The only way I know of is to write a trivial C function to do the same.
>
> Jim
>
>
>
>
>
> On Thu, Sep 1, 2016 at 4:35 AM +0800, "'Ed Clark' via jBASE" <
> jbase@googlegroups.com> wrote:
>
> universe has a basic function DESCRINFO that returns the “type” of a 
> variable—it is a simple variable, a file variable, a select list, assigned or 
> unassigned, and so forth.
>> Is there an equivalent in jBase?
>>
>> --
>> --
>> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>>
>> To post, send email to jBASE@googlegroups.com
>> To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
>> For more options, visit this group at 
>> http://groups.google.com/group/jBASE?hl=en
>>
>> ---
>> You received this message because you are subscribed to the Google Groups 
>> "jBASE" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to jbase+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>>
> --
> --
> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>
> To post, send email to jBASE@googlegroups.com
> To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
> For more options, visit this group at http://groups.google.com/
> group/jBASE?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "jBASE" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jbase+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
>
> --
> --
> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>
> To post, send email to jBASE@googlegroups.com
> To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
> For more options, visit this group at http://groups.google.com/
> group/jBASE?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "jBASE" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jbase+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
IMPORTANT: T24/Globus posts are no longer accepted on this forum.

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"jBASE" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jbase+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: DESCRINFO determining the "type" or a variable

2016-08-31 Thread Jim Idle
I can't think how that would possibly be useful within a reasonably designed 
program - why do you need it, out of curiosity?
The only way I know of is to write a trivial C function to do the same. 
Jim






On Thu, Sep 1, 2016 at 4:35 AM +0800, "'Ed Clark' via jBASE" 
 wrote:










universe has a basic function DESCRINFO that returns the “type” of a 
variable—it is a simple variable, a file variable, a select list, assigned or 
unassigned, and so forth.
Is there an equivalent in jBase?

-- 
-- 
IMPORTANT: T24/Globus posts are no longer accepted on this forum.

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"jBASE" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jbase+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.





-- 
-- 
IMPORTANT: T24/Globus posts are no longer accepted on this forum.

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"jBASE" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jbase+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: CALLJ. classpath and arguments

2016-06-23 Thread Jim Idle
If you want to do anything more complex, then it is better to write your
own JNI C routine and call that. I never really liked the CALLJ thing.

But why would you not be able to set the classpath until the CALLJ is
executed. You may want to review your architecture if you have to do this.
Apart from anything else, that is quite a security hole you will be
digging.

You could also do things the other way around and write a JNI that calls
your jBC routine(s) and is the application controller.



On Thu, Jun 23, 2016 at 4:19 PM, JOSE L MARTINEZ-AVIAL 
wrote:

> Hello,
> I'm using jbase 5.11, and I'm trying to use CALLJ for Java routines.
> I've been able to call a simple routine as follows:
>
> // PickBasic
> CALLJ "mytestclass", "$mystaticmethod2", 'TONY' SETTING ret ON ERROR
> err = SYSTEM(0)
> DISPLAY "ERROR ":err
> END
> DISPLAY ret
>
>  // Java
> public static String mystaticmethod2(String s) {
> System.out.println("mystaticmethod2 ");
> return "test";
> }
>
> but I have two issues I would like to address:
>
>   1) The classpath needs to be defined before starting jbase. If I set it
> or change it during the jbase session, it has no effect. Is there any way I
> do this? Ideally I would like to set the classpath just before calling
> CALLJ.
>
>   2) The only arguments/return objects possible seem to be String. Is
> there any way to pass multiple arguments, or an array of Strings? Is there
> any way it can return something an array of Strings, mapped to a dynamic
> array, or similar?
>
>
> Thanks
> JL
>
> --
> --
> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>
> To post, send email to jBASE@googlegroups.com
> To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/jBASE?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "jBASE" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jbase+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
IMPORTANT: T24/Globus posts are no longer accepted on this forum.

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"jBASE" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jbase+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Fast copying of records from one table to another

2016-05-19 Thread Jim Idle
Assuming that there is a good reason to copy all the records like this,
then you have a number of options, of which the best is probably something
akin to this:

If you need to use a JQL SELECT to identify the records, then do not do
this with an external EXECUTE or a SELECT before starting your program.
Read how to use the jBC interface to jQL, which will allow you to use a
filter such that you do not first read the record and select it into a
list, then traverse the file again. If you do not really need jQL then just
use SELECT and READNEXT/READ, and filter your items as you traverse the
file. This is essentially the same as a JQL in JBC traverse but avoids the
overhead of processing dictionary items. For instance if your selection is
based on something trivial like "attr 3 is set to 'Y'" then don't bother
with jQL.

Next, if your job will be an offline batch job, with no other processes
accessing the file, then open the file in read only exclusive mode. This
allows the JEDI code to skip setting any read locks on the source file and
just assumes that the file will not be modified while you are traversing
it. This is much faster than normal reads. You cannot do this if any other
process may write to the file while you are reading it. If the JEDI driver
sees that the file does not have write permissions, it should automatically
open the file in this mode. However, it has been quite some time since I
had anything to do with that code, so you should make sure that this is
still true.

I doubt that using more than one 'thread' to do the read and write will get
you too much in the way of performance because the processes can compete
for write locks and the write order will defeat any OS level write
optimisations. It is possible that you will get better throughput with say
two processes and less throughput with five processes because of lock
contention.

Although the sequential traversal of your input file will cause the file to
come in to memory (especially if your OS has been tuned to recognize
sequential read patterns and to perform read-ahead at a low level), you may
find that the read process can be improved by forcing the file in to cache
before you start (this depends on memory pressure from the rest of the
system though). Something like using the dd command to read the raw file in
large blocks and send the output to /dev/null.

Unless you are forced to do so because of company policy etc. Do not use
the F.READ F.WRITE subroutines as they are going to be very much slower
than direct jBC code. But I think the F.READ type calls also do other
things such as audit trails, so you will have to refer to your corporate
policies on that.

Finally, if you are copying all the records, then if you can gain exclusive
access for a short period, just use the native cp command to copy the raw
data file. In some instances, a dd will perform better than that with
judicious selection of block sizes.

So, given your pseudo code above, it seems that you only need fairly simple
filters and shoudl use jBC code to SELECT, READNEXT, CHECK ID (check
anything else) READ, WRITE

Jim


On Thu, May 19, 2016 at 3:16 PM, Paweł Birgiel  wrote:

> Hi. I have a task to make a service which will copy records from one table
> to another as fast as possible (using at most 5 agents). I have a problem
> with choosing the best way to do that.
>
> The most obvious solution seems to be using one READ and one WRITE (they
> appear to be a bit faster than F.READ and F.WIRTE) per each Y.ID in my
> main routine (after selecting list of records in SELECT routine). But it's
> still a bit slow way and I'm not sure I'm using service capabilities at one
> hundred percent. Another way is to use EXECUTE 'COPY FROM TABLE.A TO
> TABLE.B' for each record separately in main routine, but it doesn't seem to
> be faster.
>
> The most frustrating part is, when I'm using just jQL syntax in my shell
> and type something like: COPY FROM TABLE.A TO TABLE.B ALL, then sometimes
> it's even faster than my service!
>
> I was also thinking about another solution:
>
> SELECT TABLE.A WITH @ID LIKE LOC...
> COPY FROM TABLE.A TO TABLE.B
>
> This way we can copy multiple records at once. Maybe I should send larger
> chunks of id-s to the main routine of my service and then copy all of them?
> I made some tries and it doesn't seem to be much faster, sometimes it's
> even slower.
>
> Have you got any piece of advice for me?
>
> --
> --
> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>
> To post, send email to jBASE@googlegroups.com
> To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/jBASE?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "jBASE" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jbase+unsubscr...@googlegroups.com.
> For more options, visit 

Re: Compiler warnings list

2016-05-04 Thread Jim Idle
On Mon, May 2, 2016 at 7:52 PM, VK <kzm...@gmail.com> wrote:

> Thanks Jim
> as for new ownership, probably no luck since I use Temenos TAFC... (but my
> query wasn't "T24-related" :))
>
> Rather interesting how jBase 5.2 and TAFC are feeling now - do they drift
> apart or there's some common work still?
>
>
I do not have any information about the relationship I am afraid so I do
not know if there will be any code sharing or not - you would have to ask
your Temenos service people if you are interested. I do expect jBASE to
improve and get new features given that Greg Cooper is now back working on
the code base. I haven't fired him yet, but I am sure I can think of some
way to do so, so he can remain motivated ;)

Jim





> Cheers
> VK
>
>
> On Monday, 2 May 2016 12:29:34 UTC+2, Jim Idle wrote:
>
>> Well I wrote the compiler, though it's a long time ago now. I can
>> remember what is in there... Mostly.
>>
>> With the new ownership I doubt that such things would be kept secret -
>> ask them, I consider them to be very good guys. But there are few warnings
>> because the semantics basically make it impossible to conduct any checks.
>>
>> With newer parser technology and newer methodology I would probably spot
>> more things if I were to write it again. But not too much more. What's
>> really needed is a modernization.
>>
>> No offense taken by your comments - I felt no disrespect :)
>>
>> Jim
>>
>>
>>
>>
>>
>> On Mon, May 2, 2016 at 3:00 AM -0700, "VK" <kzm...@gmail.com> wrote:
>>
>> Hi All,
>>> nice to see a vivid conversation in this group :))) Again, I just asked
>>> for a list to be able to parse the compiler output. We don't allow the code
>>> with any warnings to pass the test, let alone to reach production (even if
>>> it's "compiled successfully"). The list would help to see where are catches
>>> (or what it misses).
>>>
>>> As we see, everything is a secret in jBase - syntax is "only for
>>> internal development", the warnings list might exist but possibly would
>>> never find its way to this group. OK, we have docs but there are many
>>> things that are still murky... No offence to any of you, you're always a
>>> great help.
>>>
>>>
>>> Cheers
>>> VK
>>>
>>>
>>> On Saturday, 30 April 2016 11:05:28 UTC+2, Jim Idle wrote:
>>>
>>>> To be perfectly honest, I added that to the compiler for a bit of a
>>>> joke. I never expected that anyone would find it. But then I thought that
>>>> if you had a code generator, it might be a useful warning. Depending on how
>>>> it's formulated, the C compiler will elide it.
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> On Sat, Apr 30, 2016 at 2:03 AM -0700, "Daniel Klein" <
>>>> daniel...@gmail.com> wrote:
>>>>
>>>> 10 (base 2) *is *less than 5 (base 10)"There are only 10 types of
>>>>> people in the world, those who understand binary and those who don't."
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Fri, Apr 29, 2016 at 10:08 PM, Richard Kann <h...@comp-ware.net>
>>>>> wrote:
>>>>>
>>>>>> Simple. I is a warning that the world has turned upside down.
>>>>>> Wouldn't you want to know when 10 is less than 5? :-)
>>>>>> Richard May
>>>>>> Comp-Ware
>>>>>>
>>>>>>
>>>>>> On 4/29/2016 6:13 PM, Daniel Klein wrote:
>>>>>>
>>>>>> What is the purpose of a statement like
>>>>>>
>>>>>> IF 10 < 5 THEN ...
>>>>>>
>>>>>> in live code?
>>>>>>
>>>>>> Daniel Klein
>>>>>>
>>>>>> On Fri, Apr 29, 2016 at 4:09 AM, VK <kzm...@gmail.com> wrote:
>>>>>>
>>>>>>> Hi Colleagues,
>>>>>>>
>>>>>>> I noticed some compiler warnings that doesn't really matter for this
>>>>>>> topic, like:
>>>>>>>
>>>>>>> [warning  (74)] "C:\compiler\temp\TEST.IT.b", 16
>>>>>>> (offset 13)  near RESERVED WORD "THEN":
>>>>>>>
>>>>>>> Expression always evaluates as FALSE '10 < 5'
>>>>>>&g

Re: Compiler warnings list

2016-05-02 Thread Jim Idle
Well I wrote the compiler, though it's a long time ago now. I can remember what 
is in there... Mostly. 
With the new ownership I doubt that such things would be kept secret - ask 
them, I consider them to be very good guys. But there are few warnings because 
the semantics basically make it impossible to conduct any checks. 
With newer parser technology and newer methodology I would probably spot more 
things if I were to write it again. But not too much more. What's really needed 
is a modernization. 
No offense taken by your comments - I felt no disrespect :)
Jim






On Mon, May 2, 2016 at 3:00 AM -0700, "VK" <kzm...@gmail.com> wrote:










Hi All,nice to see a vivid conversation in this group :))) Again, I just asked 
for a list to be able to parse the compiler output. We don't allow the code 
with any warnings to pass the test, let alone to reach production (even if it's 
"compiled successfully"). The list would help to see where are catches (or what 
it misses).
As we see, everything is a secret in jBase - syntax is "only for internal 
development", the warnings list might exist but possibly would never find its 
way to this group. OK, we have docs but there are many things that are still 
murky... No offence to any of you, you're always a great help.

CheersVK

On Saturday, 30 April 2016 11:05:28 UTC+2, Jim Idle  wrote:To be perfectly 
honest, I added that to the compiler for a bit of a joke. I never expected that 
anyone would find it. But then I thought that if you had a code generator, it 
might be a useful warning. Depending on how it's formulated, the C compiler 
will elide it. 






On Sat, Apr 30, 2016 at 2:03 AM -0700, "Daniel Klein" <daniel...@gmail.com> 
wrote:










10 (base 2) is less than 5 (base 10)

"There are only 10 types of people in the world, those who understand binary 
and those who don't."


On Fri, Apr 29, 2016 at 10:08 PM, Richard Kann <h...@comp-ware.net> wrote:

  

  
  


Simple. I is a warning that the world has turned upside down.
  Wouldn't you want to know when 10 is less than 5? :-)


Richard Kann

Comp-Ware



On 4/29/2016 6:13 PM, Daniel Klein
  wrote:



  

  
What is the purpose of a statement like

  


IF 10 < 5 THEN ...



  
  in live code?

  


Daniel Klein

  
  

On Fri, Apr 29, 2016 at 4:09 AM, VK <kzm...@gmail.com>
  wrote:

  

  Hi Colleagues,
  

  
  I noticed some compiler warnings that doesn't really
matter for this topic, like:
  

  
  



[warning  (74)]
"C:\compiler\temp\TEST.IT.b", 16 (offset 13)  near
RESERVED WORD "THEN":




Expression always evaluates as FALSE '10
  < 5'







the question is - is
  there a list of all warnings documented somewhere?
  Hope it's not a top secret like the language
  syntax? :)))







Cheers


VK










-- 

-- 

IMPORTANT: T24/Globus posts are no longer accepted on
this forum.

 

To post, send email to jb...@googlegroups.com

To unsubscribe, send email to jbase-un...@googlegroups.com

For more options, visit this group at 
http://groups.google.com/group/jBASE?hl=en



--- 

You received this message because you are subscribed to
the Google Groups "jBASE" group.

To unsubscribe from this group and stop receiving emails
from it, send an email to jbase+un...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

  



  
  -- 

  -- 

  IMPORTANT: T24/Globus posts are no longer accepted on this forum.

   

  To post, send email to jb...@googlegroups.com

  To unsubscribe, send email to jbase-un...@googlegroups.com

  For more options, visit this group at 
http://groups.google.com/group/jBASE?hl=en

  

  --- 

  You received this message because you are subscribed to the Google
  Groups "jBASE" group.

  To unsubscribe from this group and stop receiving emails from it

Re: Terminal Emulator features; was Re: Subversion password prompt not showing in telnet

2016-05-02 Thread Jim Idle
Your stuff was (is I guess?) good. I use securecrt because their emulations are 
great and performance is generally good. But now I use it because I've used it 
so long that I can't get on with anything else. 
How are things going for you?






On Sun, May 1, 2016 at 1:50 PM -0700, "Bob Rasmussen" <r...@anzio.com> wrote:










So an open question for all: what do you especially like about your 
favorite terminal emulator?

On Fri, 29 Apr 2016, VK wrote:

> Hi All,
> 
> another 2 cents: PuTTY.
> Free, open source code.
> 
> Cheers
> VK
> 
> 
> On Friday, 29 April 2016 04:30:42 UTC+2, Charlie Noah wrote:
>   There are people out there still using basic telnet for business
>   purposes? I have always respected Jim's opinions, and he is
>   right - SecureCRT is the best TE all around. I used SecureCRT
>   for years, and even though I've been retired for a while, I
>   still get their updates, and they are staying current with all
>   the security threats popping up.
>
>   Just my 2¢ worth,
>   Charlie
>
>   On 04-28-2016 9:09 PM, Jim Idle wrote:
>   Yes - the USE_WIN32_CONSOLE_SHORTCUT
>   is likely the culprit. In order to intercept console IO,
>   there was some deep dark voodoo done in the telnet
>   service. If something uses nasty hacks like that to
>   perform IO, then all bets are off.
> I suggest taking a look at moving to SSH, despite the obvious
> problem of TE upgrades. I use SecureCRT and it is easily the
> best TE out there. The main reason is security, which I
> currently work in. Telnet has a lot of issues in this regard and
> a lot of new ways into systems have been discovered since that
> code was written. IF you are sure that your environment is
> secure, then perhaps you can wing it for a while, but
> I would give it serious consideration.
> 
> Jim
> 
> PS: Hello Mark
> 
> On Fri, Apr 29, 2016 at 12:35 AM, Tuber 
> wrote:
>   On Wednesday, April 27, 2016 at 8:24:54 PM UTC-7,
>   Jim Idle wrote:
> It's very likely that subversion is
> using special code to display the
> message and probably to read the
> password.  The answer might be that you
> cannot do that. That telnet code is very
> old now, you may be better trying an SSH
> server.
> However, you could store the SVN password so it does
> not prompt, or, as the enter key works, maybe just
> type the password and see what happens. Perhaps it
> is trying to use a Windows popup?
> Jim
> 
> 
> I looked at the subversion code last night and it's a rats
> nest;  it uses this Apache Portable Runtime that I haven't
> been able to untangle.  If anyone wants to have a go I've
> traced it down to 
> svn_cmdline_fputs:http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_subr/cmdlin
> e.c?view=markup#l382
> Of particular interest is the USE_WIN32_CONSOLE_SHORTCUT
> define.
> 
> It's not using a windows popup:  If you enter the password
> it accepts it and stores it in the svn configuration
> directory.
> The problem I was trying to solve was when a new developer
> attempts to use my code that "PERFORM"s subversion and it
> hangs for no visible reason.  What I figured out is to use
> cmd /c svn ci blah blah 0>&1
> When subversion runs it figures out that there will be no
> stdin coming, and instead of prompting for the password
> and invisibly hanging, it prints out an error message and
> continues.  If the password was already stored it does its
> thing.
> 
> The SSH server is a good idea, but more than I want to
> bite off at this time.  (That means upgrading all our
> terminal emulators, configuring them all, etc)
> 
> Mark: F2 does not work, neither does running CMD, or doing
> it through a PERFORM.  I'm sure now that it's subversion
> not playing nicely with the telnetd, not the shell.
> 
> --
> --
> IMPORTANT: T24/Globus posts are no longer accepted on this
> forum.
>  
> To post, send email to jb...@googlegroups.com
> To unsubscribe, send email to jbase-un...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/jBASE?hl=en
> 
> ---
> You received this message because you are subscribed to
> the Google Groups "jBASE" group.
> To unsubscribe from this group and stop receiving emails
> from it, send an email to jbase+un...@googlegroups.com.
> For more options, visit
> https://groups.google.com/d/optout.
> 
> 
> --
> --
> IMPORTANT: T24/Globus posts are no longer accepted on this
> forum.
>  
> To post, send email to jb...@googlegroups.com
> To unsubscribe, send email to jbas

Re: Compiler warnings list

2016-04-30 Thread Jim Idle
To be perfectly honest, I added that to the compiler for a bit of a joke. I 
never expected that anyone would find it. But then I thought that if you had a 
code generator, it might be a useful warning. Depending on how it's formulated, 
the C compiler will elide it. 






On Sat, Apr 30, 2016 at 2:03 AM -0700, "Daniel Klein"  
wrote:










10 (base 2) is less than 5 (base 10)

"There are only 10 types of people in the world, those who understand binary 
and those who don't."


On Fri, Apr 29, 2016 at 10:08 PM, Richard Kann  wrote:

  

  
  


Simple. I is a warning that the world has turned upside down.
  Wouldn't you want to know when 10 is less than 5? :-)


Richard Kann

Comp-Ware



On 4/29/2016 6:13 PM, Daniel Klein
  wrote:



  

  
What is the purpose of a statement like

  


IF 10 < 5 THEN ...



  
  in live code?

  


Daniel Klein

  
  

On Fri, Apr 29, 2016 at 4:09 AM, VK 
  wrote:

  

  Hi Colleagues,
  

  
  I noticed some compiler warnings that doesn't really
matter for this topic, like:
  

  
  



[warning  (74)]
"C:\compiler\temp\TEST.IT.b", 16 (offset 13)  near
RESERVED WORD "THEN":




Expression always evaluates as FALSE '10
  < 5'







the question is - is
  there a list of all warnings documented somewhere?
  Hope it's not a top secret like the language
  syntax? :)))







Cheers


VK










-- 

-- 

IMPORTANT: T24/Globus posts are no longer accepted on
this forum.

 

To post, send email to jBASE@googlegroups.com

To unsubscribe, send email to jbase-unsubscr...@googlegroups.com

For more options, visit this group at 
http://groups.google.com/group/jBASE?hl=en



--- 

You received this message because you are subscribed to
the Google Groups "jBASE" group.

To unsubscribe from this group and stop receiving emails
from it, send an email to jbase+unsubscr...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

  



  
  -- 

  -- 

  IMPORTANT: T24/Globus posts are no longer accepted on this forum.

   

  To post, send email to jBASE@googlegroups.com

  To unsubscribe, send email to jbase-unsubscr...@googlegroups.com

  For more options, visit this group at 
http://groups.google.com/group/jBASE?hl=en

  

  --- 

  You received this message because you are subscribed to the Google
  Groups "jBASE" group.

  To unsubscribe from this group and stop receiving emails from it,
  send an email to jbase+unsubscr...@googlegroups.com.

  For more options, visit https://groups.google.com/d/optout.




  






-- 

-- 

IMPORTANT: T24/Globus posts are no longer accepted on this forum.

 

To post, send email to jBASE@googlegroups.com

To unsubscribe, send email to jbase-unsubscr...@googlegroups.com

For more options, visit this group at http://groups.google.com/group/jBASE?hl=en



--- 

You received this message because you are subscribed to the Google Groups 
"jBASE" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to jbase+unsubscr...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.








-- 

-- 

IMPORTANT: T24/Globus posts are no longer accepted on this forum.

 

To post, send email to jBASE@googlegroups.com

To unsubscribe, send email to jbase-unsubscr...@googlegroups.com

For more options, visit this group at http://groups.google.com/group/jBASE?hl=en



--- 

You received this message because you are subscribed to the Google Groups 
"jBASE" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to jbase+unsubscr...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.






-- 
-- 
IMPORTANT: T24/Globus posts are no longer accepted on this forum.

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com

Re: Compiler warnings list

2016-04-29 Thread Jim Idle
That's just to tell you that something looks fishy. There are very few warnings 
because the language is so loose that if its syntactically correct then it's 
usually impossible to prove any semantic aberrations. 






On Fri, Apr 29, 2016 at 3:13 PM -0700, "Daniel Klein"  
wrote:










What is the purpose of a statement like

IF 10 < 5 THEN ...

in live code?

Daniel Klein

On Fri, Apr 29, 2016 at 4:09 AM, VK  wrote:
Hi Colleagues,
I noticed some compiler warnings that doesn't really matter for this topic, 
like:




[warning  (74)]
"C:\compiler\temp\TEST.IT.b", 16 (offset 13)  near RESERVED WORD "THEN":



Expression always evaluates as FALSE '10 < 5'




the question is - is there a list of all warnings documented somewhere? Hope 
it's not a top secret like the language syntax? :)))




Cheers

VK










-- 

-- 

IMPORTANT: T24/Globus posts are no longer accepted on this forum.

 

To post, send email to jBASE@googlegroups.com

To unsubscribe, send email to jbase-unsubscr...@googlegroups.com

For more options, visit this group at http://groups.google.com/group/jBASE?hl=en



--- 

You received this message because you are subscribed to the Google Groups 
"jBASE" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to jbase+unsubscr...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.








-- 

-- 

IMPORTANT: T24/Globus posts are no longer accepted on this forum.

 

To post, send email to jBASE@googlegroups.com

To unsubscribe, send email to jbase-unsubscr...@googlegroups.com

For more options, visit this group at http://groups.google.com/group/jBASE?hl=en



--- 

You received this message because you are subscribed to the Google Groups 
"jBASE" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to jbase+unsubscr...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.






-- 
-- 
IMPORTANT: T24/Globus posts are no longer accepted on this forum.

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"jBASE" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jbase+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Subversion password prompt not showing in telnet

2016-04-28 Thread Jim Idle
Yes - the USE_WIN32_CONSOLE_SHORTCUT is likely the culprit. In order to
intercept console IO, there was some deep dark voodoo done in the telnet
service. If something uses nasty hacks like that to perform IO, then all
bets are off.

I suggest taking a look at moving to SSH, despite the obvious problem of TE
upgrades. I use SecureCRT and it is easily the best TE out there. The main
reason is security, which I currently work in. Telnet has a lot of issues
in this regard and a lot of new ways into systems have been discovered
since that code was written. IF you are sure that your environment is
secure, then perhaps you can wing it for a while, but I would give it
serious consideration.

Jim

PS: Hello Mark

On Fri, Apr 29, 2016 at 12:35 AM, Tuber <kevsp...@fastmail.fm> wrote:

> On Wednesday, April 27, 2016 at 8:24:54 PM UTC-7, Jim Idle wrote:
>>
>> It's very likely that subversion is using special code to display the
>> message and probably to read the password.
>> The answer might be that you cannot do that. That telnet code is very old
>> now, you may be better trying an SSH server.
>> However, you could store the SVN password so it does not prompt, or, as
>> the enter key works, maybe just type the password and see what happens.
>> Perhaps it is trying to use a Windows popup?
>> Jim
>>
>
> I looked at the subversion code last night and it's a rats nest;  it uses
> this Apache Portable Runtime that I haven't been able to untangle.  If
> anyone wants to have a go I've traced it down to svn_cmdline_fputs:
> http://svn.apache.org/viewvc/subversion/trunk/subversion/libsvn_subr/cmdline.c?view=markup#l382
> Of particular interest is the USE_WIN32_CONSOLE_SHORTCUT define.
>
> It's not using a windows popup:  If you enter the password it accepts it
> and stores it in the svn configuration directory.
> The problem I was trying to solve was when a new developer attempts to use
> my code that "PERFORM"s subversion and it hangs for no visible reason.
> What I figured out is to use cmd /c svn ci blah blah 0>&1
> When subversion runs it figures out that there will be no stdin coming,
> and instead of prompting for the password and invisibly hanging, it prints
> out an error message and continues.  If the password was already stored it
> does its thing.
>
> The SSH server is a good idea, but more than I want to bite off at this
> time.  (That means upgrading all our terminal emulators, configuring them
> all, etc)
>
> Mark: F2 does not work, neither does running CMD, or doing it through a
> PERFORM.  I'm sure now that it's subversion not playing nicely with the
> telnetd, not the shell.
>
> --
> --
> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>
> To post, send email to jBASE@googlegroups.com
> To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/jBASE?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "jBASE" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jbase+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
IMPORTANT: T24/Globus posts are no longer accepted on this forum.

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"jBASE" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jbase+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Pop Quiz - Equates

2016-04-16 Thread Jim Idle
It's the ultimate insult :)






On Sat, Apr 16, 2016 at 1:53 AM -0700, "Daniel Klein" <danielklei...@gmail.com> 
wrote:










And now we know why you fired yourself!

On Fri, Apr 15, 2016 at 10:44 PM, Jim Idle <j...@temporal-wave.com> wrote:
At jBASE, if you didn't get fired at least twice a week, then you were probably 
in line to be fired ;)






On Fri, Apr 15, 2016 at 5:48 AM -0700, "Ross Ferris" <ross.fer...@hotmail.com> 
wrote:












I thought that was Donald’s line?

 

From: jbase@googlegroups.com [mailto:jbase@googlegroups.com] On Behalf Of Jim 
Idle
Sent: Thursday, April 14, 2016 4:00 PM
To: jBASE <jbase@googlegroups.com>
Subject: Re: Pop Quiz - Equates

 

You are not allowed to nick my lines

 

On Thu, Apr 14, 2016 at 7:11 AM, Kevin Powick <kpow...@gmail.com> wrote:



On Wednesday, 13 April 2016 18:51:53 UTC-4, Tuber wrote:

 

What prints out?

 

You're fired.

 

--

Kevin Powick

-- 
-- 
IMPORTANT: T24/Globus posts are no longer accepted on this forum.
 
To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"jBASE" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jbase+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

 

-- 
-- 
IMPORTANT: T24/Globus posts are no longer accepted on this forum.
 
To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"jBASE" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jbase+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.





-- 

-- 

IMPORTANT: T24/Globus posts are no longer accepted on this forum.

 

To post, send email to jBASE@googlegroups.com

To unsubscribe, send email to jbase-unsubscr...@googlegroups.com

For more options, visit this group at http://groups.google.com/group/jBASE?hl=en



--- 

You received this message because you are subscribed to the Google Groups 
"jBASE" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to jbase+unsubscr...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.












-- 

-- 

IMPORTANT: T24/Globus posts are no longer accepted on this forum.

 

To post, send email to jBASE@googlegroups.com

To unsubscribe, send email to jbase-unsubscr...@googlegroups.com

For more options, visit this group at http://groups.google.com/group/jBASE?hl=en



--- 

You received this message because you are subscribed to the Google Groups 
"jBASE" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to jbase+unsubscr...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.








-- 

-- 

IMPORTANT: T24/Globus posts are no longer accepted on this forum.

 

To post, send email to jBASE@googlegroups.com

To unsubscribe, send email to jbase-unsubscr...@googlegroups.com

For more options, visit this group at http://groups.google.com/group/jBASE?hl=en



--- 

You received this message because you are subscribed to the Google Groups 
"jBASE" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to jbase+unsubscr...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.






-- 
-- 
IMPORTANT: T24/Globus posts are no longer accepted on this forum.

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"jBASE" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jbase+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


RE: Pop Quiz - Equates

2016-04-15 Thread Jim Idle
At jBASE, if you didn't get fired at least twice a week, then you were probably 
in line to be fired ;)






On Fri, Apr 15, 2016 at 5:48 AM -0700, "Ross Ferris" <ross.fer...@hotmail.com> 
wrote:












I thought that was Donald’s line?

 

From: jbase@googlegroups.com [mailto:jbase@googlegroups.com] On Behalf Of Jim 
Idle
Sent: Thursday, April 14, 2016 4:00 PM
To: jBASE <jbase@googlegroups.com>
Subject: Re: Pop Quiz - Equates

 

You are not allowed to nick my lines

 

On Thu, Apr 14, 2016 at 7:11 AM, Kevin Powick <kpow...@gmail.com> wrote:



On Wednesday, 13 April 2016 18:51:53 UTC-4, Tuber wrote:

 

What prints out?

 

You're fired.

 

--

Kevin Powick

-- 
-- 
IMPORTANT: T24/Globus posts are no longer accepted on this forum.
 
To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"jBASE" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jbase+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

 

-- 
-- 
IMPORTANT: T24/Globus posts are no longer accepted on this forum.
 
To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"jBASE" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jbase+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.





-- 

-- 

IMPORTANT: T24/Globus posts are no longer accepted on this forum.

 

To post, send email to jBASE@googlegroups.com

To unsubscribe, send email to jbase-unsubscr...@googlegroups.com

For more options, visit this group at http://groups.google.com/group/jBASE?hl=en



--- 

You received this message because you are subscribed to the Google Groups 
"jBASE" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to jbase+unsubscr...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.






-- 
-- 
IMPORTANT: T24/Globus posts are no longer accepted on this forum.

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"jBASE" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jbase+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: PWR, ^, and (suprise) **

2016-04-14 Thread Jim Idle


On Tuesday, March 29, 2016 at 3:03:33 AM UTC+8, Tuber wrote:
>
> On Friday, March 25, 2016 at 10:23:14 PM UTC-7, Jim Idle wrote:
>>
>> It's easy to circumvent. I've written the Jbase/mv parser a few times 
>> now. 
>>
>
> On that note,  is the jbasic grammar available?  Does jbase internally use 
> ANTLR?
>

I am afraid not, this is for private development work. But if you persevere 
it is not that difficult with ANTLR4 - there is more work on what to do 
with the parse results once you have them. 

-- 
-- 
IMPORTANT: T24/Globus posts are no longer accepted on this forum.

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"jBASE" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jbase+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Pop Quiz - Equates

2016-04-14 Thread Jim Idle
With jBASE, the equates are handled by the pre-processor before they even
reach the compiler:

source -> pre-processor -> compiler -> codegen

Equates are elided before they reach the compiler, which knows nothing
about them.

So, once a line of text is processed it is fixed in stone and no subsequent
equating will affect lines that are already processed.

There is also macro processing in the pre-processor but I no longer
remember if it works - I know I never documented it because I decided that
macros were evil enough in C, never mind jBC applications.

It also supports #ifdef etc as well.

Jim

On Thu, Apr 14, 2016 at 7:10 AM, Charlie Noah  wrote:

> It works just like I would expect. If it were Microdata or others like it,
> you may not even have been able to equate X to Y at all. X is equated
> runtime, and just because Y changes later, that wouldn't affect X. That's
> why you can re-equate variables later.
>
> Charlie
>
> On 04-13-2016 1:03 PM, Tuber wrote:
>
> What prints out?
>
> EQU Y TO 6
> EQU X TO Y
> EQU Y TO 5
> PRINT X
>
>
>
> I thought the answer would be 5 because I thought EQU worked like a
> pre-processor definition. ... Turns out it doesn't.
> --
> --
> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>
> To post, send email to jBASE@googlegroups.com
> To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/jBASE?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "jBASE" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jbase+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
>
> --
> --
> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>
> To post, send email to jBASE@googlegroups.com
> To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/jBASE?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "jBASE" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jbase+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
IMPORTANT: T24/Globus posts are no longer accepted on this forum.

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"jBASE" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jbase+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Pop Quiz - Equates

2016-04-14 Thread Jim Idle
You are not allowed to nick my lines

On Thu, Apr 14, 2016 at 7:11 AM, Kevin Powick  wrote:

>
>
> On Wednesday, 13 April 2016 18:51:53 UTC-4, Tuber wrote:
>
> What prints out?
>>
>
> You're fired.
>
> --
> Kevin Powick
>
> --
> --
> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>
> To post, send email to jBASE@googlegroups.com
> To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/jBASE?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "jBASE" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jbase+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
IMPORTANT: T24/Globus posts are no longer accepted on this forum.

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"jBASE" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jbase+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Pop Quiz - Equates

2016-04-14 Thread Jim Idle
The equate processor in jBASE is true text/macro replacement. I think that
this would not work exactly the same in some versions of MV.

But this was a conscious decision when I wrote it, err 25 years ago...
blimey.

So, as it is a pre-processor:


   - Y is set to 6
   - The Y in the Equate X is replaced with 6 and so X is 6
   - Y is equated again - I always wondered if I should not issue a warning
   for that
   - The X in PRINT X is replaced with 6


So, perfectly logical.

Jim

On Thu, Apr 14, 2016 at 2:03 AM, Tuber  wrote:

> What prints out?
>
> EQU Y TO 6
> EQU X TO Y
> EQU Y TO 5
> PRINT X
>
>
>
> I thought the answer would be 5 because I thought EQU worked like a
> pre-processor definition. ... Turns out it doesn't.
>
> --
> --
> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>
> To post, send email to jBASE@googlegroups.com
> To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/jBASE?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "jBASE" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jbase+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
IMPORTANT: T24/Globus posts are no longer accepted on this forum.

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"jBASE" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jbase+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: PWR, ^, and (suprise) **

2016-03-25 Thread Jim Idle
It's easy to circumvent. I've written the Jbase/mv parser a few times now. 






On Fri, Mar 25, 2016 at 12:13 PM -0700, "Tuber"  wrote:










Am messing around with ANTLR, trying to figure out how to parse JBASE comments, 
and discovered that ** is equivalent to PWR.
... And it's not in the documentation.






-- 

-- 

IMPORTANT: T24/Globus posts are no longer accepted on this forum.

 

To post, send email to jBASE@googlegroups.com

To unsubscribe, send email to jbase-unsubscr...@googlegroups.com

For more options, visit this group at http://groups.google.com/group/jBASE?hl=en



--- 

You received this message because you are subscribed to the Google Groups 
"jBASE" group.

To unsubscribe from this group and stop receiving emails from it, send an email 
to jbase+unsubscr...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.






-- 
-- 
IMPORTANT: T24/Globus posts are no longer accepted on this forum.

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"jBASE" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jbase+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: CHAIN command on JB3 win 7 stopped working

2016-03-25 Thread Jim Idle
Good detective work. :)


> On Mar 25, 2016, at 18:13, Daniel Klein  wrote:
> 
> And the answer is...
> 
> None of the Windows Updates/Security Patches affect the the CHAIN statement 
> or anything else jBASE-related for that matter; verified on 2 fully patched 
> Win7 32bit systems running jBASE 3.4.10.
> 
> Could it possibly be the command that the CHAIN statement was executing? Or 
> perhaps some other recently installed/conflicting software on this particular 
> system?
> 
> I suppose it might have been best for the original poster to verify the issue 
> on a second system before making any sweeping conclusions.
> 
> Daniel Klein
> 
> 
>> On Mon, Mar 21, 2016 at 9:34 AM, Richard Kann  wrote:
>> Has anyone noticed that the 3/9 security patches for Win 7 pro stops the 
>> basic CHAIN command from working on JB3.x?
>> 
>> If so do you know which one does it? I had to delete all of them.
>> 
>> RIchard Kann
>> Comp-Ware
>> 
>> -- 
>> -- 
>> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>> 
>> To post, send email to jBASE@googlegroups.com
>> To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
>> For more options, visit this group at 
>> http://groups.google.com/group/jBASE?hl=en
>> 
>> --- You received this message because you are subscribed to the Google 
>> Groups "jBASE" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to jbase+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
> 
> -- 
> -- 
> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>  
> To post, send email to jBASE@googlegroups.com
> To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
> For more options, visit this group at 
> http://groups.google.com/group/jBASE?hl=en
> 
> --- 
> You received this message because you are subscribed to the Google Groups 
> "jBASE" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to jbase+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
-- 
IMPORTANT: T24/Globus posts are no longer accepted on this forum.

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"jBASE" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jbase+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: CHAIN command on JB3 win 7 stopped working

2016-03-22 Thread Jim Idle
Might be though that is to with OLE validating input sources. It may need a
jBASE fix then an upgrade.

On Tue, Mar 22, 2016 at 1:37 PM, <m...@proman.com> wrote:

> Just a guess but this may be of some help as well.
>
>
>
>
> http://www.zumasys.com/peter-schellenbach/windows-update-breaks-old-accuterm-versions/
>
>
>
> *From:* jbase@googlegroups.com [mailto:jbase@googlegroups.com] *On Behalf
> Of *Jim Idle
> *Sent:* Monday, March 21, 2016 6:55 PM
> *To:* jbase@googlegroups.com
> *Subject:* Re: CHAIN command on JB3 win 7 stopped working
>
>
>
> I presume that you mean 3/8?
>
>
>
> https://technet.microsoft.com/en-us/security/bulletin/dn602597.aspx
>
>
>
> From that list there are a number that are possibilities. As I have not
> seen the code for a long time, my bet would be:
>
>
>
> https://technet.microsoft.com/en-us/library/security/ms16-025
>
>
>
> My second guess would be:
>
>
>
> https://technet.microsoft.com/en-us/library/security/ms16-031
>
>
>
> The way to check is of course to install the patch updates, then remove
> one by one until you find which one does it. There is a possibility that a
> number of these share a common patch to a single library and therefore a
> number of them may seem to be the issue.
>
>
>
> However, after the patches, it's probably the case that you have to add
> some extra permission(s) to the user profile(s) in order to grant the
> privileges that CHAIN now needs. It really needs someone to single step
> through the jBASE code to see what security violation is being detected.
>
>
>
> It does raise a general issue that CHAIN may in fact be a hijackable
> security point, though I doubt there is anyone targeting this.
>
>
>
>
>
> Jim
>
>
>
>
>
> On Mon, Mar 21, 2016 at 9:34 PM, Richard Kann <h...@comp-ware.net> wrote:
>
> Has anyone noticed that the 3/9 security patches for Win 7 pro stops the
> basic CHAIN command from working on JB3.x?
>
> If so do you know which one does it? I had to delete all of them.
>
> RIchard Kann
> Comp-Ware
>
> --
> --
> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>
> To post, send email to jBASE@googlegroups.com
> To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/jBASE?hl=en
>
> --- You received this message because you are subscribed to the Google
> Groups "jBASE" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jbase+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
>
>
> --
> --
> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>
> To post, send email to jBASE@googlegroups.com
> To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/jBASE?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "jBASE" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jbase+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>
> --
> --
> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>
> To post, send email to jBASE@googlegroups.com
> To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/jBASE?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "jBASE" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jbase+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
IMPORTANT: T24/Globus posts are no longer accepted on this forum.

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"jBASE" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jbase+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: CHAIN command on JB3 win 7 stopped working

2016-03-21 Thread Jim Idle
I presume that you mean 3/8?

https://technet.microsoft.com/en-us/security/bulletin/dn602597.aspx

>From that list there are a number that are possibilities. As I have not
seen the code for a long time, my bet would be:

https://technet.microsoft.com/en-us/library/security/ms16-025

My second guess would be:

https://technet.microsoft.com/en-us/library/security/ms16-031

The way to check is of course to install the patch updates, then remove one
by one until you find which one does it. There is a possibility that a
number of these share a common patch to a single library and therefore a
number of them may seem to be the issue.

However, after the patches, it's probably the case that you have to add
some extra permission(s) to the user profile(s) in order to grant the
privileges that CHAIN now needs. It really needs someone to single step
through the jBASE code to see what security violation is being detected.

It does raise a general issue that CHAIN may in fact be a hijackable
security point, though I doubt there is anyone targeting this.


Jim


On Mon, Mar 21, 2016 at 9:34 PM, Richard Kann  wrote:

> Has anyone noticed that the 3/9 security patches for Win 7 pro stops the
> basic CHAIN command from working on JB3.x?
>
> If so do you know which one does it? I had to delete all of them.
>
> RIchard Kann
> Comp-Ware
>
> --
> --
> IMPORTANT: T24/Globus posts are no longer accepted on this forum.
>
> To post, send email to jBASE@googlegroups.com
> To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/jBASE?hl=en
>
> --- You received this message because you are subscribed to the Google
> Groups "jBASE" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to jbase+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
IMPORTANT: T24/Globus posts are no longer accepted on this forum.

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"jBASE" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jbase+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Getting back to a true jBASE forum

2011-08-25 Thread Jim Idle
I think he Means that some issues are not clear. 

On Aug 25, 2011, at 7:08, Kevin Powick kpow...@gmail.com wrote:

 
 On Aug 23, 11:20 pm, Nguyen Trong Dai daint.teme...@gmail.com wrote:
 
 Because T24 and Jbase have strong relationship, I think in many case we can
 not know exactly what is Jbase, what is T24
 
 And that's the problem of a typical T24 poster.  Not knowing the
 difference between the database and the application.
 
 --
 Kevin Powick
 
 -- 
 Please read the posting guidelines at: 
 http://groups.google.com/group/jBASE/web/Posting%20Guidelines
 
 IMPORTANT: Type T24: at the start of the subject line for questions specific 
 to Globus/T24
 
 To post, send email to jBASE@googlegroups.com
 To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
 For more options, visit this group at 
 http://groups.google.com/group/jBASE?hl=en

-- 
Please read the posting guidelines at: 
http://groups.google.com/group/jBASE/web/Posting%20Guidelines

IMPORTANT: Type T24: at the start of the subject line for questions specific to 
Globus/T24

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en


RE: Getting back to a true jBASE forum

2011-08-25 Thread Jim Idle
Oh shut up.

Jim

 -Original Message-
 From: jbase@googlegroups.com [mailto:jbase@googlegroups.com] On Behalf
 Of Tony Gravagno
 Sent: Thursday, August 25, 2011 12:20 PM
 To: jBASE@googlegroups.com
 Subject: RE: Getting back to a true jBASE forum

 Hmmm...

 - jBase people don't know or care about T24.
 - T24 people don't know about jBase.
 - Some perceive the jBase forum has been killed by T24 dominance.
 - Jim believes the jBase forum can't survive without T24.

 Product Marketing for Temenos and jBase International: please take some
 notes from this discussion.  You have serious communications problems
 that needs to be fixed, way beyond the public forum.  But we've known
 this for quite a long time now, haven't we?


 Regards,
 T

 From: Simon
  As you may know, jBASE is owned by Temenos...
 
  ...it would appear that many T24 users seem to not recognise a
  differentiation between the T24 application and the jBASE database it
  runs on - hence a lot of the confusing posts.

  David Grenfell wrote:
 I have been retired now for a few years, but still lurk in this
 group.
 I guess, I'm losing touch but...WHAT THE !@# IS T24.  Is it an
 application written in Jbase or another DBS that has replaced Jbase.
 Seems like every time there is a T24 problem, it gets blamed on
 Jbase,
 so it can't be a replacement.
 If it is an application, then why can't the guys and gals who wrote
 it
 be responsible for it?  All my old clients used to call me if my
 application had a bug.
 I never blamed it on Jbase.

 --
 Please read the posting guidelines at:
 http://groups.google.com/group/jBASE/web/Posting%20Guidelines

 IMPORTANT: Type T24: at the start of the subject line for questions
 specific to Globus/T24

 To post, send email to jBASE@googlegroups.com To unsubscribe, send
 email to jbase-unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/jBASE?hl=en

-- 
Please read the posting guidelines at: 
http://groups.google.com/group/jBASE/web/Posting%20Guidelines

IMPORTANT: Type T24: at the start of the subject line for questions specific to 
Globus/T24

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en


Re: Getting back to a true jBASE forum

2011-08-24 Thread Jim Idle
Mark,

Don't Aussies always read bottom up?

Jim

On Aug 24, 2011, at 14:55, Mark Hogden m...@proman.com wrote:

 If I had bothered to read this all the way to the bottom I would have wasted
 more time than I spent all last year filtering T24 crap(jimi will no doubt
 attribute this to my antipodean education and not the length of the post),
 and if I added in the time spent lurking in CDP well...
 
 As the poster implied, it's folks who don't know a correlative from a
 coconut that probably stand to benefit most from this kind of hybrid group,
 and they probably represent the majority of jBase seats, so WTF. And who
 knows, maybe if we were nice to them they might consider another jBase
 solution at some point in their bright futures.
 
 Now if only someone would start a top posting vs bottom posting, newsreader
 shootout thread, and then cross post it, I could avoid work altogether.
 
 -Original Message-
 From: jbase@googlegroups.com [mailto:jbase@googlegroups.com] On Behalf Of
 Tony Gravagno
 Sent: Wednesday, August 24, 2011 2:05 PM
 To: jBASE@googlegroups.com
 Subject: RE: RE: Getting back to a true jBASE forum
 
 From: Nguyen Trong Dai
 Because T24 and Jbase have strong relationship, I think in many case 
 we can not know exactly what is Jbase, what is T24...
 
 If a person can't tell the difference between the database and their
 business application then they probably aren't the right person to be
 posting to a forum on behalf of their employer.
 
 The question to ask yourself is would my question apply to anyone with this
 DBMS, or does it only apply to banks with this specific software?.  The
 question During the replication of the two servers which mode is best
 supported by jbase?  is a DBMS question, not to be prefaced with T24.  A
 question like is there a menu option to turn on replication is a T24
 question.  A borderline case might be my custom BASIC code failed to update
 a file in a subroutine call, and I don't know if the application restricted
 the update or if the DBMS did.
 
 When in doubt, post to the T24 forum and you will either get a response
 there, or someone will suggest you post to the DBMS forum.  That's not too
 tough is it?  This happens every day in other forums.
 
 The alternative is that the entire jBase membership gets an enquiry that has
 nothing to do with jBase - I think this actually hurts the jBase community,
 giving people the impression that jBase is now nothing more than a subset of
 T24.  This forum has
 1927 subscriptions of which some percentage does not use T24, and this has
 been going on for 6 years.  Non-T24 people don't burden the group with their
 application-related questions like how do I run period end close, they
 take those questions elsewhere.  Bank IT people should be as considerate.
 
 Is that unreasonable or too difficult?
 
 
 , so I agree with Jim: I think that that is the end of the group; I 
 always resisted this move.
 
 Like I said, if that's the end of the jBase group, then it is what it is.
 It's up to jBase people to keep their group alive for their own reasons.  If
 T24 is the only thing keeping this group alive then it was dead a long time
 ago and people need to start thinking about how to address that problem on
 its own.
 
 Tony Gravagno
 Nebula Research and Development
 TG@ remove.pleaseNebula-RnD.com
 Nebula RD sells mv.NET and other Pick/MultiValue products worldwide, and
 provides related development services remove.pleaseNebula-RnD.com/blog Visit
 PickWiki.com! Contribute!
 http://Twitter.com/TonyGravagno
 
 
 
 
 --
 Please read the posting guidelines at:
 http://groups.google.com/group/jBASE/web/Posting%20Guidelines
 
 IMPORTANT: Type T24: at the start of the subject line for questions specific
 to Globus/T24
 
 To post, send email to jBASE@googlegroups.com To unsubscribe, send email to
 jbase-unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/jBASE?hl=en
 
 -- 
 Please read the posting guidelines at: 
 http://groups.google.com/group/jBASE/web/Posting%20Guidelines
 
 IMPORTANT: Type T24: at the start of the subject line for questions specific 
 to Globus/T24
 
 To post, send email to jBASE@googlegroups.com
 To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
 For more options, visit this group at 
 http://groups.google.com/group/jBASE?hl=en

-- 
Please read the posting guidelines at: 
http://groups.google.com/group/jBASE/web/Posting%20Guidelines

IMPORTANT: Type T24: at the start of the subject line for questions specific to 
Globus/T24

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en


Re: Getting back to a true jBASE forum

2011-08-24 Thread Jim Idle
Aw blah blah. It really doesn't matter does it now? Everyone is a user and 
everyone has some sort of app to go with it. Just lend a hand and don't worry. 

Anyway it is time to go see the Timbers slaughter Chivas. 

On Aug 24, 2011, at 14:05, Tony Gravagno e09kp5...@sneakemail.com wrote:

 From: Nguyen Trong Dai
 Because T24 and Jbase have strong relationship, I 
 think in many case we can not know exactly what is 
 Jbase, what is T24...
 
 If a person can't tell the difference between the database and
 their business application then they probably aren't the right
 person to be posting to a forum on behalf of their employer.
 
 The question to ask yourself is would my question apply to
 anyone with this DBMS, or does it only apply to banks with this
 specific software?.  The question During the replication of the
 two servers which mode is best supported by jbase?  is a DBMS
 question, not to be prefaced with T24.  A question like is
 there a menu option to turn on replication is a T24 question.  A
 borderline case might be my custom BASIC code failed to update a
 file in a subroutine call, and I don't know if the application
 restricted the update or if the DBMS did.
 
 When in doubt, post to the T24 forum and you will either get a
 response there, or someone will suggest you post to the DBMS
 forum.  That's not too tough is it?  This happens every day in
 other forums.
 
 The alternative is that the entire jBase membership gets an
 enquiry that has nothing to do with jBase - I think this actually
 hurts the jBase community, giving people the impression that
 jBase is now nothing more than a subset of T24.  This forum has
 1927 subscriptions of which some percentage does not use T24,
 and this has been going on for 6 years.  Non-T24 people don't
 burden the group with their application-related questions like
 how do I run period end close, they take those questions
 elsewhere.  Bank IT people should be as considerate.
 
 Is that unreasonable or too difficult?
 
 
 , so I agree with Jim: I think that that is the end 
 of the group; I always resisted this move.
 
 Like I said, if that's the end of the jBase group, then it is
 what it is.  It's up to jBase people to keep their group alive
 for their own reasons.  If T24 is the only thing keeping this
 group alive then it was dead a long time ago and people need to
 start thinking about how to address that problem on its own.
 
 Tony Gravagno
 Nebula Research and Development
 TG@ remove.pleaseNebula-RnD.com
 Nebula RD sells mv.NET and other Pick/MultiValue products
 worldwide, and provides related development services
 remove.pleaseNebula-RnD.com/blog
 Visit PickWiki.com! Contribute!
 http://Twitter.com/TonyGravagno
 
 
 
 
 -- 
 Please read the posting guidelines at: 
 http://groups.google.com/group/jBASE/web/Posting%20Guidelines
 
 IMPORTANT: Type T24: at the start of the subject line for questions specific 
 to Globus/T24
 
 To post, send email to jBASE@googlegroups.com
 To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
 For more options, visit this group at 
 http://groups.google.com/group/jBASE?hl=en

-- 
Please read the posting guidelines at: 
http://groups.google.com/group/jBASE/web/Posting%20Guidelines

IMPORTANT: Type T24: at the start of the subject line for questions specific to 
Globus/T24

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en


RE: jbase problems show-items-locks

2011-08-17 Thread Jim Idle
Actually, the locking behavior you suggest will only be the case so long
as the select is in hash order and not a SSELECT. A SSELECT will cause
different batch processes to access the same groups simultaneously almost
immediately, with a probability related to the number of groups (assuming
well sized) and the number of batch processes.

Also don't forget that batch inputs will be processed better if you make
the files read only and do not delete anything until a cleanup at the end
(of all processing). Knowing that there is no problem with read/update
locking, J4 files will not take the locks (unless someone changed this in
jBASE 5 for instance). Also, you should look in to FASTSCAN as application
programmers.

Jim

 -Original Message-
 From: jbase@googlegroups.com [mailto:jbase@googlegroups.com] On Behalf
 Of John Watson
 Sent: Wednesday, August 17, 2011 2:59 AM
 To: jBASE
 Subject: Re: jbase problems show-items-locks

 Hi Pawel,

 You have said

 'In our case high 'lock collision' ratio on group locks is killing
 performance. JOB.LIST.x files suffer from multiple, concurrent 'SELECTs
 SAMPLE' (~ full scan) and multiple, concurrent READUs/WRITEs'

 I'm not sure what release you use at the moment but I would only expect
 to see the above problem towards the end of a job when a high number of
 agents are being used - at the start of the job a list is created and
 each agent takes 1/number of agents * total number of records as the
 agent work load - there should be no duplication of records across
 agents at this initial stage (but of course there could be a
 duplication of groups)

 When this workload is consumed a full select will take place on the
 JOB.LIST file and hence we can have more issues with collisions on
 groups, records processed by other agents etc.

 Are you sure that the problem is actually with the JOB.LIST table and
 not locks on BATCH.STATUS or BATCH - there have been problems in this
 area in much older releases and they should now be addressed.

 If the issue is with group locks on the JOB.LIST file and the overhead
 really is substantial then perhaps there is a logical argument to
 oversize the file to minimise the number of records in a group - to be
 worthwhile the increase in select time would have to outweigh the time
 lost to group locks.

 Cheers,

 John.

 --
 Please read the posting guidelines at:
 http://groups.google.com/group/jBASE/web/Posting%20Guidelines

 IMPORTANT: Type T24: at the start of the subject line for questions
 specific to Globus/T24

 To post, send email to jBASE@googlegroups.com To unsubscribe, send
 email to jbase-unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/jBASE?hl=en

-- 
Please read the posting guidelines at: 
http://groups.google.com/group/jBASE/web/Posting%20Guidelines

IMPORTANT: Type T24: at the start of the subject line for questions specific to 
Globus/T24

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en


RE: RE: jbase problems show-items-locks

2011-08-16 Thread Jim Idle
There is in fact an option to traverse files without taking locks if you can
'know' that there are no updates. It has to be supported by the target file
type (J4, etc).

http://jbase.markmail.org/search/?q=fastscan


Jim

 -Original Message-
 From: jbase@googlegroups.com [mailto:jbase@googlegroups.com] On Behalf
 Of Pawel (privately)
 Sent: Monday, August 15, 2011 1:47 PM
 To: jbase@googlegroups.com
 Subject: RE: RE: jbase problems show-items-locks

 Hi,

With Temenos we have found there is a problem at the Jbase level
as
   we
have patched the F.READU program and there were no NULL records
being delivered here.
 Could you please elaborate kindly? Do you know what was the reason?
 What was fixed? Was it problem strictly related to HP-UX?

 Jim suggested that these could be group/binary locks and I would agree
 with him.
 I think that binary locks are listed like that under SHOW-ITEM-LOCKS
 (at least on jBASE 4.1).

 You have also said that:
We are not using the jbase locking but the UNIX locking
(set at
24,000) on a HP box as the jDLS was causing problems. The
   unix
locking has been running fine for over a month now.
 Our LIVE system is P5, AIX, jBASE 4.1 and we are also sucessfully
 running UNIX locking. However we have observed performance and
 scalability problems on P7. There are 2 facts about P7, AIX 6.1 and
 jBASE 4.1:
 a) jRLA (pthreads) locks are bit faster than UNIX locks on
 P7/AIX6.1/jBASE 4.1 - proven with jBASE test programs
 b) group locks in 4.1 are always taken as UNIX locks disregarding
 wheter you run jRLA or not. We have got information that this changed
 (was improved) in jBASE 5+/TAFC. Can jBASE 5+/TAFC use pthreads for
 group/binary locks?

 In our case high 'lock collision' ratio on group locks is killing
 performance. JOB.LIST.x files suffer from multiple, concurrent 'SELECTs
 SAMPLE' (~ full scan) and multiple, concurrent READUs/WRITEs. There
 should be an option to jBASE added - to traverse file with no locking
 on groups ('dirty traversal'). It seems that this new option should be
 used on JOB.LIST.x files and would improve performance a lot. Each
 process (agent) could do 'dirty READNEXT traversal', try to lock record
 id and move forward if locked / not existing.

 Can somebody answer me below question? Scenario:
 1. Assume you have file with 3 groups - 8192 bytes each group (2 blocks
 in jBASE 4.1) 2. Assume there are 35 records in total - 10, 10, 15 3.
 Assume there are 15 concurrent processes doing: SELECT, READNEXT (up to
 1000 iterations), READU followed by READNEXT (when record locked) and
 SLEEP 1 or doing processing (if lock sucessfully aquired) 4. Assume
 response time is no limitation (say file put to RAM disk, striped SSD
 with multiple physical disks, OS/RAID caching enabled, etc.) 5. Assume
 transaction is simple / lightweight and is quickly commited.
 6. Asumme all processes start exactly in the same moment.

 Can (theoretically) other processes be starving? (due to greedy process
 #1 which start, will constantly lock group #1 preventing other
 processes to move forward - it will be obtaing id, processing
 transaction and quickly commiting)

 Of course in realistic world no process will be starving, but may be
 significantly delayed? Am I right?

 By the way: we observe very higher System:User ratio (eg. System=90,
 User=10). Simplifying System means - 'I am not doing a (user) job for
 you my friend'.

 Kind regards
 Pawel


 Dnia 15-08-2011 o godz. 20:27 Jim Idle napisał(a):
  Are you sure you are not just seeing group/binary locks?
 
  Jim
 
   -Original Message-
   From: jbase@googlegroups.com [mailto:jbase@googlegroups.com] On
   Behalf Of VK
   Sent: Monday, August 15, 2011 7:35 AM
   To: jBASE
   Subject: Re: jbase problems show-items-locks
  
   Hi,
  
have patched the F.READU program and there were no NULL records
being delivered here.
  
   What about READU? A lot of routines in core T24 still use it.
  
   VK
  
   On Aug 14, 3:46 am, adrian ar_atkin...@yahoo.com wrote:
With Temenos we have found there is a problem at the Jbase level
as
   we
have patched the F.READU program and there were no NULL records
being delivered here.
The null problem is seen more when there are a lots of locks
   happening
for a application, and AA and AZ have this so it is easier to
 spot.
   
The F.OFS.REQUEST.DETAIL on some of out loads takes this file to
15gb and bigger.
   
Regards and Thanks
AA
   
On Aug 11, 6:58 am, VK kzm...@yahoo.com wrote:
   
   
   
   
   
   
   
 Hi,
   
 F_JOB_LIST looks ok... 2 files with no IDs are F_LANGUAGE for
 one session and FBNK_CUSTOMER_ROLE for another (though it looks
 not being DM-related - maybe the problem is here? both use
 CUSTOMER
   file)...
   
 Might be that some core code issued F.READU without supplying
 ID
   (or
 supplying a COMMON variable that contains an empty string). Put

RE: RE: RE: jbase problems show-items-locks

2011-08-16 Thread Jim Idle
Hmmm - I have an ANTLR grammar for mvbasic it took about 2 days to produce
it. I suspect that I won't be using it commercially any more so I may share
it. It is much improved over the yacc one I wrote for the jBASE compiler.

To be honest, the idea that any large program could be inspected and
improved to get rid of the 'dross' doesn’t work. The programs are generally
way too complicated and involved. For this reason I doubt the Thierry will
get the Java version to work 100%, though I wish him all good luck with it.
But generally it is easier for the runtime guys to accommodate a program
than have the application programmers fix their code.

Most of the UniVerse compatibility stuff was done for T24 in fact.

Jim



 -Original Message-
 From: jbase@googlegroups.com [mailto:jbase@googlegroups.com] On Behalf
 Of Pawel (privately)
 Sent: Monday, August 15, 2011 2:07 PM
 To: jbase@googlegroups.com
 Subject: RE: RE: RE: jbase problems show-items-locks

 Hi,

 I think I understand, but recreating (Universe) problems to make
 software portable seems to be a bit ridiculous. Not sure of the nature
 of problems that you recreated, but I take your point. However

 Is Universe still alive? (I am trying not to sound as ignorant!) How
 many Universe customers are migrating to jBASE? How many already
 migrated?
 Could not we finally forget about these UV compatibility issues?
 ignorantUV seems to be dead to me :)/ignorant UV seems to be dead
 for many other customers.

 Were efforts spent to be (fully) Universe compatible worth of it? Would
 not be better to give advices to guys who port their own software and
 to fix T24 to run correctly on jBASE? I bet that T24 R06 will not run
 on Universe :) Migration is always a big project. I know that you were
 trying to make it easier.

 I recall one clever Temenos guy whom we met this year at Temenos
 Community Forum in Lisbon. He showed us T24 compiled as Java native
 application (yes! :)). It looked impressive (not because it was Java).
 He shown us also jBASIC grammar. We have asked him - could you share?
 Answer was no: it took over 2 years (or so) to create this bloody
 grammar. Explanation was simple - you can not imagine how some of the
 constructs execute and that some are valid. Temenos has spent a lot of
 time on replicating jBASIC/compiler behaviour instead of telling some
 of the gus - please correct your nasty program, which does not work as
 intended (or miracurously works as intended).

 Kind regards
 Pawel

 Dnia 15-08-2011 o godz. 22:31 Jim Idle napisał(a):
  Nice idea, but I seem to remember that in fact I/we had to put this
  back in specifically for T24. All the things you mention, and
 anything
  that you could mention are unfortunately relied upon implicitly by
  almost all software. If I had a dollar for all the Universe bugs we
  had to recreate so that we could port things, then there would be a
  run on dollar bills.
 
  The system is what it is, and there is no changing it. This is not
 the
  jBASE guys saying this, this is all the users.
 
 
  Jim
 
   -Original Message-
   From: jbase@googlegroups.com [mailto:jbase@googlegroups.com] On
   Behalf Of Pawel (privately)
   Sent: Monday, August 15, 2011 12:56 PM
   To: jbase@googlegroups.com
   Subject: RE: RE: jbase problems show-items-locks
  
   Hi,
  
   I hope that I will finally see an (environment variable?) option in
   jBASE, which will cause jBASE to abort when empty id is used in
   database operation. All cases with an empty id I have met so far
   were caused by software bugs. Moreover they were relatively hard to
   track  - usually it was complex flow to recreate problem. I do not
   see any reason in keeping 'empty id functionality' available for
 T24.
   It would be nice if jBASE team could go forward and throw away some
   unnecessary, 'old days' things :)
  
   Another issue that can be caused by buggy software is to put
   field/value/subvalue markers. Some jBASE commands will be later
   confused. jBASE gurus: throw these possibilities away please!
  
   Kind regards
   Pawel
  
   Dnia 15-08-2011 o godz. 20:29 Jim Idle napisał(a):
An empty record key is just a key without any characters. It is
somewhat pointless, but must be supported as people inventing
their
   own 'security'
used it a lot in the old days of Pick.
   
Jim
   
   
   
 -Original Message-
 From: jbase@googlegroups.com [mailto:jbase@googlegroups.com] On
 Behalf Of VK
 Sent: Monday, August 15, 2011 7:56 AM
 To: jBASE
 Subject: Re: jbase problems show-items-locks

 ... and don't forget MATREADU (though used in less number of
   cases)...

 BTW, it was always interesting to me - what's the idea of
 having
 lock with empty record key? Does it have any sense from DBMS
 point
   of view?

 VK

 On Aug 14, 3:46 am, adrian ar_atkin...@yahoo.com wrote:
  With Temenos we have found there is a problem at the Jbase

RE: jbase problems show-items-locks

2011-08-16 Thread Jim Idle
In the small amount of testing I have done, the JR files are not very good -
you might try going back to J4 files and using FASTSCAN (see earlier email).
I suspect that you are in fact seeing 'group' locks, which are taken on the
hash bucket to prevent the 'group' being changed while in use. FASTSCAN
allows you to avoid taking the lock, but you must require that there are no
updates to a file.

I think that at one point, we changed J4 files so that if you made them read
only, then they would not use binary/group locks. chmod a-r should tell you.
This could well have changed of course and probably is not implemented for
JR files.

Jim

 -Original Message-
 From: jbase@googlegroups.com [mailto:jbase@googlegroups.com] On Behalf
 Of adrian
 Sent: Monday, August 15, 2011 4:54 PM
 To: jBASE
 Subject: Re: jbase problems show-items-locks


 Jim,

 Thanks for your reply, what is happening is that when these blank keys
 locks show in show-item-locks the throughput of the system is hit bady.
 Also noticed that the more locks a transaction makes then the blank
 keys start appearing.

 Is is then the problem that the JR files group lock?

 Never seen blank keys before unless there is a bug in the code, but
 this is happening for almost all T24 applications (high volume) loads,
 with  more than 4 file locks.

 We are using mostly JR type files with some J4 files.

 AA


 On Aug 15, 1:31 pm, Jim Idle j...@temporal-wave.com wrote:
  Nice idea, but I seem to remember that in fact I/we had to put this
  back in specifically for T24. All the things you mention, and
 anything
  that you could mention are unfortunately relied upon implicitly by
  almost all software. If I had a dollar for all the Universe bugs we
  had to recreate so that we could port things, then there would be a
 run on dollar bills.
 
  The system is what it is, and there is no changing it. This is not
 the
  jBASE guys saying this, this is all the users.
 
  Jim
 
 
 
   -Original Message-
   From: jbase@googlegroups.com [mailto:jbase@googlegroups.com] On
   Behalf Of Pawel (privately)
   Sent: Monday, August 15, 2011 12:56 PM
   To: jbase@googlegroups.com
   Subject: RE: RE: jbase problems show-items-locks
 
   Hi,
 
   I hope that I will finally see an (environment variable?) option in
   jBASE, which will cause jBASE to abort when empty id is used in
   database operation. All cases with an empty id I have met so far
   were caused by software bugs. Moreover they were relatively hard to
   track  - usually it was complex flow to recreate problem. I do not
   see any reason in keeping 'empty id functionality' available for
 T24.
   It would be nice if jBASE team could go forward and throw away some
   unnecessary, 'old days' things :)
 
   Another issue that can be caused by buggy software is to put
   field/value/subvalue markers. Some jBASE commands will be later
   confused. jBASE gurus: throw these possibilities away please!
 
   Kind regards
   Pawel
 
   Dnia 15-08-2011 o godz. 20:29 Jim Idle napisał(a):
An empty record key is just a key without any characters. It is
somewhat pointless, but must be supported as people inventing
their
   own 'security'
used it a lot in the old days of Pick.
 
Jim
 
 -Original Message-
 From: jbase@googlegroups.com [mailto:jbase@googlegroups.com] On
 Behalf Of VK
 Sent: Monday, August 15, 2011 7:56 AM
 To: jBASE
 Subject: Re: jbase problems show-items-locks
 
 ... and don't forget MATREADU (though used in less number of
   cases)...
 
 BTW, it was always interesting to me - what's the idea of
 having
 lock with empty record key? Does it have any sense from DBMS
 point
   of view?
 
 VK
 
 On Aug 14, 3:46 am, adrian ar_atkin...@yahoo.com wrote:
  With Temenos we have found there is a problem at the Jbase
  level as
 we
  have patched the F.READU program and there were no NULL
  records being delivered here.
  The null problem is seen more when there are a lots of locks
 happening
  for a application, and AA and AZ have this so it is easier to
   spot.
 
  The F.OFS.REQUEST.DETAIL on some of out loads takes this file
  to 15gb and bigger.
 
  Regards and Thanks
  AA
 
  On Aug 11, 6:58 am, VK kzm...@yahoo.com wrote:
 
   Hi,
 
   F_JOB_LIST looks ok... 2 files with no IDs are F_LANGUAGE
   for one session and FBNK_CUSTOMER_ROLE for another (though
   it looks not being DM-related - maybe the problem is here?
   both use CUSTOMER
 file)...
 
   Might be that some core code issued F.READU without
   supplying
   ID
 (or
   supplying a COMMON variable that contains an empty string).
   Put
 that
   query to Temenos helpdesk.
 
   What's the task is BTW? Update of which fields in CUSTOMER?
   Might
 be
   an easier solution to that...
 
   Another note - non-secure is really not secure
 :((  Consider

RE: jbase problems show-items-locks

2011-08-15 Thread Jim Idle
Are you sure you are not just seeing group/binary locks?

Jim

 -Original Message-
 From: jbase@googlegroups.com [mailto:jbase@googlegroups.com] On Behalf
 Of VK
 Sent: Monday, August 15, 2011 7:35 AM
 To: jBASE
 Subject: Re: jbase problems show-items-locks

 Hi,

  have patched the F.READU program and there were no NULL records being
  delivered here.

 What about READU? A lot of routines in core T24 still use it.

 VK

 On Aug 14, 3:46 am, adrian ar_atkin...@yahoo.com wrote:
  With Temenos we have found there is a problem at the Jbase level as
 we
  have patched the F.READU program and there were no NULL records being
  delivered here.
  The null problem is seen more when there are a lots of locks
 happening
  for a application, and AA and AZ have this so it is easier to spot.
 
  The F.OFS.REQUEST.DETAIL on some of out loads takes this file to 15gb
  and bigger.
 
  Regards and Thanks
  AA
 
  On Aug 11, 6:58 am, VK kzm...@yahoo.com wrote:
 
 
 
 
 
 
 
   Hi,
 
   F_JOB_LIST looks ok... 2 files with no IDs are F_LANGUAGE for one
   session and FBNK_CUSTOMER_ROLE for another (though it looks not
   being DM-related - maybe the problem is here? both use CUSTOMER
 file)...
 
   Might be that some core code issued F.READU without supplying ID
 (or
   supplying a COMMON variable that contains an empty string). Put
 that
   query to Temenos helpdesk.
 
   What's the task is BTW? Update of which fields in CUSTOMER? Might
 be
   an easier solution to that...
 
   Another note - non-secure is really not secure :((  Consider using
   secure mode (and pay something in performance) or J4.
 
   Yet another note... is DM something called migration tool?
 
   And - your OFS.REQUEST.DETAIL is distributed? Just curious why.
   Accumulating over 2Gb a day?
 
   VK
 
   On Aug 10, 7:45 pm, adrian ar_atkin...@yahoo.com wrote:
 
We are using 10 threads at the moments
 
we are using JR type out of the box from Temenos. (non-secure)
 
we are using DM.SERVICE.DATA.FILE which we are using on a RAM
 drive.
 
as you can see below in the show-item-locks you can see blank
 keys.
 
      31       9358 ../bnk.data/st/ FBNK_CUSTOMER_CHARGE
5383596
0x57a7c41c,W        ---
      31       9358 ../bnk.data/st/ FBNK_CUSTOMER_ROLE
0x0230,W        ---
      31       9358 ../bnk.data/st/ FBNK_RELATION_CUSTOMER
5383596
0x57a7c41c,W        ---
      31       9358 ../bnk.data/st/ FBNK_RELATION_CUSTOMER
11561555
0x5e90b3b0,W        ---
      31       9358 ../bnk.data/st/ FBNK_CUSTOMER#NAU
5383596
0x57a7c41c,W
 
      33       9367 ../bnk.data/of/
F_OFS_REQUEST_DETAIL_06
MBDM112090115838227.05
0x31fc7d36,W        ---
      33       9367 ../bnk.data/eb/ F_DM_SERVICE_DATA_FILE
CCS.DM.CUSTOMER.MEMA-20110810037483638476
0x59b0e064,W        ---
      33       9367 ../bnk.data/eb/
F_JOB_LIST_3
1139
0x6883ccaf,W        ---
      34       9371 ../bnk.data/eb/ F_LANGUAGE
 0x001c,R
---
      34       9371 ../bnk.data/st/ FBNK_CUSTOMER#NAU
4872036
0x04b9c9ed,W        ---
      34       9371 ../bnk.data/of/
F_OFS_REQUEST_DETAIL_08
MBDM112090521738237.01
0x5c4e0da1,W        ---
      34       9371 ../bnk.data/eb/ F_DM_SERVICE_DATA_FILE
CCS.DM.CUSTOMER.MEMA-20110810037483537290
0x0f29a5e6,W        ---
      34       9371 ../bnk.data/eb/
F_JOB_LIST_3
250
0x7b754110,W        ---
 
AA
 
yep , onlive it will be a one off but now its run once every two
weeks.
 
On Aug 10, 7:16 am, VK kzm...@yahoo.com wrote:
 
 Hi,
 
 Clarify several things please:
 
  many threads say to update customer
 
 How many? Which method is used? Service OFS.MESSAGE.SERVICE I
 presume?
 
  RECORDKEY is blank in the locking tables
 
 Which tables exactly? F.LOCKING or F.JOB.LIST.n?
 
  JR type files database
 
 Secure updates or non-secure?
 
 Last but not least - updating 1m customers looks like a one-
 time
 task, not a regular one, isn't it?
 
 VK
 
 On Aug 6, 5:39 am, adrian ar_atkin...@yahoo.com wrote:
 
  When running many threads say to update customer (1,000.000)
  some of the tsa's show SLEEP in the mw42 view.
 
  Looking at the show-items-locks we are see many times lately
  the RECORDKEY is blank in the locking tables, when this is
  happening the agents are only processing 120 per minute while
  if we see no blank keys then we can process 20,000 + a
 minute.
 
  Have we a problem with our Jbase version or is this normal to
  see records in the lock table with blanks , I must say i have
  never seen this over the pass years.
 
  We are not using the jbase locking but the UNIX locking (set
  at
  24,000) on a HP box as the jDLS was causing problems. The
 unix
  locking has been running fine for over a month now.
 
  Could somebody knowing Jbase explain many thanks.
 

RE: jbase problems show-items-locks

2011-08-15 Thread Jim Idle
An empty record key is just a key without any characters. It is somewhat
pointless, but must be supported as people inventing their own 'security'
used it a lot in the old days of Pick.

Jim



 -Original Message-
 From: jbase@googlegroups.com [mailto:jbase@googlegroups.com] On Behalf
 Of VK
 Sent: Monday, August 15, 2011 7:56 AM
 To: jBASE
 Subject: Re: jbase problems show-items-locks

 ... and don't forget MATREADU (though used in less number of cases)...

 BTW, it was always interesting to me - what's the idea of having lock
 with empty record key? Does it have any sense from DBMS point of view?

 VK

 On Aug 14, 3:46 am, adrian ar_atkin...@yahoo.com wrote:
  With Temenos we have found there is a problem at the Jbase level as
 we
  have patched the F.READU program and there were no NULL records being
  delivered here.
  The null problem is seen more when there are a lots of locks
 happening
  for a application, and AA and AZ have this so it is easier to spot.
 
  The F.OFS.REQUEST.DETAIL on some of out loads takes this file to 15gb
  and bigger.
 
  Regards and Thanks
  AA
 
  On Aug 11, 6:58 am, VK kzm...@yahoo.com wrote:
 
 
 
 
 
 
 
   Hi,
 
   F_JOB_LIST looks ok... 2 files with no IDs are F_LANGUAGE for one
   session and FBNK_CUSTOMER_ROLE for another (though it looks not
   being DM-related - maybe the problem is here? both use CUSTOMER
 file)...
 
   Might be that some core code issued F.READU without supplying ID
 (or
   supplying a COMMON variable that contains an empty string). Put
 that
   query to Temenos helpdesk.
 
   What's the task is BTW? Update of which fields in CUSTOMER? Might
 be
   an easier solution to that...
 
   Another note - non-secure is really not secure :((  Consider using
   secure mode (and pay something in performance) or J4.
 
   Yet another note... is DM something called migration tool?
 
   And - your OFS.REQUEST.DETAIL is distributed? Just curious why.
   Accumulating over 2Gb a day?
 
   VK
 
   On Aug 10, 7:45 pm, adrian ar_atkin...@yahoo.com wrote:
 
We are using 10 threads at the moments
 
we are using JR type out of the box from Temenos. (non-secure)
 
we are using DM.SERVICE.DATA.FILE which we are using on a RAM
 drive.
 
as you can see below in the show-item-locks you can see blank
 keys.
 
      31       9358 ../bnk.data/st/ FBNK_CUSTOMER_CHARGE
5383596
0x57a7c41c,W        ---
      31       9358 ../bnk.data/st/ FBNK_CUSTOMER_ROLE
0x0230,W        ---
      31       9358 ../bnk.data/st/ FBNK_RELATION_CUSTOMER
5383596
0x57a7c41c,W        ---
      31       9358 ../bnk.data/st/ FBNK_RELATION_CUSTOMER
11561555
0x5e90b3b0,W        ---
      31       9358 ../bnk.data/st/ FBNK_CUSTOMER#NAU
5383596
0x57a7c41c,W
 
      33       9367 ../bnk.data/of/
F_OFS_REQUEST_DETAIL_06
MBDM112090115838227.05
0x31fc7d36,W        ---
      33       9367 ../bnk.data/eb/ F_DM_SERVICE_DATA_FILE
CCS.DM.CUSTOMER.MEMA-20110810037483638476
0x59b0e064,W        ---
      33       9367 ../bnk.data/eb/
F_JOB_LIST_3
1139
0x6883ccaf,W        ---
      34       9371 ../bnk.data/eb/ F_LANGUAGE
 0x001c,R
---
      34       9371 ../bnk.data/st/ FBNK_CUSTOMER#NAU
4872036
0x04b9c9ed,W        ---
      34       9371 ../bnk.data/of/
F_OFS_REQUEST_DETAIL_08
MBDM112090521738237.01
0x5c4e0da1,W        ---
      34       9371 ../bnk.data/eb/ F_DM_SERVICE_DATA_FILE
CCS.DM.CUSTOMER.MEMA-20110810037483537290
0x0f29a5e6,W        ---
      34       9371 ../bnk.data/eb/
F_JOB_LIST_3
250
0x7b754110,W        ---
 
AA
 
yep , onlive it will be a one off but now its run once every two
weeks.
 
On Aug 10, 7:16 am, VK kzm...@yahoo.com wrote:
 
 Hi,
 
 Clarify several things please:
 
  many threads say to update customer
 
 How many? Which method is used? Service OFS.MESSAGE.SERVICE I
 presume?
 
  RECORDKEY is blank in the locking tables
 
 Which tables exactly? F.LOCKING or F.JOB.LIST.n?
 
  JR type files database
 
 Secure updates or non-secure?
 
 Last but not least - updating 1m customers looks like a one-
 time
 task, not a regular one, isn't it?
 
 VK
 
 On Aug 6, 5:39 am, adrian ar_atkin...@yahoo.com wrote:
 
  When running many threads say to update customer (1,000.000)
  some of the tsa's show SLEEP in the mw42 view.
 
  Looking at the show-items-locks we are see many times lately
  the RECORDKEY is blank in the locking tables, when this is
  happening the agents are only processing 120 per minute while
  if we see no blank keys then we can process 20,000 + a
 minute.
 
  Have we a problem with our Jbase version or is this normal to
  see records in the lock table with blanks , I must say i have
  never seen this over the pass years.
 
  We are not using the jbase locking but the UNIX locking (set
  at
 

RE: Getting back to a true jBASE forum

2011-08-15 Thread Jim Idle
I think that that is the end of the group; I always resisted this move.



Jim



*From:* jbase@googlegroups.com [mailto:jbase@googlegroups.com] *On Behalf Of
*Rick Weiser
*Sent:* Monday, August 15, 2011 12:19 PM
*To:* jbase@googlegroups.com
*Subject:* Getting back to a true jBASE forum



Hi all,

This group was originally created to provide jBASE users with an outlet to
discuss issues, successes and ideas.  Over the past few years, the focus of
this group has turned more toward Globus/T24.  As the original creator of
this group, I have discussed this with the other managers of the group and
we have come to an executive decision.

As of December 31st, 2011, we will stop accepting Globus/T24 posts on this
forum.  We suggest that one of the more high profile T24 users create a
forum specifically for Globus/T24 where your users can go to get the help
they need for this environment.  Of course, any true jBASE questions from
T24 users are still welcome.

Thank you for your cooperation and support,

Rick

-- 
Please read the posting guidelines at:
http://groups.google.com/group/jBASE/web/Posting%20Guidelines

IMPORTANT: Type T24: at the start of the subject line for questions specific
to Globus/T24

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/jBASE?hl=en

-- 
Please read the posting guidelines at: 
http://groups.google.com/group/jBASE/web/Posting%20Guidelines

IMPORTANT: Type T24: at the start of the subject line for questions specific to 
Globus/T24

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en


RE: RE: Getting back to a true jBASE forum

2011-08-15 Thread Jim Idle
No – it is a transmogrification, and goes where it goes. Sending one group
of jBASE users off on its own merely splinters it unnecessarily in my
opinion. But, so be it.



Jim





*From:* jbase@googlegroups.com [mailto:jbase@googlegroups.com] *On Behalf Of
*Rick Weiser
*Sent:* Monday, August 15, 2011 1:06 PM
*To:* jbase@googlegroups.com
*Subject:* Re: RE: Getting back to a true jBASE forum



Jim,

I understand your concern, but isn't it the end of the group anyway if 95%
of the posts are for T24?

Rick

-- 
Please read the posting guidelines at:
http://groups.google.com/group/jBASE/web/Posting%20Guidelines

IMPORTANT: Type T24: at the start of the subject line for questions specific
to Globus/T24

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/jBASE?hl=en

-- 
Please read the posting guidelines at: 
http://groups.google.com/group/jBASE/web/Posting%20Guidelines

IMPORTANT: Type T24: at the start of the subject line for questions specific to 
Globus/T24

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en


RE: RE: jbase problems show-items-locks

2011-08-15 Thread Jim Idle
Nice idea, but I seem to remember that in fact I/we had to put this back in
specifically for T24. All the things you mention, and anything that you
could mention are unfortunately relied upon implicitly by almost all
software. If I had a dollar for all the Universe bugs we had to recreate so
that we could port things, then there would be a run on dollar bills.

The system is what it is, and there is no changing it. This is not the jBASE
guys saying this, this is all the users.


Jim

 -Original Message-
 From: jbase@googlegroups.com [mailto:jbase@googlegroups.com] On Behalf
 Of Pawel (privately)
 Sent: Monday, August 15, 2011 12:56 PM
 To: jbase@googlegroups.com
 Subject: RE: RE: jbase problems show-items-locks

 Hi,

 I hope that I will finally see an (environment variable?) option in
 jBASE, which will cause jBASE to abort when empty id is used in
 database operation. All cases with an empty id I have met so far were
 caused by software bugs. Moreover they were relatively hard to track  -
 usually it was complex flow to recreate problem. I do not see any
 reason in keeping 'empty id functionality' available for T24.
 It would be nice if jBASE team could go forward and throw away some
 unnecessary, 'old days' things :)

 Another issue that can be caused by buggy software is to put
 field/value/subvalue markers. Some jBASE commands will be later
 confused. jBASE gurus: throw these possibilities away please!

 Kind regards
 Pawel

 Dnia 15-08-2011 o godz. 20:29 Jim Idle napisał(a):
  An empty record key is just a key without any characters. It is
  somewhat pointless, but must be supported as people inventing their
 own 'security'
  used it a lot in the old days of Pick.
 
  Jim
 
 
 
   -Original Message-
   From: jbase@googlegroups.com [mailto:jbase@googlegroups.com] On
   Behalf Of VK
   Sent: Monday, August 15, 2011 7:56 AM
   To: jBASE
   Subject: Re: jbase problems show-items-locks
  
   ... and don't forget MATREADU (though used in less number of
 cases)...
  
   BTW, it was always interesting to me - what's the idea of having
   lock with empty record key? Does it have any sense from DBMS point
 of view?
  
   VK
  
   On Aug 14, 3:46 am, adrian ar_atkin...@yahoo.com wrote:
With Temenos we have found there is a problem at the Jbase level
as
   we
have patched the F.READU program and there were no NULL records
being delivered here.
The null problem is seen more when there are a lots of locks
   happening
for a application, and AA and AZ have this so it is easier to
 spot.
   
The F.OFS.REQUEST.DETAIL on some of out loads takes this file to
15gb and bigger.
   
Regards and Thanks
AA
   
On Aug 11, 6:58 am, VK kzm...@yahoo.com wrote:
   
   
   
   
   
   
   
 Hi,
   
 F_JOB_LIST looks ok... 2 files with no IDs are F_LANGUAGE for
 one session and FBNK_CUSTOMER_ROLE for another (though it looks
 not being DM-related - maybe the problem is here? both use
 CUSTOMER
   file)...
   
 Might be that some core code issued F.READU without supplying
 ID
   (or
 supplying a COMMON variable that contains an empty string). Put
   that
 query to Temenos helpdesk.
   
 What's the task is BTW? Update of which fields in CUSTOMER?
 Might
   be
 an easier solution to that...
   
 Another note - non-secure is really not secure :((  Consider
 using secure mode (and pay something in performance) or J4.
   
 Yet another note... is DM something called migration tool?
   
 And - your OFS.REQUEST.DETAIL is distributed? Just curious why.
 Accumulating over 2Gb a day?
   
 VK
   
 On Aug 10, 7:45 pm, adrian ar_atkin...@yahoo.com wrote:
   
  We are using 10 threads at the moments
   
  we are using JR type out of the box from Temenos. (non-
 secure)
   
  we are using DM.SERVICE.DATA.FILE which we are using on a RAM
   drive.
   
  as you can see below in the show-item-locks you can see blank
   keys.
   
31   9358 ../bnk.data/st/ FBNK_CUSTOMER_CHARGE
  5383596
  0x57a7c41c,W---
31   9358 ../bnk.data/st/ FBNK_CUSTOMER_ROLE
  0x0230,W---
31   9358 ../bnk.data/st/ FBNK_RELATION_CUSTOMER
  5383596
  0x57a7c41c,W---
31   9358 ../bnk.data/st/ FBNK_RELATION_CUSTOMER
  11561555
  0x5e90b3b0,W---
31   9358 ../bnk.data/st/ FBNK_CUSTOMER#NAU
  5383596
  0x57a7c41c,W
   
33   9367 ../bnk.data/of/
  F_OFS_REQUEST_DETAIL_06
  MBDM112090115838227.05
  0x31fc7d36,W---
33   9367 ../bnk.data/eb/ F_DM_SERVICE_DATA_FILE
  CCS.DM.CUSTOMER.MEMA-20110810037483638476
  0x59b0e064,W---
33   9367 ../bnk.data/eb/
  F_JOB_LIST_3
  1139
  0x6883ccaf,W---
34   9371 ../bnk.data/eb/ F_LANGUAGE
   0x001c,R
  ---
34   9371

RE: STRANGE NUMBERS

2011-08-11 Thread Jim Idle
I think that you get that when the date is invalid. In jBASE 4.1 plus, the
algorithm is pretty sophisticated.

Jim

 -Original Message-
 From: jbase@googlegroups.com [mailto:jbase@googlegroups.com] On Behalf
 Of VK
 Sent: Thursday, August 11, 2011 7:04 AM
 To: jBASE
 Subject: Re: STRANGE NUMBERS

 Applying my telepathic module, I presume that you use OCONV() on that
 numbers and get the date 01/01/ as a result?

 On Aug 10, 8:26 pm, theo theoaivaz...@gmail.com wrote:
  What do -720987, -720257, -720622, -720352 ,-721718 all have in
  common?
 
  answer they are all 01/01/
 
  why might that be?

 --
 Please read the posting guidelines at:
 http://groups.google.com/group/jBASE/web/Posting%20Guidelines

 IMPORTANT: Type T24: at the start of the subject line for questions
 specific to Globus/T24

 To post, send email to jBASE@googlegroups.com To unsubscribe, send
 email to jbase-unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/jBASE?hl=en

-- 
Please read the posting guidelines at: 
http://groups.google.com/group/jBASE/web/Posting%20Guidelines

IMPORTANT: Type T24: at the start of the subject line for questions specific to 
Globus/T24

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en


RE: remove negative sign

2011-08-08 Thread Jim Idle
X = -X



Jim



*From:* jbase@googlegroups.com [mailto:jbase@googlegroups.com] *On Behalf Of
*Javed Akhund
*Sent:* Monday, August 08, 2011 3:49 AM
*To:* jbase@googlegroups.com
*Subject:* Re: remove negative sign



Dear Sinan



Multiply debit account balance with -1



DR.ACCT.BAL= (DR.ACCT.BAL * -1)



Regards



Javed Akhund

On Sun, Aug 7, 2011 at 12:40 AM, sinan alani sinanalan...@googlemail.com
wrote:

hi

i want to remove negative  sign from account statement enquiry from
debit transaction

note that it's no file enquiry

--
Please read the posting guidelines at:
http://groups.google.com/group/jBASE/web/Posting%20Guidelines

IMPORTANT: Type T24: at the start of the subject line for questions specific
to Globus/T24

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/jBASE?hl=en



-- 
Please read the posting guidelines at:
http://groups.google.com/group/jBASE/web/Posting%20Guidelines

IMPORTANT: Type T24: at the start of the subject line for questions specific
to Globus/T24

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/jBASE?hl=en

-- 
Please read the posting guidelines at: 
http://groups.google.com/group/jBASE/web/Posting%20Guidelines

IMPORTANT: Type T24: at the start of the subject line for questions specific to 
Globus/T24

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en


Re: T24 : which mode is supported by jBASE, synchronous or Asynchronous?

2011-07-28 Thread Jim Idle
In what?

On Jul 27, 2011, at 23:28, san sankaranant...@gmail.com wrote:

 hi all
 could anyone explain about which mode is supported by jbase,
 synchronous or Asynchronous...
 
 -- 
 Please read the posting guidelines at: 
 http://groups.google.com/group/jBASE/web/Posting%20Guidelines
 
 IMPORTANT: Type T24: at the start of the subject line for questions specific 
 to Globus/T24
 
 To post, send email to jBASE@googlegroups.com
 To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
 For more options, visit this group at 
 http://groups.google.com/group/jBASE?hl=en

-- 
Please read the posting guidelines at: 
http://groups.google.com/group/jBASE/web/Posting%20Guidelines

IMPORTANT: Type T24: at the start of the subject line for questions specific to 
Globus/T24

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en


RE: DCOUNT in DICT, Which Correlative?

2011-07-20 Thread Jim Idle
 -Original Message-
 From: jbase@googlegroups.com [mailto:jbase@googlegroups.com] On Behalf
 Of inavran
 Sent: Wednesday, July 20, 2011 9:58 AM
 To

 This did the trick nicely

 Over to Jim's point.

 Im sorry, but with respect, i think you've got completely wrong end of
 the stick.

No I haven't.

Jim

-- 
Please read the posting guidelines at: 
http://groups.google.com/group/jBASE/web/Posting%20Guidelines

IMPORTANT: Type T24: at the start of the subject line for questions specific to 
Globus/T24

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en


RE: Jbase has just stopped working on my ubuntu 11.0.4

2011-07-18 Thread Jim Idle
Ubuntu is too unreliable in general - switch to Redhat fedora.

However al this means is one of:

1) the jRLA deamon was either kill -9 'ed or otherwise aborted without
being able to clean up after itself and when running it again it finds
that the shared memory partition it is trying to use is already created
and so does not destroy it. See jRLA -h for other options;
2) You have not created enough shared memory so that whatever else you are
running that requires shared memory is unable to co-exist with jRLA.

If you cannot work out what to do in case #1, then just sudo init -6 and
reboot.


Jim


 -Original Message-
 From: jbase@googlegroups.com [mailto:jbase@googlegroups.com] On Behalf
 Of VK
 Sent: Monday, July 18, 2011 12:29 AM
 To: jBASE
 Subject: Re: Jbase has just stopped working on my ubuntu 11.0.4

 Hi,
 have you installed any updates during the period in question? Even if
 you didn't the 11.04 isn't stable enough; better try some LTS version
 (I've recently removed 11.04 and returned to 10.04 LTS due to certain
 problems too long to describe). Or - even better (for jbase at least)
 - use CentOS 5.

 Last but not least: is jRLA absolutely necessary? I believe you are
 able to use OS locking instead...

 VK

 On Jul 16, 11:02 pm, cape.t...@gmail.com cape.t...@gmail.com
 wrote:
  Hello Guys ,
  I had installed jbase and t24 on ubuntu 11.0.4 After few days and all
  of the sudden jbase has just stopped working Any jbase command I
  attempt give the same message below :
  jBASE: Unable to allocate/attach shared memory key 0x24201100 ,
 error
  number 22 Possibly this is because insufficient shared memory is
  available for the use of jRLA. If this is the case you can either
  reconfigure your kernel to allow more shared memory or you can
  allocate less in the first instance by using the -s option (see 'jRLA
  -h').
  jBASE: Error 22 while initiating jBASE
 
  I have no idea what has changed and have no possible clue how to fix
  this Will appreciate any help jbase version is TAFC R11 jdiag is
  below:
  System Information
  ==
 
  System                      : Linux XEON 2.6.38-10-generic.#46-Ubuntu
  SMP Tue Jun 28 15:07:17 UTC 2011 x86_64 OS Release                  :
  squeeze/sid UNIX User                   : cilumba (uid 1000, euid
  1000) Tty name                    : /dev/pts/0
 Time
  : Sat Jul 16 22:59:40 2011
 
  Environment
  ===
 
  JBCPORTNO                   : Not Set
  TAFC_HOME                   : '/opt/TAFC'
  JBCGLOBALDIR                : '/opt/TAFC'
  JBCDATADIR                  : '/home/mba/bnk/bnk.run'
  HOME                        : '/home/mba'
  JEDIFILENAME_MD             : Not Set
  JEDIFILENAME_SYSTEM         : Not Set
  RELEASE Information         : Major 11.0 , Minor 0.0 , Patch  (Change
  94295)
  Spooler dir (Default)       : '/home/mba/bnk/bnk.run/jspooler'
  JBCEMULATE                  : Not Set
  Object path (Default)       : '/opt/TAFC/lib:/home/mba/lib'
  Compiler                    : gcc gcc (Ubuntu/Linaro 4.5.2-8ubuntu4)
  4.5.2
  jBASE Compiler Run-time     : '/opt/TAFC/config/system.properties'
  Program dir (Default)       : '/home/mba/bin'
  Subroutine dir (Default)    : '/home/mba/lib'
  Max open files              : 4096
  There are No warnings, jBASE seems to be loaded correctly
 
  Thanks again

 --
 Please read the posting guidelines at:
 http://groups.google.com/group/jBASE/web/Posting%20Guidelines

 IMPORTANT: Type T24: at the start of the subject line for questions
 specific to Globus/T24

 To post, send email to jBASE@googlegroups.com To unsubscribe, send
 email to jbase-unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/jBASE?hl=en

-- 
Please read the posting guidelines at: 
http://groups.google.com/group/jBASE/web/Posting%20Guidelines

IMPORTANT: Type T24: at the start of the subject line for questions specific to 
Globus/T24

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en


RE: T24 - Spooler

2011-07-18 Thread Jim Idle
You are asking the wrong question – start with why you are restarting the
spooler all the time, how you are restarting the spooler and most of all why
you *think* you need to restart the spooler all the time. Also, please read
the posting guidelines and provide all the information about your system.



Jim



*From:* jbase@googlegroups.com [mailto:jbase@googlegroups.com] *On Behalf Of
*Wilson Chikatala
*Sent:* Monday, July 18, 2011 6:55 AM
*To:* jBASE@googlegroups.com
*Subject:* T24 - Spooler



Dear All,

I have to restart the spooler all the time and as a result users are not
able to print all the time in eMerge. This problem became common after
migrating from Windows to Linux server.

Does anyone have a permanent solution to this problem?

-- 
Please read the posting guidelines at:
http://groups.google.com/group/jBASE/web/Posting%20Guidelines

IMPORTANT: Type T24: at the start of the subject line for questions specific
to Globus/T24

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/jBASE?hl=en

-- 
Please read the posting guidelines at: 
http://groups.google.com/group/jBASE/web/Posting%20Guidelines

IMPORTANT: Type T24: at the start of the subject line for questions specific to 
Globus/T24

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en


RE: T24: Installation Procedure

2011-06-23 Thread Jim Idle
Does no documentation come with a T24 install? Nothing on the support
website? Why do so many people ask for documentation here?

Also, as most of this documentation has been linked to before, please
remember to use http://jbase.markmail.org/ where you can search the list
since for the last 6 years or so.

Finally, READ the guidelines.

jim

 -Original Message-
 From: jbase@googlegroups.com [mailto:jbase@googlegroups.com] On Behalf
 Of Chimse
 Sent: Wednesday, June 22, 2011 9:33 AM
 To: jBASE
 Subject: T24: Installation Procedure

 Hi,

 I am trying to install T24 R09 in my personal pc having windows 7, so
 please guide me the step by step process for installation.

 Thanks in advance

 Rgds,
 Chimse

 --
 Please read the posting guidelines at:
 http://groups.google.com/group/jBASE/web/Posting%20Guidelines

 IMPORTANT: Type T24: at the start of the subject line for questions
 specific to Globus/T24

 To post, send email to jBASE@googlegroups.com To unsubscribe, send
 email to jbase-unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/jBASE?hl=en

-- 
Please read the posting guidelines at: 
http://groups.google.com/group/jBASE/web/Posting%20Guidelines

IMPORTANT: Type T24: at the start of the subject line for questions specific to 
Globus/T24

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en


RE: File Corruption... Causes?

2011-05-30 Thread Jim Idle
Try not to top post if you can avoid it.

 -Original Message-
 From: jbase@googlegroups.com [mailto:jbase@googlegroups.com] On Behalf
 Of jaro
 Sent: Monday, May 30, 2011 1:58 PM
 To: jBASE
 Subject: Re: File Corruption... Causes?

 Usually we had the occurence of corrupted files in the following
 cases:
 - unexpected hardware problem

Possible but hardware logs often tell you that something went wrong.
Memory errors on PC hardware usually do not, but sometimes when you
reboot, Windows can tell you that it suspects memory. Simon, what were the
results of your memtests?

 - process got killed by for example admin

If they are a good admin, then they will first try a normal kill before a
kill -9. If you go straight to kill -9 (or equivalent) then you are a bad
admin.


 - process interrupted by the user itself

This cannot cause file corruption unless the user issues kill -9 on their
own process and you should replace the standard kill command so that they
cannot do that.

 - uncommon but in the case the programs use their own way to update the
 data in the jbase hash files without using standard jbase IO statements

Nothing should do that.

 - could be the reason some special characters passed within the record
 content that could cause any collision with the default jbase
 delimiters?

It is not possible to corrupt a jBASE file in this way.


 In those cases there is very high change of the file corruption if the
 file is updated at that point of time.

This just makes it more likely because there is a higher chance of part of
an update being in memory when a kill -9 is issued. A normal kill will not
abort the memory flush to disk.


 Another very high change of the
 file corruption is if the file is very bad sized, and new and new
 records needs to be written or re-organized. In this case the file is
 extended with the overflow groups and the link between primary and the
 secondary segments could be broken.

This is not a source of file corruption, it just means that there are more
physical updates involved in a logical update and so it 'enhances' the
chances of outstanding physical updates being present if you issue a kill
-9/

Lesson: don't issue kill -9


 Technically during the record write jbase assign the binary lock
 on the whole block segment where the record should reside based on the
 hash alghoritm, so at that point of time all the records inside that
 segment are blocked.

This is file type dependent.

Jim


 On Apr 27, 3:51 pm, Jim Idle j...@temporal-wave.com wrote:
  If they are corrupted after a hard reboot then your biggest suspect
 by
  a long way is that there was actually a process (perhaps
  orphaned/zombie, perhaps the user says everything is closed properly
  but it isn’t) that was running when you went to reboot and it/they
 are
  not getting closed in a neat way. You should develop a shutdown
 script
  that verifies that everyone is off the system and there are no jBASE
  processes around. You can use the sysinternals toolset to help with
  that – you want to try closing the processes in the cleanest way
  possible and hard reboot without stopping the processes may well kill
 the processes in a drastic way.
 
  Of course if you mean that someone is turning off the system at the
  mains, then the more heavily used files are pretty much bound to be
  corrupt. Only switching to J3 secure files would prevent that and as
  you say, that is a lot slower if you want to lose as little data as
 possible.
 
  On the memory thing – it is worth running the memcheck on a system as
  part of general maintenance, but if this is the issue, it will affect
  the file when it is in memory and only afterwards when it is flushed
  to disk will the disk version reflect whatever the problem is. So
  flushing the files from memory would not help at all as it is the
 memory that is corrupted anyway.
 
  If there are no hardware faults, then I think you need to be looking
  at the general operations of the users such as whether they just
  switch things off without a proper shutdown, make sure they have UPS
  and so on. Also, it is high time that you moved on to jBASE 5 I
 think.
  The J5 files there should in theory avoid corruption issues, though
  they were not very good performance wise when I last tested them
 (ages ago now).
 
  Jim
 
  *From:* jbase@googlegroups.com [mailto:jbase@googlegroups.com] *On
  Behalf Of *Simon Verona
  *Sent:* Tuesday, April 26, 2011 10:21 PM
  *To:* jbase@googlegroups.com
  *Subject:* RE: File Corruption... Causes?
 
  Jim
 
  Thanks for the thought viz-a-viz memory.  I had considered that as an
  issue
  - is it possible that because these are active files, that they tend
  to stick in memory for longer and therefore have more of a chance of
  getting corrupted (I know that a hard reboot will almost certainly
  corrupt these files!).
 
  Is there a way (with jbase 3.4.10/win2003) of forcing these files to
  be flushed to disk more regularly?
 
  I seem to recall

RE: Dynamic array of file pointers?

2011-05-27 Thread Jim Idle
A dynamic array is a C structure internally, not a first class primitive
value, hence it cannot be stored as an element in a dynamic array. You can
use a DIM/REDIM for your file descriptor cache and then as there are no
Map type things in jBC you will need to create some cross reference that
tells you where the file descriptor is for a file or whether it needs to
be open. Place the variables that do all this tracking in COMMON or even
named COMMON and you will avoid the OPEN overhead. Use CALL
MYOPEN(FDSCInd, File) and have it return the index of the file
descriptor, which it either opens or locates. Then the generic writing
routines just use FILECACHE(FDSCInd) and you are done.

Jim

 From: jbase@googlegroups.com [mailto:jbase@googlegroups.com] On Behalf
 Of Darrin
 Sent: Thursday, May 26, 2011 12:37 PM
 To: jBASE
 Subject: Dynamic array of file pointers?

 Is it possible to store file pointers in a dynamic array? Or is there
 another way to pass a variable number of file pointers to various
 functions?

 The problem is that when attempting something like:
 file_ptrs-1 = new_file_ptr

 The following error is returned:
 Invalid or uninitialised variable -- ZERO USED ,
 Var temp_file_ptr , Line66 , Source process_gpw_node.b
 Trap from an error message, error message name = ZERO_USED

 (The variable is defined, it just can't be placed into a dynamic
 array.)

 The purpose for this is that when recursively walking an xml tree and
 importing data into jbase, I would like to open files and pass file
 pointers to between functions. The idea being, to avoid the overhead of
 opening and closing multiple files when processing each node.
 Otherwise, files would be opened and closed thousands of times a
 second. My assumption is that there would be some serious overhead to
 this.

 --
 Please read the posting guidelines at:
 http://groups.google.com/group/jBASE/web/Posting%20Guidelines

 IMPORTANT: Type T24: at the start of the subject line for questions
 specific to Globus/T24

 To post, send email to jBASE@googlegroups.com To unsubscribe, send
 email to jbase-unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/jBASE?hl=en

-- 
Please read the posting guidelines at: 
http://groups.google.com/group/jBASE/web/Posting%20Guidelines

IMPORTANT: Type T24: at the start of the subject line for questions specific to 
Globus/T24

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en


RE: Dynamic array of file pointers?

2011-05-27 Thread Jim Idle
With so many files that the OP feels they wish to cache them, an unordered
LOCATE could end up using as many resources as OPEN.

Jim

 -Original Message-
 From: jbase@googlegroups.com [mailto:jbase@googlegroups.com] On Behalf
 Of Mike Preece
 Sent: Friday, May 27, 2011 12:36 AM
 To: jBASE
 Subject: Re: Dynamic array of file pointers?

 Or a combination of both. Maintain a dynamic array of open file names
 and an associated dimensioned array of file variables. That way you can
 LOCATE the file name in the dynamic array giving you the element number
 in the dimensioned array containing the associated file variable.

 On May 27, 6:24 am, Ian Perkins perkins@gmail.com wrote:
  +1 for dimensioned arrays

 --
 Please read the posting guidelines at:
 http://groups.google.com/group/jBASE/web/Posting%20Guidelines

 IMPORTANT: Type T24: at the start of the subject line for questions
 specific to Globus/T24

 To post, send email to jBASE@googlegroups.com To unsubscribe, send
 email to jbase-unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/jBASE?hl=en

-- 
Please read the posting guidelines at: 
http://groups.google.com/group/jBASE/web/Posting%20Guidelines

IMPORTANT: Type T24: at the start of the subject line for questions specific to 
Globus/T24

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en


RE: Dynamic array of file pointers?

2011-05-27 Thread Jim Idle
That would be a very good explanation of why you cannot store file
descriptors in dynamic arrays, except that it is wrong.



Jim



*From:* jbase@googlegroups.com [mailto:jbase@googlegroups.com] *On Behalf Of
*fft2...@aol.com
*Sent:* Friday, May 27, 2011 7:08 AM
*To:* jbase@googlegroups.com
*Subject:* Re: Dynamic array of file pointers?



By the way, the *reason* why you cannot store a file pointer in a dynamic
array, is that dynamic arrays are delimited by ascii characters such as 255,
254, 253, etc.  These characters however CAN occur within the body of a file
pointer.  Dimensioned arrays are not delimited by a character at all, rather
they have a fixed byte size.  So no possibility of conflict with a
delimiter.



Will Johnson



-Original Message-
From: Ian Perkins perkins@gmail.com
To: jbase jbase@googlegroups.com
Sent: Fri, May 27, 2011 3:01 am
Subject: Re: Dynamic array of file pointers?

+1 for dimensioned arrays

-- 
Please read the posting guidelines at:
http://groups.google.com/group/jBASE/web/Posting%20Guidelines

IMPORTANT: Type T24: at the start of the subject line for questions specific
to Globus/T24

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/jBASE?hl=en

-- 
Please read the posting guidelines at:
http://groups.google.com/group/jBASE/web/Posting%20Guidelines

IMPORTANT: Type T24: at the start of the subject line for questions specific
to Globus/T24

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/jBASE?hl=en

-- 
Please read the posting guidelines at: 
http://groups.google.com/group/jBASE/web/Posting%20Guidelines

IMPORTANT: Type T24: at the start of the subject line for questions specific to 
Globus/T24

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en


RE: Dynamic array of file pointers?

2011-05-27 Thread Jim Idle
COMMON is what you want.

Jim

 -Original Message-
 From: jbase@googlegroups.com [mailto:jbase@googlegroups.com] On Behalf
 Of Darrin
 Sent: Friday, May 27, 2011 8:50 AM
 To: jBASE
 Subject: Re: Dynamic array of file pointers?

 Oops, it appears that jbase doesn't allow dimensioned arrays to be
 passed as function parameters.

 Is there another solution? Or is it best simply to pass an array of
 file names and open/close those files hundreds or thousands of times a
 second? It seems like I might be overlooking an obvious solution.

 Common variables would be an option. But I've steered away from in
 order to have a more flexible/expandable architecture. The nature of
 this data is such that it will change quite frequently.

 --
 Please read the posting guidelines at:
 http://groups.google.com/group/jBASE/web/Posting%20Guidelines

 IMPORTANT: Type T24: at the start of the subject line for questions
 specific to Globus/T24

 To post, send email to jBASE@googlegroups.com To unsubscribe, send
 email to jbase-unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/jBASE?hl=en

-- 
Please read the posting guidelines at: 
http://groups.google.com/group/jBASE/web/Posting%20Guidelines

IMPORTANT: Type T24: at the start of the subject line for questions specific to 
Globus/T24

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en


RE: T24: Error Trap 2 faced while STRING_RESIZE_VBI is executed.

2011-05-18 Thread Jim Idle
So you are overwritng memory that you have not allocated or not allocated at
the correct size or are using an incorrect pointer, which is what I said
originally. You are doing an MQGET and passing the address of the VAR struct
and not its pointer to the string buffer for a start.



Jim



*From:* jbase@googlegroups.com [mailto:jbase@googlegroups.com] *On Behalf Of
*Bensly Trying Harder:-(
*Sent:* Tuesday, May 17, 2011 9:39 PM
*To:* jbase@googlegroups.com
*Subject:* Re: T24: Error Trap 2 faced while STRING_RESIZE_VBI is executed.



Hi Pat



If the problem is with the 'Message VAR' not having been initialized, the
TRAP error 2 should have been thrown the first time i use *STRING_RESIZE_VBI
* right? I have analysed further and found that the problem may not be with
STRING_RESIZE_VBI. Am facing the error after the MQ function MQGET has been
called. I face the same error if i am using some other JBASE functions apart
from *STRING_RESIZE_VBI* like *STORE_VBS(Message (STRING *))* also.



The following is the part of code in the C function.

MQS_API   INT32 MQGet (DP_MPTR INT32 QMgr, INT32 QNum, INT32 MsgMax,
INT32 WaitPeriod, VAR * Message)

...

STRING_RESIZE_VBI(Message, MsgMax);

...

MQGET(QManagers[QMgr].QMHeader.HQMcon   ,

  QManagers[QMgr].Queues[QNum].QHandle ,

  MDescriptor   ,

  GetOptions
   ,


  MsgMax
,

  Message
,

 (PMQLONG)MsgLen,

 QManagers[QMgr].Queues[QNum].CompletionCode   ,

 QManagers[QMgr].Queues[QNum].ReasonCode

 );

SetMQFail(DP_MPRM 0);

*STRING_RESIZE_VBI(Message, MsgLen);*

return   MsgLen;



In the above code part '...' signifies coding have been done related to
MQGET, but not of VAR Message.





Bensly





On Wed, May 18, 2011 at 6:22 AM, pat pat...@gmail.com wrote:

My guess is the the 'Message VAR' has not been initialised, or has
been 'overwritten', prior to 'RESIZING'

The 'Fatal error at trap location 2' occurs when attempting to
( incorrectly ) 'manipulate' a 'File VARiable'

Can you post the C code for the function in which you are using the
'STRING_RESIZE_VBI(Message, MsgMax);' ?

Pat.


On May 12, 6:49 am, Bensly john.ben...@gmail.com wrote:
 T24 Error faced:

 JDIAG OUTPUT:
 jdiag - jBASE diagnostic '$Revision: 1.15 $'

 System Information
 ==

 System  : AIX che-aix3 1.6 00CEB51C4C00
 OS Release  : 6.1.0.0
 UNIX User   : jdavidar (uid 205, euid 205)
 Tty name: /dev/pts/15
 Time: Wed May 12 11:04:35 2010

 Environment
 ===

 JBCPORTNO   : Not Set
 JBCRELEASEDIR   : '/opt/jbc503'
 JBCGLOBALDIR: '/opt/jbc503'
 JEDIFILENAME_SYSTEM : '/opt/jbc503/src/SYSTEM'
 SYSTEM File is (DICT)   : '/opt/jbc503/src/SYSTEM]D'
 RELEASE Information : Major 5.0 , Minor 3 , Patch 0081 (Change
 49612)
 Spooler dir (JBCSPOOLERDIR) : '/opt/jbc503/jspooler'
 JBCEMULATE  : 'prime'
 Object path (JBCOBJECTLIST) : '/usr/mqm/lib64:/env/sem/bnk/bnk.run/
 globuspatchlib:/env/sem/bnk/bnk.run/lib:/env/sem/bnk/bnk.run/
 globuslib:/env/sem/bnk/bnk.run/lib:/env/sem/bnk/bnk.run/vinlib:/env/
 sem/bnk/bnk.run/semlib'
 jBASE Compiler Run-time : '/opt/jbc503/config/system.properties'
 Program dir (JBCDEV_BIN): '/env/sem/bnk/bnk.run/sembin'
 Subroutine dir (JBCDEV_LIB) : '/env/sem/bnk/bnk.run/semlib'
 Max open files  : 65534

 I have the following code part in a C code and have created shared
 libraries for this code and calling this C from a basic routine. The
 code is to get message from a MQ Server.

 STRING_RESIZE_VBI(Message, MsgMax);   //
 Allocate memory to the maximum size defined. have MsgMax as 1000.

 The above line will be called multiple times as the MsgMax varies
 each time. The first time the code part gets executed it was
 successful but the next time it is called the following error is
 thrown.

  ** Error [ FATAL ] **
  Fatal error at trap location 2

 Also the value in the variable Message is lost. Does anyone know how
 to overcome the above error.

 Any help will be appreciated and thanks in advance.

--

Please read the posting guidelines at:
http://groups.google.com/group/jBASE/web/Posting%20Guidelines

IMPORTANT: Type T24: at the start of the subject line for questions specific
to Globus/T24

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/jBASE?hl=en



-- 
Please read the posting guidelines at:
http://groups.google.com/group/jBASE/web/Posting%20Guidelines

IMPORTANT: Type T24: at the start of the subject line for questions specific
to Globus/T24

To post, send email to 

RE: T24: Error Trap 2 faced while STRING_RESIZE_VBI is executed.

2011-05-13 Thread Jim Idle
I think that if you are having trouble with those messages, then my advice
is that you look to the Java version first. I suspect that that you are just
overwriting the memory and that is why you cannot resize it.



Jim



*From:* jbase@googlegroups.com [mailto:jbase@googlegroups.com] *On Behalf Of
*Bensly Trying Harder:-(
*Sent:* Thursday, May 12, 2011 10:59 PM
*To:* jbase@googlegroups.com
*Subject:* Re: T24: Error Trap 2 faced while STRING_RESIZE_VBI is executed.



Hi Jim,



Thanks for your valuable feedback. We are running this code in Unix. The
file created after running the memory trace tool had multiple lines similar
to the following



*TIMESTAMP: time 1273763430*

*MEMORY: -1*-1: malloc 56 to 110043c30 at jlibCOUNT_UNIX_UTF8.c,337*

But am not able to understand the output:-).

As for your question are you freeing the memory somewhere else?. We
allocate memory 2 times. First time with the maximum size then the original
message size, which will be lesser than the maximum size. At the same time
we will be looking into the possibility of usage of Java version. Thanks for
your suggestion.



Bensly





On Thu, May 12, 2011 at 8:26 PM, Jim Idle j...@temporal-wave.com wrote:

You would need to post more code than that one line to get any help. But
if you are running this on Linux, then use valgrind to work out your
issue. You can also look in to the jBASE memory trace tools but I am not
sure if they are not just internal tools for jBASE developers.

I can pretty much guarantee you that you have corrupted memory though -
are you freeing the memory somewhere else? Overwriting this because 1000
is not enough (zero termination etc)? TEMENOS have an MQ Server interface
already don't they? Maybe you would have more success using the Java
version.

Jim

 -Original Message-
 From: jbase@googlegroups.com [mailto:jbase@googlegroups.com] On Behalf
 Of Bensly
 Sent: Wednesday, May 11, 2011 10:50 PM
 To: jBASE
 Subject: T24: Error Trap 2 faced while STRING_RESIZE_VBI is executed.


 T24 Error faced:

 JDIAG OUTPUT:
 jdiag - jBASE diagnostic '$Revision: 1.15 $'

 System Information
 ==

 System  : AIX che-aix3 1.6 00CEB51C4C00
 OS Release  : 6.1.0.0
 UNIX User   : jdavidar (uid 205, euid 205)
 Tty name: /dev/pts/15
 Time: Wed May 12 11:04:35 2010

 Environment
 ===

 JBCPORTNO   : Not Set
 JBCRELEASEDIR   : '/opt/jbc503'
 JBCGLOBALDIR: '/opt/jbc503'
 JEDIFILENAME_SYSTEM : '/opt/jbc503/src/SYSTEM'
 SYSTEM File is (DICT)   : '/opt/jbc503/src/SYSTEM]D'
 RELEASE Information : Major 5.0 , Minor 3 , Patch 0081 (Change
 49612)
 Spooler dir (JBCSPOOLERDIR) : '/opt/jbc503/jspooler'
 JBCEMULATE  : 'prime'
 Object path (JBCOBJECTLIST) : '/usr/mqm/lib64:/env/sem/bnk/bnk.run/
 globuspatchlib:/env/sem/bnk/bnk.run/lib:/env/sem/bnk/bnk.run/
 globuslib:/env/sem/bnk/bnk.run/lib:/env/sem/bnk/bnk.run/vinlib:/env/
 sem/bnk/bnk.run/semlib'
 jBASE Compiler Run-time : '/opt/jbc503/config/system.properties'
 Program dir (JBCDEV_BIN): '/env/sem/bnk/bnk.run/sembin'
 Subroutine dir (JBCDEV_LIB) : '/env/sem/bnk/bnk.run/semlib'
 Max open files  : 65534


 I have the following code part in a C code and have created shared
 libraries for this code and calling this C from a basic routine. The
 code is to get message from a MQ Server.

 STRING_RESIZE_VBI(Message, MsgMax);   //
 Allocate memory to the maximum size defined. have MsgMax as 1000.

 The above line will be called multiple times as the MsgMax varies
 each time. The first time the code part gets executed it was successful
 but the next time it is called the following error is thrown.

  ** Error [ FATAL ] **
  Fatal error at trap location 2

 Also the value in the variable Message is lost. Does anyone know how
 to overcome the above error.

 Any help will be appreciated and thanks in advance.


 --
 Please read the posting guidelines at:
 http://groups.google.com/group/jBASE/web/Posting%20Guidelines

 IMPORTANT: Type T24: at the start of the subject line for questions
 specific to Globus/T24

 To post, send email to jBASE@googlegroups.com To unsubscribe, send
 email to jbase-unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/jBASE?hl=en

--
Please read the posting guidelines at:
http://groups.google.com/group/jBASE/web/Posting%20Guidelines

IMPORTANT: Type T24: at the start of the subject line for questions specific
to Globus/T24

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/jBASE?hl=en



-- 
Please read the posting guidelines at:
http://groups.google.com/group/jBASE/web/Posting%20Guidelines

IMPORTANT

RE: T24: Error Trap 2 faced while STRING_RESIZE_VBI is executed.

2011-05-12 Thread Jim Idle
You would need to post more code than that one line to get any help. But
if you are running this on Linux, then use valgrind to work out your
issue. You can also look in to the jBASE memory trace tools but I am not
sure if they are not just internal tools for jBASE developers.

I can pretty much guarantee you that you have corrupted memory though -
are you freeing the memory somewhere else? Overwriting this because 1000
is not enough (zero termination etc)? TEMENOS have an MQ Server interface
already don't they? Maybe you would have more success using the Java
version.

Jim

 -Original Message-
 From: jbase@googlegroups.com [mailto:jbase@googlegroups.com] On Behalf
 Of Bensly
 Sent: Wednesday, May 11, 2011 10:50 PM
 To: jBASE
 Subject: T24: Error Trap 2 faced while STRING_RESIZE_VBI is executed.

 T24 Error faced:

 JDIAG OUTPUT:
 jdiag - jBASE diagnostic '$Revision: 1.15 $'

 System Information
 ==

 System  : AIX che-aix3 1.6 00CEB51C4C00
 OS Release  : 6.1.0.0
 UNIX User   : jdavidar (uid 205, euid 205)
 Tty name: /dev/pts/15
 Time: Wed May 12 11:04:35 2010

 Environment
 ===

 JBCPORTNO   : Not Set
 JBCRELEASEDIR   : '/opt/jbc503'
 JBCGLOBALDIR: '/opt/jbc503'
 JEDIFILENAME_SYSTEM : '/opt/jbc503/src/SYSTEM'
 SYSTEM File is (DICT)   : '/opt/jbc503/src/SYSTEM]D'
 RELEASE Information : Major 5.0 , Minor 3 , Patch 0081 (Change
 49612)
 Spooler dir (JBCSPOOLERDIR) : '/opt/jbc503/jspooler'
 JBCEMULATE  : 'prime'
 Object path (JBCOBJECTLIST) : '/usr/mqm/lib64:/env/sem/bnk/bnk.run/
 globuspatchlib:/env/sem/bnk/bnk.run/lib:/env/sem/bnk/bnk.run/
 globuslib:/env/sem/bnk/bnk.run/lib:/env/sem/bnk/bnk.run/vinlib:/env/
 sem/bnk/bnk.run/semlib'
 jBASE Compiler Run-time : '/opt/jbc503/config/system.properties'
 Program dir (JBCDEV_BIN): '/env/sem/bnk/bnk.run/sembin'
 Subroutine dir (JBCDEV_LIB) : '/env/sem/bnk/bnk.run/semlib'
 Max open files  : 65534


 I have the following code part in a C code and have created shared
 libraries for this code and calling this C from a basic routine. The
 code is to get message from a MQ Server.

 STRING_RESIZE_VBI(Message, MsgMax);   //
 Allocate memory to the maximum size defined. have MsgMax as 1000.

 The above line will be called multiple times as the MsgMax varies
 each time. The first time the code part gets executed it was successful
 but the next time it is called the following error is thrown.

  ** Error [ FATAL ] **
  Fatal error at trap location 2

 Also the value in the variable Message is lost. Does anyone know how
 to overcome the above error.

 Any help will be appreciated and thanks in advance.

 --
 Please read the posting guidelines at:
 http://groups.google.com/group/jBASE/web/Posting%20Guidelines

 IMPORTANT: Type T24: at the start of the subject line for questions
 specific to Globus/T24

 To post, send email to jBASE@googlegroups.com To unsubscribe, send
 email to jbase-unsubscr...@googlegroups.com
 For more options, visit this group at
 http://groups.google.com/group/jBASE?hl=en

-- 
Please read the posting guidelines at: 
http://groups.google.com/group/jBASE/web/Posting%20Guidelines

IMPORTANT: Type T24: at the start of the subject line for questions specific to 
Globus/T24

To post, send email to jBASE@googlegroups.com
To unsubscribe, send email to jbase-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/jBASE?hl=en


  1   2   3   4   5   >