Gmail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
T24: Commands
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post will appear after it is approved by moderators
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Igor Micev  
View profile  
 More options Jun 24, 2:08 pm
From: Igor Micev <igormi...@gmail.com>
Date: Wed, 24 Jun 2009 11:08:40 -0700 (PDT)
Local: Wed, Jun 24 2009 2:08 pm
Subject: T24: Commands
Hi all

How to know which all tables are being checked by executing a command
(DBR(), F.REDA(), EB.READLIST() ...)

Igor


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
ufuktu  
View profile  
 More options Jun 30, 7:00 am
From: ufuktu <ufuktu...@btinternet.com>
Date: Tue, 30 Jun 2009 04:00:09 -0700 (PDT)
Local: Tues, Jun 30 2009 7:00 am
Subject: Re: T24: Commands
Hi, unfortunately! I do not exactly understand what the question is,
but I am posting a typical example of F.READ;

*Account File;
FN.ACCOUNT = 'F.ACCOUNT' ; F.ACCOUNT = ''
*Open File
CALL OPF(FN.ACCOUNT,F.ACCOUNT)
*Read the file
CALL F.READ(FN.ACCOUNT,Y.ACCT.NO,R.ACCT.REC,F.ACCOUNT,ERR1)

Where Y.ACCT.NO is the input for the account file and R.ACCT.REC is
the output :))
if you want to extract the currency;
Y.ACCT.CUR = R.ACCT.REC<AC.CURRENCY>

If this is not you asked for please post a reply giving more details.

On Jun 24, 7:08 pm, Igor Micev <igormi...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Igor Micev  
View profile  
 More options Jun 30, 8:59 am
From: Igor Micev <igormi...@gmail.com>
Date: Tue, 30 Jun 2009 14:59:43 +0200
Local: Tues, Jun 30 2009 8:59 am
Subject: Re: T24: Commands

Okey,
I'll give you more explanation about my question.
When a DBR() command is executed some tables are checked like
STANDARD.SELECTION, FILE.CONTROL, ... and some others.

The question is not only for DBR() or F.READ(), but for all other system
commands.
Where/how to see all the tables that are checked by executing the commands?

Thanks
Igor

--
Igor Micev

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
VK  
View profile  
 More options Jul 1, 2:19 am
From: VK <kzm...@yahoo.com>
Date: Tue, 30 Jun 2009 23:19:58 -0700 (PDT)
Local: Wed, Jul 1 2009 2:19 am
Subject: Re: T24: Commands
Hi,
if you're under Unix you can trace system calls (including files
opening) using truss or tusc.

VK

On Jun 30, 4:59 pm, Igor Micev <igormi...@gmail.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Igor Micev  
View profile  
 More options Jul 3, 7:48 am
From: Igor Micev <igormi...@gmail.com>
Date: Fri, 3 Jul 2009 04:48:36 -0700 (PDT)
Local: Fri, Jul 3 2009 7:48 am
Subject: Re: T24: Commands
Hi

I know that there are commands like truss, tusc. I tried them and they
work well, but did't manage to apply them on a jBase commands. I
really don't know how to do that.
Anyway, I want to parse routines' code and when i meet T24 routines
like EB.ROUND.AMOUNT(), CDD(), F.WRITE/READ() ... to be able to get
all the tables in the system that are checked.

Regards
Igor

On Jul 1, 8:19 am, VK <kzm...@yahoo.com> wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jim Idle  
View profile  
 More options Jul 3, 11:35 am
From: Jim Idle <j...@temporal-wave.com>
Date: Fri, 03 Jul 2009 08:35:58 -0700
Local: Fri, Jul 3 2009 11:35 am
Subject: Re: T24: Commands
Igor Micev wrote:
> Hi

> I know that there are commands like truss, tusc. I tried them and they
> work well, but did't manage to apply them on a jBase commands. I
> really don't know how to do that.
> Anyway, I want to parse routines' code and when i meet T24 routines
> like EB.ROUND.AMOUNT(), CDD(), F.WRITE/READ() ... to be able to get
> all the tables in the system that are checked.

To do this from source code would be rather more difficult than you
expect. For instance I doubt that you could reliably do this with static
analysis and flow analysis between subroutines in jBC is essentially a
global analysis for which you need source code for everything, or at
least a reliable description of the interface. As a somewhat contrived
example designed to point out various cases, think of things like this:

SUBROUTINE(i1, s2)

BEGIN CASE
 CASE i1=1
       fName = s2[1,1]:"f_":i1
 CASE i1 =7
      fName = s2[1, 4]:"f_":i2
 CASE i1 = 88
      CALL calcFname(fName, DATE(), s2)
 DEFAULT
     fName = s2[1,i1]:"FB"
END CASE

CALL F.OPEN(fName, ......

The best you could do is guess. However, with truss or perhaps the jBASE
jprof related commands, you can pick up the actual file names at
runtime, and the trace output can easily be processed with awk or even grep.

Jim


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google