Difference between CPYTOIMPF and CPYF command
hi, I am working on AS400- RPGILE can anybody please tell me whet is the difference between command CPYTOIMPF an CPYF I would really appreciate if you explane with example. Thanks & Regards Ambrish
hi, I am working on AS400- RPGILE can anybody please tell me whet is the difference between command CPYTOIMPF an CPYF I would really appreciate if you explane with example. Thanks & Regards Ambrish
RPGIII to RPGILE Conversion
Someone out there must hae done this conversion. We are planning on doing this conversion to ILE sometime and would like to know some of the issues. We are planning on using the IBM conversion tool, which I believe can do most of the programs, leaving only a few to "hand" code. What we are more...
Someone out there must hae done this conversion. We are planning on doing this conversion to ILE sometime and would like to know some of the issues. We are planning on using the IBM conversion tool, which I believe can do most of the programs, leaving only a few to "hand" code. What we are more...
Refresh a SQL View in ILE
I have created a view and am using in an ILE module. I have updated one of the files that the view is built with. How do I refresh the View to see this record the next time I run the SQL view? Is there a CREATE OR REPLACE VIEW in RPGILE? Thank you.
I have created a view and am using in an ILE module. I have updated one of the files that the view is built with. How do I refresh the View to see this record the next time I run the SQL view? Is there a CREATE OR REPLACE VIEW in RPGILE? Thank you.
rpg/400
I am not able to send the messages to message subfile.. i am able to compile my rpgile program sucessfully... please find below displayfile and rpgile code for your reference so please advice. display file. A R MSGRCD SFL A*%%TS SD 20090407 ...
I am not able to send the messages to message subfile.. i am able to compile my rpgile program sucessfully... please find below displayfile and rpgile code for your reference so please advice. display file. A R MSGRCD SFL A*%%TS SD 20090407 ...
rpg/400
I have a rpgile (XOP560) program as below. compile sucessfully and while calling program displaying screen but once come out of the screen using f3 i am getting error as below. Message ID . . . . . . : CEE9901 Severity . . . . . . . : 30 Message type . . . . . : Escape ...
I have a rpgile (XOP560) program as below. compile sucessfully and while calling program displaying screen but once come out of the screen using f3 i am getting error as below. Message ID . . . . . . : CEE9901 Severity . . . . . . . : 30 Message type . . . . . : Escape ...
RPG/400
i have a field in PF OHPODT 7 0 one more field in other PF DSORDD 8 A i need to move data from OHPODT to DSORDD in dateformat(CCYYMMDD) i am not sure about dateformat in OHPODT but in this field i can see only 0 value. Please advice me in RPGILE which way to solve.
i have a field in PF OHPODT 7 0 one more field in other PF DSORDD 8 A i need to move data from OHPODT to DSORDD in dateformat(CCYYMMDD) i am not sure about dateformat in OHPODT but in this field i can see only 0 value. Please advice me in RPGILE which way to solve.
rpg/400
can yu advice me how to change date format from mmddyyyy to yyyymmdd in rpgile. Please advice..
can yu advice me how to change date format from mmddyyyy to yyyymmdd in rpgile. Please advice..
How to find out which embedded SQL taking more time in RPGIV program
Hi All, I have 4 Embedded SQLs in my RPGILE program. Can any one tell me how to find out which SQL taking more time to execute ? are there any commands/methods to find out ?
Hi All, I have 4 Embedded SQLs in my RPGILE program. Can any one tell me how to find out which SQL taking more time to execute ? are there any commands/methods to find out ?
Embedded SQL in an RPG FREE program
I am developing an on-line screen program, where the user can select a view of the data from a list of "views". This is my first crack at embedded SQL, Basically i issue the Prepare, declar the c1 scroll cursor, and then open c1, and then do the fetch. At this point I am loading the subfile. ...
I am developing an on-line screen program, where the user can select a view of the data from a list of "views". This is my first crack at embedded SQL, Basically i issue the Prepare, declar the c1 scroll cursor, and then open c1, and then do the fetch. At this point I am loading the subfile. ...
ISeries System Debug Manager
I have recently started using the ISeries System Debug Manager (I know, finally making the move to RPGLE). I have having trouble setting up the library list for it. We do not use the SYSVAL library lists normally for our users. We have a menu system that controls the users library list outside...
I have recently started using the ISeries System Debug Manager (I know, finally making the move to RPGLE). I have having trouble setting up the library list for it. We do not use the SYSVAL library lists normally for our users. We have a menu system that controls the users library list outside...
RPGILE comparing values
i have a value say for example ASD12246. i need to check this value against afile which contains similar values lik this. i need to pick the value that has maximum matches with this number. Sa y for example if the File has ASD122 and ASD1224 i have to selct the code corresponding to ASD1224 as it...
i have a value say for example ASD12246. i need to check this value against afile which contains similar values lik this. i need to pick the value that has maximum matches with this number. Sa y for example if the File has ASD122 and ASD1224 i have to selct the code corresponding to ASD1224 as it...
Result fields in RPG/400 vs ILERPG
When coding in RPG400, the result of a calculation can be larger than the size of the result field, like this: D Fld1 s 2 0 Inz(20) D Fld2 s 2 0 Inz(10) D Fld3 s 2 0 Inz ...
When coding in RPG400, the result of a calculation can be larger than the size of the result field, like this: D Fld1 s 2 0 Inz(20) D Fld2 s 2 0 Inz(10) D Fld3 s 2 0 Inz ...
MOVEA Equivalent command in free format RPG
Hi, I have to move each character in a string to an array. In RPG, I can very well use the command MOVEA for this purpose but I don’t know exact command in free format RPG. Can anyone help me on this regards?
Hi, I have to move each character in a string to an array. In RPG, I can very well use the command MOVEA for this purpose but I don’t know exact command in free format RPG. Can anyone help me on this regards?
(AS/400 - RPG(ILE)) Date-Conversion
Date-Conversion --------------------- I have a date in 7-digit format in '1YYMMDD' format. e.g 1071231 for representing 31st of December 2007.(where '107' represents 2007; 12 represents December & 31 represents 31st Day of the month). Now i need to convert this into '31/12/2007' (European...
Date-Conversion --------------------- I have a date in 7-digit format in '1YYMMDD' format. e.g 1071231 for representing 31st of December 2007.(where '107' represents 2007; 12 represents December & 31 represents 31st Day of the month). Now i need to convert this into '31/12/2007' (European...
Java on iSeries
We have a java program running on web sphere on linux. The java program is zipped as jar and deployed in an IFS directory and we use RPGILE to call the java program. Would it be possible to deploy war file instead of jar file in IFS directory and call the java program in the war file using...
We have a java program running on web sphere on linux. The java program is zipped as jar and deployed in an IFS directory and we use RPGILE to call the java program. Would it be possible to deploy war file instead of jar file in IFS directory and call the java program in the war file using...
How to convert system date to other format using RPGILE
please advice how can convert system date to other format using rpgile.
please advice how can convert system date to other format using rpgile.
ILE - module change
Hi, 1) How to find the list of programs using a module (other than find string or hawkeye) which needs to be modified? 2) If a module used by more than 15 program needs to be changed, what are the ways to update the impacted programs (apart from running UPDPGM command)?
Hi, 1) How to find the list of programs using a module (other than find string or hawkeye) which needs to be modified? 2) If a module used by more than 15 program needs to be changed, what are the ways to update the impacted programs (apart from running UPDPGM command)?
as/400
Hi I have a flaftfile programe in rpgile. I need to write the header details (which is given by user in display screen ) to flat file. When user given company is 50 then that should to write header part like company=50 programe is sucessfully write the records to flat file addition to that i...
Hi I have a flaftfile programe in rpgile. I need to write the header details (which is given by user in display screen ) to flat file. When user given company is 50 then that should to write header part like company=50 programe is sucessfully write the records to flat file addition to that i...
System date and RPG/400
please advice me how to less 1 day from system date in rpgile. please send me the syntex.
please advice me how to less 1 day from system date in rpgile. please send me the syntex.
How to manage allocated register problems in RPG?
Hello. I'm having troubles with many allocated registers for update, when 2 users try to modify the same data. How is the correct way to prevent this situation in ILERPG ? Thanks!
Hello. I'm having troubles with many allocated registers for update, when 2 users try to modify the same data. How is the correct way to prevent this situation in ILERPG ? Thanks!


