• Downgrade from Free Format

    I want to Know if there is any tool that allow me to convert an RPG Free format program into a Fixed Format?? I have to install programs developed in Free format in a OS/400 4.4 and free format is only supported by 5.1 or later

    Alexa0 pointsBadges:
  • Insert records between records in a file using RPG code.

    Is there a way to insert a record in between records in a file? For example, a file contains 10 records (1 to 10). I want to insert a record in between records 1 and 2, thus record 2 will move to position 3, 3 to 4, and so on and so forth. Can SQL/Insert function be used to do this?

    Francissamonte15 pointsBadges:
  • how to pass variable of type date from pf to display file

    I want to pass one variable MYDATE of type(L) date from my pf to Display file through simple rpg program and how can i define result field in display file either as numeric or as alphanumeric plz help me as early as possible it will be helpful to me

    Mohan K695 pointsBadges:
  • 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 :...

    DLM2007280 pointsBadges:
  • 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?

    GHENDER175 pointsBadges:
  • 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)

    GHENDER175 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:

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