ATXINFO

Contents


atxinfo used find all the characteristics in a process found in the archive. The additional argument specifies that it is the required characteristic.

Syntax

   atxinfo( mach, appli, process, arg_ent )

Parameters

Element

Description

Restrictions

mach

alphanumeric expression giving the name of a remote machine

Adonix server

appli

- Numeric expression describing a reference application, or
- Alphanumeric expression describing any application.

- 1  < = appli < = 8

maximum 12 characters

proc

Name of the process

maximum 12 characters

arg_ent

Expressioninteger specifying the characteristic to be found.

0  < = arg_ent < = 20

Examples

   # Find the size of the TRT1 process in number of bytes.
   # If the size found is negative, the file is non existent
    SIZE_TRT = atxinfo("","","TRT1",7)
   # Does the process TRT1 exist in the DEMO folder ?
    EXIST_TRT = atxinfo("","DEMO","TRT1",0)

Description and comments

The function atxinfo is used find all the characteristics in a process compiled in the archive. It gives an argument that specifies the characteristic being searched for. The correspondence between the argument and the characteristic is given in the grid below :

argument

characteristic of the process

part. plateform
0  Existence (0 : no, 1 : yes)
5 User name linked to the process UNIX only
7 Size in bytes
9  Last modification date (in seconds from 01/01/1970 0:0:0:GMT).
20 Comment associate with the process

If the machine or the application are not entered, the system takes the current machine and folder.

Associated errors

Associated keywords


CONTENTS

Adonix X3(r) L4G
Copyright (c) Adonix 1999 - All rights reserved