please advice me how to convert numeric field to character field in rpgile.
Answer Question | January 7, 2009 3:14 PM
Service Program contains 10 procedures. 5 Procdures in that service programs are defined with export keyword.5 Procdures in that service programs are defined with import keyword. i am calling the procedures from other ile program. How many procedures are available for me? How to hide the procedures in a service programs for other ile programs?
Answer Question | January 5, 2009 5:59 AM
AS/400 service program, RPG, RPG/400, RPGLE
I have a PF with some data in it which i am using in a RPG program. I got another text file with extra data related to PF in it. I have to add this data to the existing data in the PF, Please tell me how can i do this from my RPG program….advance [...]
Answer Question | January 5, 2009 6:15 PM
Physical File, RPG, RPG/400
Am trying to write to a flat file from a pf using data structures but am getting some errors ‘The name specified previously is defined as file or record name. Specification ignored ‘ Heres the sample code FABCL01 IF E K DISK FDEF O E DISK A F DEF KRENAMEDA100 IABFLAT DS I 1 8 [...]
Answer Question | January 4, 2009 2:59 PM
AS/400 flat file, RPG/400
how to concat a char and numeric field in rpg400.
Answer Question | January 4, 2009 1:14 PM
RPG/400, RPG/400 Field Concatenation
while i am compiling the below program compile sucessfull and write the records into SA100 (Flatfile). C READ APHL01 C *IN20 DOWEQ *OFF C EVAL EDTE = APIRDT C EVAL CCDE = APCMPY C EVAL ERPN = PHDCPX + %EDITC(PHDCSQ:’X') C EVAL FYEAR = PHDCYR C EVAL INVNO = APINV C EVAL INVDT = AINVDT [...]
Answer Question | December 31, 2008 12:00 PM
AS/400 flat file, RPG/400
I want to call a procedure from a RPG Program. Is it possible?
Answer Question | December 30, 2008 11:38 AM
I want to chain a file with RRN value but the file is not KEYED. How is it possible in RPG/400?. Please suggest me!
Answer Question | December 29, 2008 7:13 PM
i need to concatinate two fields and send to resultant field in rpg/400. one is numeric and other one is character. so please advice how can i
Answer Question | December 23, 2008 1:06 PM
Concatenate, RPG/400, RPG/400 Field Concatenation, RPG/400 field validation
Please check the below prgram and advice me how to send the data from APH(physical file) to Flate file SAAPH (flat file). FTRF is a datstructure created for send the data only this two fields in flat file. i am not sure how to club this data structre and flat file in programe. FAPH IF [...]
Answer Question | December 23, 2008 12:45 PM
Flat files, Physical File, RPG, RPG error handling, RPG/400, RPG/400 field validation
please advice me how to less 1 day from system date in rpgile. please send me the syntex.
Answer Question | December 24, 2008 8:54 AM
OS/400 System Date, RPG, RPG/400, RPGILE
Hi, I have created module mod1. and i have merged the mod1 with services programs sp1, sp2, sp3. how do i find what are all the service programs attached with that particular module?
Answer Question | January 7, 2009 8:21 AM
AS/400 development, RPG, RPG Modules, RPG/400, RPGLE
Is there any open source tool avaiable to measure the code complexity for AS400 programming languages like RPG, COBOL?
Answer Question | March 13, 2009 4:39 PM
COBOL, Code Complexity, Open source software, RPG, RPG/400
Hi I have a task to perform Create a screen with a date and year field,the value given in this field will be mapped to a database file and a set of records will be retrieved from this file with the screen values as select conditions.This has to be further written to a new file. [...]
Answer Question | December 15, 2008 11:52 AM
RPG, RPG Subroutine, RPG/400
How can I go to next page when I am printing from an RPG/400 program and using an externally described printer file. Scenarios are:- 1. I need to print only 2 lines in a page, and print 2 more lines in next page. 2. I am coming across overflow error CPF5004 when printing a database [...]
Answer Question | December 12, 2008 7:11 AM
AS/400 printing, Overflow Error CPF5004, RPG/400
On the AS400/ISeries/SystemI, I would like to read PC file data from a PC Server into my RPG program. What is the best way to accomplish this task? Right now, it would be for READ ONLY.
Answer Question | December 1, 2008 6:28 PM
AS/400, RPG, RPG ILE, RPG import, RPG/400
As a part of training in RPG i have created a pf with two fields barcode and vendor.I have created a screen with the same fields.Now i need a code in rpg400 that will open the screen and when values are entered it should get populated in the file.
Answer Question | December 5, 2008 10:06 AM
Hi I am finding error while compliing RPG/400 program error is as follows Message . . . . : Total parameters passed does not match number required. Program QRGRT attempted to call program QCLRTVJA with 47 parameters. Program QCLRTVJA expects a minimum of 48 and a maxmum of 50 can any body tell me which [...]
Answer Question | December 1, 2008 6:44 AM
QCLRTVJA, RPG, RPG Error Messages, RPG/400
Hi Martin, thanks for the previous query. Now i want to read the data of a DB file and display the data via display file. I have written following code for this: FPFRPG1 IF E K DISK FDSP1 CF E WORKSTN C READ REC C DOW *IN03=*OFF C EXFMT DSP C IF *IN01=*ON C ENDIF [...]
Answer Question | November 26, 2008 10:47 AM
I have a file which should be ftped to another server.I have the ftp script.Can you suggest 1.code to automatically ftp the file to another server 2.also to send email alerts using snddst if ftp fails.
Answer Question | November 26, 2008 9:46 AM
AS/400 FTP, RPG, RPG/400, Send Distribution, SNDDST