RPG/400 Questions and Answers

Recent IT Questions

61 - 80 of 145

RPG/400: Maximum and minimum values

Please advice how to find out maximum and minimum values in particular filed using rpg/400.

View Answer   |  Jan 16 2009  7:37 AM GMT
RPG/400, MaxField, MinField
asked by Askt1

  105 pts.

How to get the duplicate records using RPG/400

Please advice how to get the duplicate records using rpg/400.

View Answer   |  Jan 16 2009  7:33 AM GMT
RPG/400, RPG, Duplicate records
asked by Askt1

  105 pts.

How to get a Lastname from a field that contains the Full Name? (RPG-ILE)

Hi Guys, I need your suggestions.... I have to extract data from our AS400 box and convert it into text file. For a client's name we have 3 particular fields. 1. FirstName, 2. LastName and 3. FullName. The problem is there are records where First Name and LastName fields are empty. Thats why I...

View Answer   |  Jan 13 2009  6:55 AM GMT
RPG ILE, RPG/400, AS/400 development
asked by Niel

  5 pts.

RVI Software

I set up all our AP checks images for routing to an IFS Folder (PC). There are 12,763 images! When I ran the RVI program IMMUTOR1 it aborted with the message below. How can I clear the “R” from some of the existing APCHK’s I have routine so I can reduce the number of images to be routed? ...

View Answer   |  Jan 12 2009  4:06 PM GMT
RPG ILE, RPG/400, RVI Software
asked by VTX

  10 pts.

Using STRISDB without the program source available

Can I use STRISDB on a machine where the program object exists but the source doesn't?

View Answer   |  Jan 9 2009  2:47 PM GMT
RPG/400, STRISDB
asked by Gibby

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

rpg/400

please advice me how to convert numeric field to character field in rpgile.

View Answer   |  Jan 5 2009  3:14 PM GMT
RPG/400, RPG
asked by Askt1

  105 pts.

AS/400 development

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

View Answer   |  Jan 5 2009  5:59 AM GMT
RPGLE, AS/400 service program, RPG
asked by Rajeshece

  460 pts.

Record addition in a PF

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 thanks

View Answer   |  Jan 3 2009  6:15 PM GMT
RPG, Physical File, RPG/400
asked by Ten2008

  725 pts.

RPG 400 DATA STUCTURES

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

View Answer   |  Jan 2 2009  2:59 PM GMT
AS/400 flat file, RPG/400
asked by Anderson123

  840 pts.

concat char and numeric field in rpg400

how to concat a char and numeric field in rpg400.

View Answer   |  Jan 2 2009  1:14 PM GMT
RPG/400, RPG/400 Field Concatenation
asked by Anderson123

  840 pts.

rpg/400

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

View Answer   |  Dec 31 2008  12:00 AM GMT
AS/400 flat file, RPG/400
asked by Askt1

  105 pts.

AS400

I want to call a procedure from a RPG Program. Is it possible?

View Answer   |  Dec 30 2008  11:38 AM GMT
RPG/400
asked by Rajeshece

  460 pts.

RRN to Chain the file

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!

View Answer   |  Dec 27 2008  7:13 PM GMT
RPG/400
asked by Frmdeva

  215 pts.

validation

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

View Answer   |  Dec 23 2008  1:06 PM GMT
Concatenate, RPG/400, RPG/400 field validation
asked by Askt1

  105 pts.

How to send the data from a Physical file to a Flat file

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

View Answer   |  Dec 23 2008  12:45 AM GMT
RPG, Physical File, RPG/400
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.

AS400 - RPGLE Module

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?

View Answer   |  Dec 22 2008  8:21 AM GMT
RPG, RPGLE, RPG/400
asked by Rajeshece

  460 pts.

Code Complexity tool for AS400

Is there any open source tool avaiable to measure the code complexity for AS400 programming languages like RPG, COBOL?

View Answer   |  Dec 19 2008  4:39 PM GMT
COBOL, RPG, Open source software
asked by Frmdeva

  215 pts.

Suggesions for programming task in RPG

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

View Answer   |  Dec 12 2008  11:52 AM GMT
RPG, RPG/400, RPG Subroutine
asked by Anderson123

  840 pts.

61 - 80 of 145