added LSL2 stored procedures

This commit is contained in:
Infineon\StieberD
2024-03-25 14:46:21 -07:00
parent 09f1a66046
commit c667dd56eb
1655 changed files with 527967 additions and 0 deletions

View File

@ -0,0 +1,41 @@
SUBROUTINE ROTR_ACTION_CONV(ConvType, DataIo, ReturnCode, ReturnedValue)
#pragma precomp SRP_PreCompiler
$insert logical
equ valid$ to 0 ;* successful
equ invalid_msg$ to 1 ;* bad data - print error message window
equ invalid_conv$ to 2 ;* bad conversion - " "
equ invalid_nomsg$ to 3 ;* bad but do not print the error message window
status() = Valid$
IF NOT(ASSIGNED(ReturnCode)) THEN ReturnCode = ''
begin case
case ConvType = 'ICONV'
ReturnedValue = DataIo
case ConvType = 'OCONV'
If DataIO EQ 'A' then
Desc = 'Accepted'
end else
Vals = XLATE('SYSREPOSPOPUPS','LSL2**ROTR_ACTION',8,'X')
Desc = ''
LOOP
Val = Vals[1,@VM]
Code = Val[1,@SVM]
Desc = Val[COL2()+1,@SVM]
UNTIL (Code = DataIO) OR (Vals EQ '')
Vals = DELETE(Vals,1,1,0)
REPEAT
end
ReturnedValue = Desc
case otherwise$
status() = invalid_msg$
end case
return