• Determine future end of month based on any given date

    I need your help in determining a future end of month based on user entries. For example if a user enters a date of 2005.11.30, the routine would return 2005.12.31. Or if the user enters a date of 2005.12.31, the routine would return 2006.01.31. It must always be one month in advance and also...

    ibBusy4sure50 pointsBadges:
  • record lock handling in ILE RPG

    Hi all, I've some questions regardings... whwn a pf is used in Updated mode in RPG 1. what could be conditions when records would be in lock 2. how can we avoid record lock Thanks

    Ambrish 82310 pointsBadges:
  • Reading Subfile

    How we can read whole subfile (whether records are changed or not)?

    Chandra9355 pointsBadges:
  • convert alphanumeric to binary

    hi, my program is receivng an "alphanumeric char 10 length " and im using it to chain a PF, but the field from the physical file is binary 9,0, how will i able to convert an alpha10 to binary 9,0 in RPGLE?

    Crackers5 pointsBadges:
  • SNDUSRMSG equivalent in RPG (including VALUES and DFT)

    Some time ago I found a piece of code by Scott Klemens regarding the implementation of SNDUSRMSG in RPG using QMHSNDM and QMHRCVPM. I need to do the exact same thing, however I also need to pass the values for the VALUES and DFT keywords used with SNDUSRMSG. Does anybody have an idea on how to do...

    Roelpeeters5 pointsBadges:
  • debugging a program object on i-series

    Hi anybody tell me if it is possible to debug a program object CLP/CLLE/RPG/RPGLE if i dont have the source with me.

    ten20081,150 pointsBadges:
  • ALTPAGEUP/DOWN CF Indicator Question

    I have (in DSPF) ALTPAGEUP/ALTPAGEDOWN as CF04 and CF05. Are you not able to use CF04 or CF05 elsewhere? example: screen1 subfile...F4/F5 = PageUp/Down screen2 F4=prompt F5=deliver the program doesn't "seem" to recognize the F5 (or F4) on Screen2. There is another program that does this exact same...

    MMAGuy85 pointsBadges:
  • how to control subfile end

    my subfile size is 500, SFLPAG is 10. but actual record to display is only 30. How to ignore *More and display Bottom after reach 30th record. Currently it display *More in empty pages

    bsathia20 pointsBadges:
  • Underline extends beyond text when printing from AS/400

    I defined a 24-character field in DDS using fgid 4919 (goudy) with the underline keyword.  When I print the field from my RPG program the underline extends beyond the characters contained in the field.  The length of the underline varies depending on the number and width of the characters in the...

    AS400 - Ask the Expert485 pointsBadges:
  • leading zeros on numeric

    In RPG how can I have a numeric field that keeps leading zeros?

    Thuntley5 pointsBadges:
  • how to add a number of blank-spaces in free-format RPG

    My requirement is: I need to concatenate different fields having different values into the flat-string(blank initially), separated by a number of blanks(spaces), which may vary from field to field. for e.g. MyStr = 'FIRST_NAME LAST_NAME 20060101 STREET1 CITY11 STATE111 ... ' and so on where MyStr =...

    svankipu620 pointsBadges:
  • XML-INTO – No data retrieved

    Hi, I am trying to read the contents of an XML file that resides on the IFS in folder XMLTEST. My program runs without error but does not retrieve any data. If I remove the AllowExtra and AllowMissing keywords I get error RNQ0353 XML document does not match RPG variable, reason code 5. Any ideas...

    MD99910 pointsBadges:
  • AS400 CL, RPG TUTORIALS

    Hi Can anyone sugguest a good website that provides free turtorials on CL & RPG. Mabey with PDF downloads. Thanks  

    Jkbritvic65 pointsBadges:
  • Printing a Number as a Character

    How do you print a numeric field as characters? For example on check print, how do you print Nine Hundred Ninety-Nine instead of 999?

    Sec8715 pointsBadges:
  • how to access QTEMP files in batch programs.

    Hi All, I have developed one tool in AS400 which consists of one CL program and one RPGLE program. I have created 2 temporary files in QTEMP in CL program. RPG program is called by CL. these two files will be used in RPG program in update and output mode. after that i want to run that RPGILE...

    Mohan K695 pointsBadges:
  • Cannot end RGZPFM on V5R4 (Journaled file)

    Batch job RGZPFM on V5R4 not complete after 3 days. I issued an ENDJOB, and job is not completely ended 1.5 days later. The file is journaled and is very large. SBMJOB CMD(RGZPFM FILE(MYLIB/MYFILE) KEYFILE(*NONE) ALWCANCEL(*YES) LOCK(*SHRUPD)) How can I end this job? If MYFILE is damaged, I can...

    AS400DBA15 pointsBadges:
  • primary files

    Can anyone explain the concept of primary files in RPG , as i am a fresher in AS/400, i just want to know why do we use the Primary , secondary files concept ?

    Shivaas4005 pointsBadges:
  • Sorting an array by two elements

    I want to sort and array by data and then by ship via, both elements of an Order Array. Does anyone know a way that I can sort at two levels in the Arraay?

    APierce215 pointsBadges:
  • Links for Subfile programming and RLU

    can I get some links for basic subfile programing and RLU.

    0 pointsBadges:
  • Data area *LIBL/INSRLIST is not allocated for output.

    The following is a snippet of the code. I get an error on the OUT op code as in the title.  * Next List Number                                   D                 DS                                  D...

    MurrayInfoSys940 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