• Message subfile to load error messages

    I am using message subfile to load error messages. I am calling a CL program to load and clear message subfiles. While clearing, I am passing the name of the RPG program to the CL program and the code is RMVMSG MSGQ(Program Queue Name) Clear(*ALL) But I am getting the message that message queue...

    A1b2c3330 pointsBadges:
  • RPG: Differences in EVAL

    I have failed to find the difference between ELAV(R), EVAL(M) and EVAL(H). Please help me to find the difference with one example.

    rajeshece1,215 pointsBadges:
  • How far have I come in RPG?

    Hi, This is my first post, but I have been reading this site for a while now. I have a strange question that maybe somebody on here can give me an answer on? I know there are many very experienced programmers on here! My question is that i have been working in my current role as an RPG programmer...

    Sxlad200130 pointsBadges:
  • AS/400 unit testing documentation

    Hi, I'm doing one application with coding of RPG and CL. I'm new in this tech. I want to clarify one thing. Please can anybody tell me? When can I start unit testing and when can I end the unit testing? Please give me an example? What is meant by documentation? How can I write the documentation?

    Repaire45 pointsBadges:
  • DDS: Entering value in numeric field

    Is there any way (field attribute, key word, etc.) to keep the beloved end user from not using the field exit key when entering a value in a numeric field? We have users who will continually use the tab key or just hit enter when entering a 1 (for example) in a field, thereby creating a value of...

    As400coder5 pointsBadges:
  • Create logical file over 2 physical files

    I'm having 2 independent physical files. File x having ID & Name - ID is the Key. File y having Phone no and Address - Phone no is the Key. I want to create the logical file over the above 2 Physical file. Is it possible or any other way is there

    Ramkumar50 pointsBadges:
  • SQL vs RPG: Which is faster?

    Which is faster? Getting a certain number of records using a cursor with SQL or using native I/O's SetLL & ReadE?

    bogeybetsy560 pointsBadges:
  • Moving SQL into RPG programs at DW

    We are using a huge number of SQL on our production machine. We have our back up machine equal to the production machine where its located our data warehouse based on RPG. Can you help me with arguments to defense that all SQL should be moved into RPG programs at our DW?

    userjp5 pointsBadges:
  • Using External Datastructure in RPG

    In RPG why do we use External Data Structure? Does it puts all the fields in contingeous memory?

    Vids295 pointsBadges:
  • Decimal data error in RPG

    I declare time field in RPG as D btime    4  0 eval btime = 2400 this one I pass to a CL program with var type var(&tim) type(*dec) len(4,0) and this in turn passed to another RPG program D stime    4  0 When it comes to third program it has some hex char shown in debug as belo stime =...

    Nutangujar895 pointsBadges:
  • Opcode in RPG that retrieves current date

    Which opcode in RPG can be used to retrieve current date along with century?

    Vids295 pointsBadges:
  • QCMDEXC error

    Hi, I have built a small application using CL to convert date to required format. When I want to accomplish the same from RPGLE program with a display file to input date I wanted to call CVTDAT command from the RPG program. But I am getting error saying this command can't be issued in this set...is...

    ten20081,150 pointsBadges:
  • My operating system was upgraded from V5R3 to V5R4

    my operating system was just upgraded from V5R3 to V5R4. All my cobol programs are compiled with *none commitment control and a target release of V5R3M0. However after upgrading the operating system while executing the programs -913 errors are being encountered. The same programs are getting...

    Priyaranjanltcp0 pointsBadges:
  • Upgrading system from V5R3 to V5R4

    Hi, I need to upgrade the system from V5R3 to V5R4. I need to know that are there any RPG , iLE, CL, Cobol commands that have changed. Which would require code change to incorporatte the upgraded version. Can someove help me out how to find such commands.

    Anks15 pointsBadges:
  • How to set-off many indicators at the same time?

    How to set-off many indicators at the same time in RPG-III? There is a situation wherein I need to set-off 7 to 8 indicators at a time (simultaneously). planning to use MOVEA '00000000' *INXX; XX being the starting indicator. but it's asking for the ARRAY. I know to declare a normal array. but how...

    svankipu560 pointsBadges:
  • Read records for a particular period in RPG

    Hi all! I have a date period in RPG as month and year like 072012 and 022013 both are character fields. I'm passing this fields from OPNQRYF in CL program to RPG. How can I read records from a master for this particular period in RPG? Surey

    Sureyz2,380 pointsBadges:
  • More than 50 files in RPG?

    How can i declare more than 50 files in RPG/400 program?

    csuoaananth75 pointsBadges:
  • Convert time stamp to dd/mm/yy

    How can I convert a timestamp field(declared with type 'Z' in database) to dd/mm/yy format in RPG?

    RamvishakRamesh2,505 pointsBadges:
  • Defaults the Physical file with ‘%’ for Character fields and -9999 for Numeric fields.

    Hi all, I have requirements in which I have to pass the file as parameter to another program with defaulting the field value as, If character field default the first character as '%' and if Numeric default till the length of the field with -9999. As per now I'm getting two options. 1. Create the...

    ddaswani170 pointsBadges:
  • Reading files in RPG

    I'm new to AS/400 and I'm still learning more about it. One question I have is...How can I read records without using SETLL, READ, CHAIN in RPG?

    Sai4AS4001,420 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