-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
These are some conversions that are either missing or broken:
open <filename> as <file>andwrite <file> fromare broken, especially with thefileparameter.remedy: Just figure out where thefilestring is being mangled
evaluateis not convertedremedy: Easy way is to just convert toIF/ELSIF/ELSIF/ELSE/END IF
writeis often not converted to autl_file.put_line(statementNo idea, probably forgot some code
printis not at all supported.- This will require helper routines and more complicated analysis of the program.
- I have a PL/SQL function (
f_overstr(in, str, col[,width])that let's you overwrite a section of a string with a substring and that helps immensely, but that doesn't help with the more complicated print breaks (these execute a function/procedure when when a given variable's value changes, then prints a heading and executes another function/procedure).
displaycommands should translate toDBMS_OUTPUT.PUT()andDBMS_OUTPUT.PUT_LINE().- In SQR, you can have a SQL
SELECTquery and directly reference the columns in other scopes. This doesn't work in PL/SQL, so conversion should try to locate which query a given&my_colcame from and assign the value to a global var. movejust assumes that it is formatting to a string and that it is a validto_char()format. It should at the very least detect the type of the conversion.- Conditions that span multiple lines, like in
Ifstatements will not convert properly.- Remedy: A basic expression parser to figure out when the condition is finished.
Conditions with comments on the same line will append theTHENorLOOPto the end of the comment.Remedy: insert before the comment.
Metadata
Metadata
Assignees
Labels
No labels