|
uuumm. RPG send a escape message, which provide immidiate attention to the user that the program is not function properly. If user took option c, all open files and locks are automatically closed and released. If a programmer is contacted, programmer can start a sevice job and jump into the program thru debugger to look at value of all variables or takes option D to dump the program. How do you do that in java?
I'm not understanding the example you given. If a file is open/lock by another job, there is no way for a java or RPG program to close it.
Steve, you cannot simply pick a few features that java has and say that RPG is inferior to java. If it is that easy, I can do the same and say the java is inferior to RPG because:
1) java does not support F spec. In RPG, you easily read/update/write record to a file by simply add a F spec.
2) You cannot use a simple statement like this in java to assign the value of a int variable to a decimal variable: myDecimalVariable = myIntVariable.
3) You cannot use a simple statement like this in java to concate 5 different char strings variable myNewString = string1+string2+string3+string4+string5.
4) RPG allows function parameter to pass by value/const/reference.
5) By adding Bnddir('QC2LE') in the H spec, RPG can easily call function in c standard lib.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.