Hi Guys,
as you can see I want to search for a string (mousehouse) within a file and if the response is "0000000000000001" the process should stop so that the value "0000000000000001" stay in the variable &POS#.
The bold shows what I want to do but the location is false.
:SET &SEARCHSTRING#="mousehouse"
:SET &HND# = PREP_PROCESS_FILE("&HOST#", "/xxx/xxxx/xxxx/",,,"UC_LOGIN=sdfjsdf")
:PROCESS &HND#
: SET &LINE#=GET_PROCESS_LINE(&HND#)
:SET &POS#=STR_FIND(&LINE#,&SEARCHSTRING#)
:PRINT &POS#
:IF &POS# = 0000000000000001
:ENDPROCESS
:ENDIF
:PRINT &LINE#
:ENDPROCESS
:Wait 10
Thank you and best regards
Alex