Hello, I'm new to the community and need help.
Microfocus cobol'm working under UNIX operating system AIX Version 5 system is multi-user information, the connection to the server is via telnet, the problem I have is with the indexed files will be shared when removed error, as I make the system the archive management handled correctly? I tried to use the command to set the fileshare fs but I think I'm comentiendo an error.
I appreciate the collaboration .... thanks
I am not sure what the error it is that you are experiencing.
Can you please provide some more detail?
Fileshare is not required in order to share files on AIX using Server Express compiled applications as the default file handler supports file sharing directly.
Fileshare is normally used when the files reside on a different server than the one on which the application is running.
Thanks.
Hello, I'm new to the community and need help.
Microfocus cobol'm working under UNIX operating system AIX Version 5 system is multi-user information, the connection to the server is via telnet, the problem I have is with the indexed files will be shared when removed error, as I make the system the archive management handled correctly? I tried to use the command to set the fileshare fs but I think I'm comentiendo an error.
I appreciate the collaboration .... thanks
In the application two different users enter one of them runs a program, see a file and do it correctly, the other user runs a different program but viewing the same file and the following error occurs Execution error:
file '/ vallejo/desa/ixplanv/rc/int/sergp426.int' |
error code: 163, pc = DE9, call = 1, seg = 0umplimiento) |
163 Illegal character in numeric field
But if the second user runs the program without first independently run your software that does not fail, the problem is file sharing?
thanks
Hello, I'm new to the community and need help.
Microfocus cobol'm working under UNIX operating system AIX Version 5 system is multi-user information, the connection to the server is via telnet, the problem I have is with the indexed files will be shared when removed error, as I make the system the archive management handled correctly? I tried to use the command to set the fileshare fs but I think I'm comentiendo an error.
I appreciate the collaboration .... thanks
A 163 error indicates that there is invalid data in a numeric field and has nothing to do with file sharing.
You can set COBSW -F to turn off this checking but you should really animate your application to find out on which statement the problem is ocurring.
The following is from the Server Express documentation:
Setting Run-time Switches
You can specify switches in the following ways:
In the IDE (such as in project properties). These switch settings are built into your application and are the defaults used for your application. These settings can be overridden when you run the application.
In the environment variable COBSW. These switch settings take effect when you start the applciation. We recommend that for switches affecting file handling, you do not use COBSW, but edit the file handler configuration file Extfh instead.
On the command line.These switch settings take effect when you start the application. Switch settings on the command line take precedence over those in COBSW.
Syntax for Setting Switches
The syntax for setting switches on the command line is:
({ { |-|/}s }...)
To set switches using COBSW use the following operating system command:
COBSW={ { |-|/}s }...
export COBSW
where:
{ | } Choose one of the items either side of the |.
{ }... You can repeat this item.
s A switch. It can be a digit, a letter (upper or lower case), or a letter followed by a digit in the range 0 through 7. A letter is equivalent to the same letter followed by the digit 0. For example B, B0 all refer to the same switch.
Sets the switch on.
- Sets the switch off.
Notes:
Switches can be separated by spaces (but this is not required); however, there must not be a space between the sign (" " or "-") and its associated switch
Switches can be specified in any order, but each programmable or alphabetic switch must be preceded by a sign
Individual switches can be set more than once, but the last setting of any particular switch is the one accepted by the system
Switches remain set when COBOL subprograms are called
Switches set on the command line take precedence over those defined in the COBSW environment variable
Switches are case sensitive
Examples
The following command sets the programmable switches 1 and 4 on, and all the others (2, 3, 5-8) are off by default:
COBSW= 1 4
The following command loads the program myprog.int, myprog.gnt or myprog.so from the current directory (depending on the program search order) with programmable switches 5 and 7 on and switch 2 off.
cobrun -2 5-7 7 ./myprog
In the above example, note switch 7 is turned on, since the last setting of it (that is 7) is the one used. Switches 0, 1, 3, 4, 6 and 8, which are not specified, are off by default.
The following command loads the program Myprog with switches T on and O off:
cobrun ( T-O) ./myprog