• Service Program Parameters Written Directly to PF

    I'm taking an old RPG program that does all the writing of records to a PF & converting it to a service program. This should reduce the processing of these records considerably (no more opening & closing the file for each record). I've created the service program & tested it, the only problem seems...

    Adamdowen65 pointsBadges:
  • How can a factor 2 on a CALL be changed?

    I have the following code: C CALL 'UTWIPT' C PARM P0Part P1PART 20 C PARM P0Seq# P1SEQ# 3 0 C PARM P0Lot# P1LOT# 15 Before it excutes the value of P0SEQ# is 035... after the call I am getting different value... that is later causing a data dec error (such as hex F0F1). I didn't think a call could...

    JamesR90 pointsBadges:
  • AS/400 WRITE Op code writes then deletes

    I have a program where the WRITE op code is not working. After the program runs, there should be records in a file, but instead the deleted records are increased. I have debugged the program and as soon as the WRITE statement is executed the number of deleted records is increased. I've never seen...

    Gulger9920 pointsBadges:
  • rpg sql concat

    Our database was designed with separate fields for cc, yy, mm and dd. I'd like to know if and how these fields can be combined into one field then order by on that field. Is this possible? I would need to know the syntax also. If this is not possible, then is there a another way to order by...

    mcg15 pointsBadges:
  • Over and under Hex display/edit

    Hi, I'm busy with a utility program on the i-Series (written in OPM RPG - which is still the standard where I am) and I need to be able to show some fields in hex mode for editing, like the DSPPFM command when you press F10 and F11. So I'm looking to display the hex values "over and under", with...

    Gilly40023,730 pointsBadges:
  • AS/400 what keyword is used on the RPG IV definition specification to rename a subfield in an externaly defined data structure

    what keyword is used on the RPG IV definition specification to rename a subfield in an externaly defined data structure

    Developin5 pointsBadges:
  • EUSRSPLA

    in the RPG program DLTOLDSPLF, it is looking to copy EUSRSPLA from source code file QRPGSRC, does anyone know what library it is supposed to be in.

    Abbey120 pointsBadges:
  • Verhoeff Algorithm in RPG Code

    I'm trying to find the Verhoeff Algorithm in RPG code. I have found it in other languages but none in RPG. Does anyone have this formula in RPG? TIA

    Cryptonixx5 pointsBadges:
  • Question on LoadAll Subfile.

    Hi, How to load more than 9999 records in the case of loadall subfile??? And i don't want delete previously loaded records. Thanks, Rama Krishna

    0 pointsBadges:
  • WHAT IS THE NEED OF *NODEBUGIO WHILE DOING COMPILE A RPG PROGRAM

    WHAT IS THE NEED OF USING *NODEBUGIO WHILE DOING COMPILE A RPG PROGRAM?

    Sangay635 pointsBadges:
  • RPG with Dynamic SQL Problem – SQLCOD 501/312

    I'm trying to do simple dynamic SQL in a program to select records for a subfile but it doesn't seem to be working. sSql = 'SELECT orderno FROM ordhdr ' 'WHERE custno = :scSrchCust '; following this I have: exec SQL CLOSE @Orders; exec SQL Prepare Stmt from :sSQL; exec SQL Declare @Orders SCROLL...

    MMAGuy85 pointsBadges:
  • Writing an MQ message

    I have to write a program that sends some data from MQ. I will read a data file process it, and then instead of populating a file and FTP'ing the file to a server. I need to send the data via MQ. How do I write the message to MQ, how do I set up the message length etc.

    Andy Mansell55 pointsBadges:
  • Multiple Sorts Without Using Multiple Function Keys

    When doing WRKACTJOB, you can put the cursor over the column you wish to sort and then press F16. I have a subfile program with multiple sorts and presently the user has to press different function keys to sort. Can anyone give me an example of the code to use so my program will act like that in...

    GHENDER190 pointsBadges:
  • SFL Application Help

    I have a SFL that has drop/fold capability and application help through out. The problem is when the SFL is in drop mode and additional fields are being displayed, how do I associate help to those fields? I cannot use the HLPID keyword as it's not allowed on the SFL record nor can I use *FLD in the...

    Floyd02320 pointsBadges:
  • Data Max M class 2 setup & RPG code sample

    Looking for someone who has set up the new Data Max M class 2 ethernet printer on an as/400 that can provide the device/out queue description and a sample RPG output spec. We have old twinax Data Max printers and the code does not print.

    Npjb5 pointsBadges:
  • Header Specification

    When I compile any RPG program that time I could also see all comment lines from the program in Spool File. If I dont want to see those comment lines in the Spool File then what option do I need to specify in H Spec?

    Vids295 pointsBadges:
  • iSeries PDM CRTBNDRPG Parameters

    Hello The question is a bit long but the answer should be short so here it is. In order to run some pre/post-compile processing of RPG program I'm looking for a way of replacing QRN4CPP (CPP of CRTBNDRPG) with a CL program of my own that wil run Pre-Compile, Invoke the original QRN4CPP and then run...

    Gad75 pointsBadges:
  • How do I write a RPG automatic refresh screen like WRKSYSACT?

    I would like a RPG applicate to automatically refresh the page without the user's return. I have tried the write and read to the subfile with the CRTDSPF WAIT field but with no success. Any suggestions

    Supertaz10 pointsBadges:
  • serch for reference of PF/LF

    Is there any command to find out any perticular PF OR LF used in which RPG program across all libraries and SOURCE PHYSICAL FILES ????

    BU115 pointsBadges:
  • %replace BIF

    Anyone have an example how to use this bif?

    Kstinman5 pointsBadges:

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following