-1

For ex:

Def var l_output as character.

Unix silent value(file filename | awk '{print $2}').

Output will be like format of filename i.e ascii, so now I need to return this value in a variable l_output??

Pls someone help me to sort this out. Thanks

Jensd
  • 7,886
  • 2
  • 28
  • 37

1 Answers1

1

Please use the INPUT THROUGH VALUE (your Unix statement).

This opens a stream for the output of the OS Command. Then

REPEAT:
  IMPORT l_output.
  MESSAGE l_output.
END.
Jensd
  • 7,886
  • 2
  • 28
  • 37
Mike Fechner
  • 6,627
  • 15
  • 17