• two PF have same field

    there are two PF, each Pf have same named field, but the length of the field not same. how can i use the field in the program?

    Freefly ho15 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 Calculate Lapse Time

    Hi Everyone: Is there an easy way to calculate the lapse time between 2 timestamps? The SUBDUR returns either in HR/MI/or SECONDS. But I want the lapse time in HHMMSS. Can it be done without much coding? Thanks in advance.

    RPG ILE15 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 =...

    svankipu560 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:
  • Daily Job Suddenly Disappeared

    Hello, We have job that runs in overnight batch Mon-Friday. The users access the reports the next morning. Suddenly, on 1/18/2008 the spooled reports for the job are no longer on the system. All previous jobs are there, but since this day the job has ran daily but none of the reports are kept-users...

    Turing200810 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:
  • Merging of files in AS400

    What is the use of merging files in AS400? How do you do this?

    0 pointsBadges:
  • Incorrect relative record number or field selection error

    I get the above error when trying to run a program when it trys to write a display format. The program had been working and suddenly started giving this error. There doesn't seem to be any relative record numbers involved. I would be happy if someone could give me a clue as to what I should be...

    Socrates0 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