RPG IV Questions and Answers

Recent IT Questions

21 - 38 of 38
<<PREVIOUS 1|2 NEXT>>

Combining fields in RPG

How can I combine three fields into one in rpg?

View Answer   |  Oct 13 2008  8:06 PM GMT
RPG, RPG IV
asked by Farmgirl1

  65 pts.

barcoding

how do I print a barcode in the output specs of an RPG IV source program?

View Answer   |  Oct 1 2008  8:23 PM GMT
RPG IV, AS/400 printing
asked by Svitale

  5 pts.

Parms to Cobol from RPGIV

Is it possible to pass parms to a called COBOL pgm from a RPGIV pgm?

View Answer   |  Sep 25 2008  3:51 PM GMT
COBOL, RPG IV
asked by Jrb7911

  10 pts.

Password Expiry

Hi,if i want to change my password after 15 days ..then plz gv me a coding for that in rpgiv....

View Answer   |  Sep 23 2008  4:54 AM GMT
RPG IV, RPG/400, AS/400 user permissions
asked by Swapniln

  35 pts.

RPG //EJECT

Used to use //EJECT to force page breaks while printing out source (usually at end of each subroutine. Doesn't seem to work anymore. Any suggestions?

View Answer   |  Sep 17 2008  8:49 PM GMT
RPG, RPG IV, //EJECT
asked by VGG

  5 pts.

Using *HIVAL

Can I use *HIVAL in Free? (e.g. SetGT (*Hival) Rcd01;) Will this statement position the file cursor after the last record? Thanks. RE

View Answer   |  Aug 6 2008  9:21 PM GMT
RPG IV, Free Format
asked by FresnoBob

  30 pts.

*entry plist

How to use rpgiv d-list instead of *entry plist?

View Answer   |  Jul 30 2008  5:39 PM GMT
RPG IV
asked by Feliche

  5 pts.

Using system() function in RPG IV

Could someone please tell why this doesn't work? Path = '\SOMENAME. I get a CPF006 ('Errors occurred in command.') The message in the joblog is 'String '\XMLDATA\A' contains a character that is not valid.' D path S 63A Varying D cpfmsg S ...

View Answer   |  Jul 2 2008  6:08 PM GMT
AS/400, RPG IV, AS/400 errors
asked by GLinds01

  25 pts.

XML-INTO

I'm trying to use XML-INTO with %XML to convert an XML document into a DB2 database file. The XML file has four levels of data with elements from each level that need to be used for the database record. Naturally, the relationships between the level are important, too. The levels are Header...

View Answer   |  Jun 26 2008  4:02 PM GMT
DB2, XML, RPG IV
asked by GLinds01

  25 pts.

RPQSQL / SQLRPG

Any body please help Wanted to know the advantage and disadvantage using RPGSQL / SQLRPG I've heard that this is the new one its not only RPG but become one with SQL. Thanks in advance

View Answer   |  Jun 25 2008  0:31 AM GMT
RPG, RPGLE, RPG IV
asked by TG

  50 pts.

Automated file transfer from AS400 to Word?

A search400.com reader wrote in with this question: I need to take a spool file (say a Collection Letter) generated from RPGIV. I can copy this spool file to a physical file if needed. I want to automatically import or send this file to Microsoft Word for editing purposes. I have used the...

View Answer   |  Jun 10 2008  5:39 PM GMT
AS/400, RPG IV, Spool files
asked by AS400 - Ask the Expert

  395 pts.

RPG %SCAN Question

I am unable to get all the scanned records for a string in a file. For example, my file itemmast has 1000 records in it. When I use Query 400 and search for 'cable' I get 50 records with the word cable in various positions of a 30 character field. When I use the statement "x = %scan (xcust_pn :...

View Answer   |  Jun 5 2008  4:18 PM GMT
RPG, RPG IV, AS/400 Query
asked by DLM2007

  110 pts.

Printing Logos

We are eliminating some preprinted forms and creating the forms ourselves. The problem is these preprinted forms have our company logo on it. How can I add a logo to a report created on the AS400 in RPGLE?

View Answer   |  Jun 3 2008  5:09 PM GMT
RPG, RPG IV, RPG/400
asked by GHENDER

  50 pts.

Writing Information to the JobLog

I've seen a number of snippets here and there on the internet regarding the ability to write specific information to the job log in order to figure out exact problems, based on the conditions placed within. I've seen reference being made to some API, but have been unable to actually find useful...

View Answer   |  Apr 25 2008  2:11 PM GMT
RPGLE, RPG IV, Joblogs
asked by ShatteredRaven77

  390 pts.

How to FTP a file from PC to my personal library?

How to FTP a file from PC to my personal library?

View Answer   |  Apr 1 2008  11:14 AM GMT
AS/400, RPGLE, RPG IV
asked by Pradeepr

  10 pts.

How to read records in all of the members of a single pf?

I have a file name file1. it has 30 members. i have a input value from a display file and i need to check it in all the members. If it match i write the record in file2. How to read records in all members of a single pf?

View Answer   |  Mar 27 2008  7:13 AM GMT
AS/400, RPGLE, RPG IV
asked by Pradeepr

  10 pts.

Advanced Trigger question for *insert *before to allow update of field value

I need to update a field in a record being written prior to it being written. I want to do it with a trigger because many programs write and update this file. I have tried several things and the closest I have gotten is to do a *before *insert where I can see the values of the fields in the after...

View Answer   |  Nov 28 2007  7:02 PM GMT
RPG, RPGLE, RPG IV
asked by Dcdc

  5 pts.

open(open file for processing)

OPEN commmand is used for what purpose in rpgiv.pls also give me the short program of this command.

View Answer   |  Nov 13 2007  7:22 PM GMT
RPG IV, RPG ILE
asked by Gauravsolanki

  5 pts.

21 - 38 of 38
<<PREVIOUS 1|2 NEXT>>