"$HASP650 $AJ58747' INVALID OPERAND OR MISPLACED OPERAND"
The ' on isfexec is being terminated earlier by the ' on the command.
Could you please let me know how to correct this.
I changed the "s with 's. It comes up with the below error
ISF302E """ was seen in command position 9 where one of the following was expec
ted: /, QUOTED-STRING, UNQUOTED-STRING.
The complete code: Courtesy Enrico
Parse Source _sys _how _cmd .
parse arg args
IsfRC = isfcalls("ON")
if IsfRC ¬= 0 then do
say "isfcalls RC" IsfRC
cmd = "/D U,TAPE,ONLINE"
Address SDSF "isfexec '" || cmd || "' "
if RC ¬= 0 then do
say "isfexec RC" RC
do im = 1 to isfmsg2.0
say 'isfulog.0=' isfulog.0
do il = 1 to isfulog.0
say right(il,1) isfulog.il
call isfcalls "OFF"