• RPG/400 – Window Subfile

    I want to display a footer on a window subfile. I have used a window subfile which displays a list of codes. And want to have a footer on this window. For this I used a simple WINDOW having the same border formats and position as that of the Window subfile - this contains just one line at the...

    Kundankumar 8375 pointsBadges:
  • Converting RPG3 to C

    Does anyone know of a tool that converts RPG3 Source code into C or C#? We are hoping to do this with minimal re-programming.

    julieITAZ5 pointsBadges:
  • Timestamps

    I wish to: 1.) define a timestamp and initialize it to system date/time. What odes the D spec look like for this or can it not be done in the D spec? 2.)Load a data structure whihc is formatted to match timestamp defaults with data by field (CCYY MM DD...etc,). I want to then 3.) Move this data to...

    Bigdog5510 pointsBadges:
  • PAGE X OF X

    If for example, I have a 5 page report, does anyone know how to make the report read page 1 of 5, page 2 of 5, etc without first having to print the report to see how many pages there are? (I am using RPGLE)

    GHENDER190 pointsBadges:
  • AS400 to Windows control application

    Hi there, I am automating a AS400 based process. The process gets inputs from notepad files on Windows server. After I have processed these files through my RPG, CL programs, I need to take following steps I have 14 files in a windows folder. 1. Create a new folder on windows server. 2. Move those...

    Nutan70 pointsBadges:
  • Length in Variable

    i m working in RPLE/400 i want to know that how i define a feild but feild length should be variable

    Adnan5 pointsBadges:
  • 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:

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