[Migrated content. Thread originally posted on 05 January 2012]
Hello,I have this piece of code in a Visual Cobol program.
This works correctly; it display the first line from the result of execute the next command: “cd outEcl;ls -lo 2>/dev/null|awk '/^-r/{print $8}'”
...
SELECT MANIOBRA
ASSIGN TO INPUT LOC-MANIOBRA
ORGANIZATION LINE SEQUENTIAL.
...
FD MANIOBRA
LABEL RECORD STANDARD.
01 ART-MANIOBRA PIC X(25).
...
INITIALIZE LOC-MANIOBRA.
STRING "
"outEcl" DELIMITED BY " "
";ls -lo" DELIMITED BY SIZE
" 2>/dev/null|awk '/^-r/{print $8}' "
DELIMITED BY SIZE
INTO LOC-MANIOBRA
END-STRING.
OPEN INPUT MANIOBRA.
READ MANIOBRA NEXT.
DISPLAY ART-MANIOBRA.
CLOSE MANIOBRA.I have configured the program in VisualCobol to work with the RM/COBOL File Handler (using CALLFH(ACUFH) compiler directive, etc.), and then the programs returns the next error:
I/O error : file '
error code: 3/5 (ANS85), pc=0, call=1, seg=0
13 File not found Is it possible that I need any additional configuration??
Thank you




