• Suggesions for programming task in RPG

    Hi I have a task to perform Create a screen with a date and year field,the value given in this field will be mapped to a database file and a set of records will be retrieved from this file with the screen values as select conditions.This has to be further written to a new file. Please suggest .....

    0 pointsBadges:
  • How to manage allocated register problems in RPG?

    Hello. I'm having troubles with many allocated registers for update, when 2 users try to modify the same data. How is the correct way to prevent this situation in ILERPG ? Thanks!

    Mariodlg2,790 pointsBadges:
  • Clearing a PF record on AS/400

    I'm chaining a field to a unique keyed PF. I'm getting a not found indicator so I'm trying to write the record but I receive a duplicate key error. How this can be I do not understand. A colleague suggested that a field (or fields) within the record might be a key of other LF's over the file and I...

    Floyd02320 pointsBadges:
  • How to get the row count of a PF with RPG ILE?

    Hello, I'm looking for an example of how to get a row count of a PF from a ILE rpg program. Thanks everybody.

    Mariodlg2,790 pointsBadges:
  • %ERROR function in RPG

    How to use % error built in function in rpgle program any code example please?

    6r1,590 pointsBadges:
  • How to access all records in RPGILE

    hi all, suppose i have a report with input criteria 'machine code' and requirement it that if i input a perticular 'machine code' then it should COME only that , otherwise all records of all 'machine codes' should come , in clp i use %WLDCRD for that. but i need to do it in rpgile , is there any...

    Ambrish 82310 pointsBadges:
  • rpg

    I have created a subroutine to update a display file. key CHAINfile 90 *IN90 IFEQ *OFF MOVELfieldvalue screenvalue EXFMTscreen MOVELscreenvalue filevalue UPDATrecfmt of file END ENDSR Is this logic right? 1.the value in the file is not getting displayed when screen is invoked 2.the field appears...

    0 pointsBadges:
  • Data QUEUE – Remote location ….. for program device DDMDEVICE was not found

    When trying to use a remote DATA QUEUE the send and receive data queue commands failed giving : Service with protocol tcp not found. Cannot establish DDM connection with remote system. Operation on DDM data queue DTAQFIFO in TESTLIB failed. Remote location MYAS400 for program device DDMDEVICE was...

    SBCHenry30 pointsBadges:
  • Sorting data in RPGLE

    How to sort data in rpgle program countrywise in program coding only?

    6r1,590 pointsBadges:
  • AS400 read of PC files

    On the AS400/ISeries/SystemI, I would like to read PC file data from a PC Server into my RPG program. What is the best way to accomplish this task? Right now, it would be for READ ONLY.

    Danljonessr10 pointsBadges:
  • RPG COMPLIATION ERROR QCLRTVJA

    Hi I am finding error while compliing RPG/400 program error is as follows Message . . . . : Total parameters passed does not match number required. Program QRGRT attempted to call program QCLRTVJA with 47 parameters. Program QCLRTVJA expects a minimum of 48 and a maxmum of 50 can any body tell me...

    Bu60 pointsBadges:
  • RPG/Asset

    Can a rpg program in asset be converted to rpg400 or ile?If so how

    0 pointsBadges:
  • FTP with RPG

    I have a file which should be ftped to another server.I have the ftp script.Can you suggest 1.code to automatically ftp the file to another server 2.also to send email alerts using snddst if ftp fails.

    0 pointsBadges:
  • RPG query

    Hi Martin, thanks for the previous query. Now i want to read the data of a DB file and display the data via display file. I have written following code for this: FPFRPG1 IF E K DISK FDSP1 CF E WORKSTN C READ REC C DOW *IN03=*OFF C EXFMT DSP C IF *IN01=*ON C ENDIF C READ REC C ENDDO C SETON LR After...

    Shaddy20 pointsBadges:
  • RPG procedure

    Hello Martin, Below is the codeline which i used for reading a DB file via RPG: FMYFILE IF E K DISK C READ PFRPG1 C DOW NOT%EOF C NAME DSPLY C ID DSPLY C ADDRESS DSPLY C ENDDO C SETON LR could you verify the code b'coz i am not getting the output.

    Shaddy20 pointsBadges:
  • DSPF prog

    Thanks for ur response.I have a small clarification.If all fields on the screen is from 1 file chain and then exfmt will work.What if the screen has fields form more than 1 file.

    0 pointsBadges:
  • RPG Array

    Hello ! Can I check for all the elements of an Array in single statement ? e.g. If Array(*All) = *Blanks ? I want to check that all elements of an array is blank or not.

    Uppikal5 pointsBadges:
  • Reading a database file via RPG program

    could anyone provide me with the codeline for reading a database file via RPG program

    Shaddy20 pointsBadges:
  • RPG error RPG9001

    I am received error code QRG9001 error while compliling RPG/400 PROGRAM os version is V3R7M0 on my AS/400 server can anybody help me to resoved this

    Bu60 pointsBadges:
  • EXFMT

    Hi, I have used two EXFMT Statements successively in my RPG Program as shown below EXFMT FOR1 EXFMT FOR2. FOR1 is SFLCTL and FOR2 is a record to be overlayed in FOR1 at the bottom. Now I want my program to display FOR2 immdediately after FOR1. But I could realise that only whent the enter key is...

    Sris198655 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