The format for invoking VIIF can be different depending on whether you want to process a pending view recovery. If you do not want to process a pending view recovery, the format is:
>>-CALL--ISPLINK--('VIIFbbbb'--,-+-data-name-+--,profile-name---> '-'b'-------' >--,rec-format--,rec-len--,read-routine--,-+-cmd-routine-+------> '-'b'---------' >--,-+-dialog-data-+--,-+-edit-len-+--,-+-panel-name-+----------> '-'b'---------' '-'b'------' '-'b'--------' .-'NObbbbbb'-. >--,-+-macro-name-+--,-+-format-name-+--,-+-'b'--------+--------> '-'b'--------' '-'b'---------' '-'YESbbbbb'-' .-'NObbbbbb'-. >--,-+-'b'--------+--,-+-parm-var-+--,-+-write-routine-+--------> '-'YESbbbbb'-' '-'b'------' '-'b'-----------' .-'YESbbbbb'-. >--,-+-'b'--------+--,-+-tabname-+--);------------------------->< '-'NObbbbbb'-' '-'b'-----'
You must use the VIIF service to recover data viewed in a previous VIIF session. You must invoke the EDIREC service first to see if a recovery is pending. If you want to process a pending recovery, use this format for VIIF, specifying YES for the recovery-request parameter:
>>-CALL--ISPLINK--('VIIFbbbb'--,--+-data-name-+--,'b'--,--------> '-'b'-------' >--+-rec-format-+--,--+-rec-len-+--,read-routine--,-------------> '-'b'--------' '-'b'-----' >--+-cmd-routine-+--,--+-dialog-data-+--,'b'--,'b'--,'b'--------> '-'b'---------' '-'b'---------' >--,'b'--,'b'--,'YESbbbbb'--,'b'--,--+-write-routine-+--,''-----> '-'b'-----------' >--,-+-tabname-+--);------------------------------------------->< '-'b'-----'