• Batch job and interactive jobs in RPG/400

    In RPG, when do we need to do batch job debugging and when do we need to do interactive debugging? Can someone help me please? I'm a newbie.

    NEON40 pointsBadges:
  • File and Fields in RPG400

    I have a file that contains the file and its' respective field. In my RPG, I want to read the file as retreive from the database. And use the fields from the file for testing. For example: F Specs FILEAAA My database contains: Filename : FILEAAAA Field Name : FIELD1 Value = 30 In RPG, I want to...

    JoBi85 pointsBadges:
  • packed & zoned both are used for numeric data types in rpg but if packed occupies 1 byte and zoned occupied 2 bytes then why don’t we use packed?

    packed & zoned both are used for numeric data types in rpg/400 but if packed occupies 1 byte and zoned occupies 2 bytes then why don't we use packed always considering system storage capacity?

    6r1,590 pointsBadges:
  • READC is activating even when no records in subfile have been changed?

    READC is activating even when no records in subfile have been changed?

    Usf210020 pointsBadges:
  • Days of the week in AS/400 V5R4

    I know how to determine the day of the week a date falls on. However, I was wondering if there was an easy way to figure the following information: 02/01/10 was the 5th Monday of year 2010, 01/07/11 is the 1st Friday of 2011, etc.?

    GHENDER190 pointsBadges:
  • Times spanning midnight in RPG/400 concatenation

    I have successfully converted time field to date/time. Now I need to find the total minutes between one field and another but cannot get it to show me any value. I am using DateDiff ('n',{@startdatetune}, {@startdatetime}) where n indicates minutes. I should be able to use any field where I have...

    UVADebbie5 pointsBadges:
  • How can I use RPG/400 to write Heapsort or other sort methods

    Just as the title, I get a big headache with the heapsort problem with PRG, can anyone help by sending an example to me: that is my e-mail:k300021@yahoo.com.tw thanks a lot~

    K3000215 pointsBadges:
  • How can I find out my System IP Address through CL/RPG?

    I would like to know my system IP-Adress , to validation with User name and IP-Address.

    Chrisjam95 pointsBadges:
  • How to create menu using RPG program?

    how to create menu using rpg program

    1307845 pointsBadges:
  • RPG/400 Batch Job Debugging

    I have learnt through Net that Debugging a Batch job involves 1. Submit the job with the HOLD (*YES) parameter: SBMJOB HOLD(*YES) or Hold the job queue that before submitting the job by using the HLDJOBQ command. 2. Determine the job name, user, and number of the submitted job by using the...

    Kaly470 pointsBadges:
  • How to move an AS/400 numeric field to an alphanumeric field without disturbing the value in it?

    How to move a numeric field to an alphanumeric field without disturbing the value in it. I have a numeric field(9,2) with value MyVar = 9876543.21 I need to move this (as it is)into an alphanumeric field(12 A), without distorting the value in it. But if I use %CHAR, it gets moved along with...

    svankipu620 pointsBadges:
  • Avoid reading uncommited records in RPG/400

    how to Avoid reading uncommited records in RPG/400. Apart from using - STRCMTCTL(*ALL0 or (*CS)

    Sari1235 pointsBadges:
  • How to find number of bytes read/written in RPGLE?

    Dear AS/400 Lovers! In a program, I need to find the number of bytes read from a file(FILE1) & written to another file(FILE2) in RPGLE. I need to maintain this in an Audit-file for Audit purposes. Has anybody done this earlier? any help would be of great value. Thanks in Advance, Svanky

    svankipu620 pointsBadges:
  • How do I change the field length in a physical file using chgpf command?

    Hi,  This is giri.Im looking to change the field length in pf using chgpf command?Please give me what are the steps i have to do?How can i change the field?

    Girilabs130 pointsBadges:
  • Runtime error and compile time error in RPG/400

    Hi,   Can you please give me real senerio what is mean by runtime error and compile time error?please give me the logic of both?

    Girilabs130 pointsBadges:
  • OVRPRTF AND OVRDSPF

    Hi,   Please give me real senario where we can use ovrprtf and ovrdspf?   In priterfile why we use ovrprtf ? thanks vg

    Girilabs130 pointsBadges:
  • Can there be more than 1 MSGSFL per RPG/400 display file?

    I am trying to use more than one MSGSFL for one display file.  One is for a WINDOW (which works).  I then added one for the initial screen.  When I go to initially write it (WRITEMSGCT1) I get a permanent I/O error.  Is it possible to have more than on MSGSFL per display file? See the following...

    ANDREW465 pointsBadges:
  • Handheld scanner subfile in RPG/400

    I have a DSPF with SFLPAG(08) and SFLSIZ(&NBRBXS), which can range from 01 99. The problem is that when the SFLSIZ greater than 08, it will not scroll to the next page to allow scan of the remaining entries.

    ECLAY25 pointsBadges:
  • RPG/400 Trigger Program

    RPG/400 trigger program was suggested to develop a moving average computation. There's a rule that needs to be followed when posting a record in the computation. One rule is that all credit transactions be first posted in the computation - Is this possible in a trigger program? How could I...

    Elm0215645 pointsBadges:
  • Reorganization of V5R4 while active

    We are currently on operating system V5R4. We are a 24/7 shop and as a result, I have not had the opportunity to do a lot of reorgs. I just discovered there is a reorg while active command. Can someone tell me how to use this? Does this come with the operating system or is it a separate module we...

    GHENDER190 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