RPGILE Questions and Answers

Recent IT Questions

21 - 40 of 74

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

View Answer   |  Apr 18 2009  11:57 AM GMT
RPGILE, CPYTOIMPF, CPYF
asked by Ambrish 82

  275 pts.

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...

View Answer   |  Apr 8 2009  5:33 AM GMT
RPG, RPGILE, IBM conversion tool
asked by Tjgm88

  440 pts.

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.

View Answer   |  Apr 7 2009  5:05 PM GMT
SQL View, AS/400 SQL View, RPGILE
asked by BisonHawk

  25 pts.

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 ...

View Answer   |  Apr 7 2009  4:31 PM GMT
RPG/400, iSeries RPG programming, RPGILE
asked by Askt

  265 pts.

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 ...

View Answer   |  Apr 6 2009  2:54 PM GMT
RPGILE, RPG/400, RPG Error Messages
asked by Askt

  265 pts.

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.

View Answer   |  Apr 4 2009  11:42 AM GMT
AS/400, RPGILE, DSORDD
asked by Askt

  265 pts.

rpg/400

can yu advice me how to change date format from mmddyyyy to yyyymmdd in rpgile. Please advice..

View Answer   |  Apr 2 2009  2:59 PM GMT
RPG/400, RPGILE
asked by Askt

  265 pts.

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 ?

View Answer   |  Mar 31 2009  12:42 AM GMT
RPGILE, Embedded SQL, RPG IV
asked by Mohan K

  470 pts.

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. ...

View Answer   |  Mar 25 2009  5:17 PM GMT
Embedded SQL, RPGILE, SQL
asked by Merts

  25 pts.

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...

View Answer   |  Mar 12 2009  6:30 PM GMT
RPG, RPGILE, RPG debugging
asked by Willhud69

  205 pts.

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...

View Answer   |  Mar 3 2009  6:13 AM GMT
RPGILE, RPG ILE, RPG
asked by Deepz

  30 pts.

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 ...

View Answer   |  Feb 27 2009  5:34 PM GMT
RPG/400, ILERPG, RPGILE
asked by TopKat

  125 pts.

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?

View Answer   |  Feb 12 2009  7:25 AM GMT
RPGILE, MOVEA, Free Format RPG
asked by Frmdeva

  215 pts.

(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...

View Answer   |  Feb 9 2009  11:22 AM GMT
RPG/400, RPGILE, AS/400 development
asked by Svankipu

  55 pts.

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...

View Answer   |  Feb 5 2009  4:12 AM GMT
Java, iSeries, RPGILE
asked by Uiiuo

  50 pts.

How to convert system date to other format using RPGILE

please advice how can convert system date to other format using rpgile.

View Answer   |  Feb 4 2009  11:20 AM GMT
RPGILE, System date, RPG/400
asked by Askt1

  105 pts.

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)?

View Answer   |  Jan 28 2009  9:39 AM GMT
ILE, ILE for iSeries, ILE RPG
asked by RJES

  45 pts.

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...

View Answer   |  Jan 6 2009  2:48 PM GMT
RPG/400, RPGILE
asked by Askt1

  105 pts.

System date and RPG/400

please advice me how to less 1 day from system date in rpgile. please send me the syntex.

View Answer   |  Dec 23 2008  8:54 AM GMT
RPG, RPGILE, RPG/400
asked by Askt1

  105 pts.

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!

View Answer   |  Dec 11 2008  2:56 AM GMT
RPG, RPG ILE, RPGILE
asked by Mariodlg

  210 pts.

21 - 40 of 74