Skip to main content

Hi, 

I am trying to migrate our Server Express 4.0 systems from an AIX 5.3 TL05 LPAR to an AIX 7.1 hosted WPAR running 5.3 TL12.

after a test

migration

we now get the following when compiling a simple program.

cob fkey.cob

Execution error : file 'direct'
error code: 119, pc=0, call=1, seg=0
119 Name is not unique (binding symbol 'direct')

If we try and run a previously compiled program we get 

Execution error : file 'mfini'
error code: 119, pc=0, call=1, seg=0
119 Name is not unique (binding symbol 'mfini')

If we revert back to using an earlier level of (AIX 5.3 TL10) within the WPAR it works o.k.

We also tried upgrading to Server Express 5.1 but still have the same issue.

The WPAR was created using the -l switch so it has its own /usr and /opt  

I would be grateful for any assistance anyone might be able to provide.

cob fkey.cob

Execution error : file 'direct'
error code: 119, pc=0, call=1, seg=0
119 Name is not unique (binding symbol 'direct')

Hi, 

I am trying to migrate our Server Express 4.0 systems from an AIX 5.3 TL05 LPAR to an AIX 7.1 hosted WPAR running 5.3 TL12.

after a test

migration

we now get the following when compiling a simple program.

cob fkey.cob

Execution error : file 'direct'
error code: 119, pc=0, call=1, seg=0
119 Name is not unique (binding symbol 'direct')

If we try and run a previously compiled program we get 

Execution error : file 'mfini'
error code: 119, pc=0, call=1, seg=0
119 Name is not unique (binding symbol 'mfini')

If we revert back to using an earlier level of (AIX 5.3 TL10) within the WPAR it works o.k.

We also tried upgrading to Server Express 5.1 but still have the same issue.

The WPAR was created using the -l switch so it has its own /usr and /opt  

I would be grateful for any assistance anyone might be able to provide.

cob fkey.cob

Execution error : file 'direct'
error code: 119, pc=0, call=1, seg=0
119 Name is not unique (binding symbol 'direct')

Hello James,

A couple of questions for you. First, have you placed the required entries for running COBOL at the beginning of the PATH and LIBPATH environment variables? If not, you may want to try this, to see if there may be some conflict with other items found during a search of the listed directories. An example of placing these at the beginning:

export COBDIR=/opt/microfocus/cobol    (or, substitute your install location for Server Express)

export PATH=$COBDIR/bin:$PATH

export LIBPATH=$COBDIR/lib:$LIBPATH

Also, are you running COBOL in 32 or 64 bit mode? You can tell this by executing the command "cobmode" after you have set the environment variables required for running COBOL on AIX as described above. If cobmode reports that you are running in 64 bit mode, as an experiment try temporarily switching to 32 bit mode in the current session, by setting the environment variable COBMODE as follows:

export COBMODE=32

Then, please try your compile command - does it also fail in 32 bit mode?


Hi, 

I am trying to migrate our Server Express 4.0 systems from an AIX 5.3 TL05 LPAR to an AIX 7.1 hosted WPAR running 5.3 TL12.

after a test

migration

we now get the following when compiling a simple program.

cob fkey.cob

Execution error : file 'direct'
error code: 119, pc=0, call=1, seg=0
119 Name is not unique (binding symbol 'direct')

If we try and run a previously compiled program we get 

Execution error : file 'mfini'
error code: 119, pc=0, call=1, seg=0
119 Name is not unique (binding symbol 'mfini')

If we revert back to using an earlier level of (AIX 5.3 TL10) within the WPAR it works o.k.

We also tried upgrading to Server Express 5.1 but still have the same issue.

The WPAR was created using the -l switch so it has its own /usr and /opt  

I would be grateful for any assistance anyone might be able to provide.

cob fkey.cob

Execution error : file 'direct'
error code: 119, pc=0, call=1, seg=0
119 Name is not unique (binding symbol 'direct')

Hi Blair,

thanks for your suggestions, I tried the $COBDIR/bin at the start of the path and the LIBPATH only contains $COBDIR/lib

We are using 64-bit mode and I don't have 32bit licences to compile. I did change the COBMODE to 32 bit and tried to run a program but got the same error.

will ask microfocus for a 32 bit trial licence


Hi, 

I am trying to migrate our Server Express 4.0 systems from an AIX 5.3 TL05 LPAR to an AIX 7.1 hosted WPAR running 5.3 TL12.

after a test

migration

we now get the following when compiling a simple program.

cob fkey.cob

Execution error : file 'direct'
error code: 119, pc=0, call=1, seg=0
119 Name is not unique (binding symbol 'direct')

If we try and run a previously compiled program we get 

Execution error : file 'mfini'
error code: 119, pc=0, call=1, seg=0
119 Name is not unique (binding symbol 'mfini')

If we revert back to using an earlier level of (AIX 5.3 TL10) within the WPAR it works o.k.

We also tried upgrading to Server Express 5.1 but still have the same issue.

The WPAR was created using the -l switch so it has its own /usr and /opt  

I would be grateful for any assistance anyone might be able to provide.

cob fkey.cob

Execution error : file 'direct'
error code: 119, pc=0, call=1, seg=0
119 Name is not unique (binding symbol 'direct')

Hi James,

Thanks for the update. Just to be clear, the suggestion of trying 32 bit mode was not a recommendation, but rather a diagnostic step. The fact that you received the same error when setting COBMODE to 32 suggests that the issue might not be resolved by switching to 32 bit.

Because of the complexity of this issue, I would suggest that you create a Support Incident about this, and ask that it be assigned to me.


Hi, 

I am trying to migrate our Server Express 4.0 systems from an AIX 5.3 TL05 LPAR to an AIX 7.1 hosted WPAR running 5.3 TL12.

after a test

migration

we now get the following when compiling a simple program.

cob fkey.cob

Execution error : file 'direct'
error code: 119, pc=0, call=1, seg=0
119 Name is not unique (binding symbol 'direct')

If we try and run a previously compiled program we get 

Execution error : file 'mfini'
error code: 119, pc=0, call=1, seg=0
119 Name is not unique (binding symbol 'mfini')

If we revert back to using an earlier level of (AIX 5.3 TL10) within the WPAR it works o.k.

We also tried upgrading to Server Express 5.1 but still have the same issue.

The WPAR was created using the -l switch so it has its own /usr and /opt  

I would be grateful for any assistance anyone might be able to provide.

cob fkey.cob

Execution error : file 'direct'
error code: 119, pc=0, call=1, seg=0
119 Name is not unique (binding symbol 'direct')

Thanks Blair, we already have a call ref 69576. I will escalate via our account manager and ask for this to be assigned to you.

cheers