FBIV_5556

PREP_PROCESS into VAR Value

Discussion created by FBIV_5556 on Feb 11, 2015
Latest reply on Feb 19, 2015 by wingsofred
Is it possible to get a list via PREP_PROCESS and have that piped into a VAR? Below is a simple example.

:SET &HND# = PREP_PROCESS("WVHA8D45","WINCMD","*DIR*","CMD=DIR C:","UC_LOGIN=LOGIN.WINDOWS.VHACORP.AUTOMATION")
:PROCESS &HND#
:   SET &LINE# = GET_PROCESS_LINE(&HND#)
:   PRINT &LINE#
:ENDPROCESS

Outcomes