• Generic rename object

    Hi, I'm trying to work out a way of generically renaming objects (files in specific) on an iseries. I have a large number of files which have names that begin with a letter which needs to be changed and end in a number which also needs to be changed, for example :- Axxxxx01 Ayyyyy01 Azzzz01 The...

    Gilly40023,730 pointsBadges:
  • how can i get part of string into another variable of type char

    hi, i have one name field of length 60 it contains all first,last,middle names corrospondingly , in that those r seperated by '/' now i want to move those last and first and middle names to 3 separate variables of type char now i know that with %SUBST we can get part of name but my problem is i...

    Mohan K695 pointsBadges:
  • Replacing a RPG/LE module within a Program

    I am new to RPG ILE and need to re-compile a module. I noticed that the program that is currently there contains about 26 module. How do I just replace this one module?

    Ile novice10 pointsBadges:
  • CHECK & SCAN IN AS/400

    What would be output of follwing calculations in rpg/400 code? XYZ SCAN ABCXYZ RESULT? XYZ CHECK ABCXYZ RESLT1? I mean to say what would be the values of result fields in above code.

    6r1,590 pointsBadges:
  • How to read a RPGILE prg from other.

    In RPG ILE , how can we proceed in order to read a RPGILE prg from other RPGILE prg and display the prg read, on screen as it is.

    NRI15 pointsBadges:
  • converting a numeric to character

    How do I get a number into char format so I can manipulate the string

    Raddy590 pointsBadges:
  • RPG/ILE re-entering workforce

    I am 45 & want to re-enter workforce after 3 years out of IT. I used RPG for 15 years(not even ILE) and have BPCS experience. I have just picked up a couple of books (SQL and Free-format RPG) to study at home. I think it will be very difficult to get back in .... any ideas/hints/tips would be...

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

    DLM2007285 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)

    GHENDER200 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:
  • 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:

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