-
How can we get Source Code for BUILT IN functions
hi, Can anyone help me how can I get source codes for builtin functions and i want to implement some of functions like(BUILTIN) for my personel improvement in RPGLE
Last updated: -
hi , i m working on as400,rpgile, please tell me what are case tools, & how many types are they. please explane. thanks
Last updated: -
how to initialize graphic character field
hi, I am facing problem while i am initializing my graphic character field with initial value in D spec below is code D Name S 20G VARYING INZ(G'oXXYYZZi') can any one help me the above code giving me error while i am defining graphic character field
Last updated: -
Hi, Can anyone help me how can i use Run time ARRAYS in RPGLE PROGRAM and give me some examples to load array with records from file,when i am trying to define file in 'I' spec it is giving me compile time error please can any one give complete program example to work with runtime arrays
Last updated: -
Hi, Thsi si stiffen.Im a RPG developer I5.Im doing some coding practicing for giving training my students. Can anybody tell me how to read a record from the file with load an array of size with error condition
Last updated: -
Hi, Im traying to get out put of this below mention simple logic code.But im geting out of different.(im trying with my laptop trhough my company server. DCL &FIELD1 *CHAR 10 VALUE('TCS AS/400') DCL &FIELD2 *CHAR 10 CHGVAR(%SST(&FIELD2 1 10))(%SST(&FIELD1 10 1) Can you tell me the value of field2...
Last updated: -
Is there any built-in functions available to set on/off a group of indicators in a single statement. Usually we do that by MOVEA operation but how to do the same by using built-in functions?
Last updated: -
How to read records from all the members without using CL (OVRDBF) ie it should be handled exclusively in an RPG program?
Last updated: -
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...
Last updated: -
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...
Last updated: -
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?
Last updated: -
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.
Last updated: -
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.
Last updated: -
converting a numeric to character
How do I get a number into char format so I can manipulate the string
Last updated: -
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...
Last updated: -
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
Last updated: -
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?
Last updated: -
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 :...
Last updated: -
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...
Last updated: -
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.
Last updated: