Work Files with NaturalOne over docker

I am working with Natural One 9.1.4 over a Docker server with a Free Trial License

Im trying to read a WORK FILE but Im not able to read it.

DEFINE DATA LOCAL
1 PROGRAMA
  2 NOMBRE        (A008)
  2 DESCRIPCION   (A070)
END-DEFINE
*
DEFINE WORK FILE 1 
    'E:\NaturalOne1\AdministracionPersonal\LSTPRGMS.TXT'
*
READ WORK FILE 1 PROGRAMA
  DISPLAY NOMBRE DESCRIPCION
END-WORK
*
CLOSE WORK FILE 1
END

The text file exists at the path but I just receive a fail named NAT1599 Attemp to execute READ/WRITE WORK FILE to non-existent file

When I worked with the old Natural-CE free trial this code worked.

Any help?

Thanks

Hello,
You are lucky ! I can’t donwload NATURALONE for free trial.
Every time, i have the message

Temporarily unavailable

Didier

Hello,

Due to the Log4j vulnerability the download of the Community Edition is temporary closed.
We will notify once it will be available again.

Eli

We will check it and will get back to you here.

Eli

Hello @Marcos_Cob
You are trying to use windows drive on a Linux docker, could you change it to a full path on the Linux machine and let us know if you managed to access the file ?

Eli

Thanks a lot!!!

I had not noticed that server is running over Linux and docker…

I have created a txt into the project and I have uploaded it to server into the path /opt/softwareag/Natural/fuser/ADMPERS/RES/PRGRMS.TXT

DEFINE DATA LOCAL
1 #FICH              (A256) INIT <'/opt/softwareag/Natural/fuser/ADMPERS/RES/PRGRMS.TXT'>
1 #PROGRAMA
  2 NOMBRE        (A008)
  2 DESCRIPCION   (A070)
END-DEFINE
*
DEFINE WORK FILE 11 #FICH TYPE "ASCII" ATTRIBUTES 'KEEP'
*		
READ WORK 11 #PROGRAMA
  DISPLAY NOMBRE DESCRIPCION
END-WORK
*
CLOSE WORK FILE 11
END
1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.