• 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:
  • Display files in AS/400

    I am getting stated with RPG400.I hev this requirement to add a new field in an existing screen and move this value to a new PF.This is when the screen is opened in crete mode. the other screen where the new field is to be added is the update screen.In this screen value is to be retrieved from the...

    0 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:
  • How to monitor job activity on AS/400

    How is it possible to tell on AS/400 that the program (RPG) is just "idling" on the screen and the user is not really using it ? I need the way to monitor it to end the job if the program is not being used.

    BelauB10 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:
  • sql table in rpg

    I need to read an sql table (file) in rpg and select certain records. I'm pretty green in sql. Anyone have a sample they could share? I'am better at rpg than ile., but I'll take what I can get. Thanks

    Brenger170 pointsBadges:
  • AS/400 file specification

    Why sometimes we need to put "K" for file specification?eg: FSSDATA IF E K DISK

    Cev105 pointsBadges:
  • iSeries RPG Embedded SQL Performance

    Hi, I'm trying to replace some long running Query/400 jobs with RPG and embedded SQL. Some of the existing jobs run for almost 24 hours on our machine. I've already successfully managed to reduce a few of these jobs to a matter of minutes using embedded SQL. So far, so good. My problem is when...

    Gilly40023,730 pointsBadges:
  • Using QIMGCVTI API in RPG to convert image formats

    Has anyone used the QIMGCVTI API in a RPG program to convert image formats? If so, can you provide a sample of the RPG codes?

    Jacksonville15 pointsBadges:
  • Controlling Display sizes

    I have an application that, when called, displays a full screen subfile as an 80 wide record (*DS3 at the file level). This works fine from any command line but, this application needs to be available from within an SEU session where the session is set to 132 wide also. Obviously I cannot display...

    Floyd02320 pointsBadges:
  • Converting spool file output to Excel in RPG without third-party software

    I would like to know how to write an RPG program and have my spool file output be converted to an Excel file without using any 3rd-party software.

    AS400 - Ask the Expert485 pointsBadges:
  • Reading a Microsoft Word file (.doc) in a ILE RPG program

    I need to read the text of a Ms Word file without opening word, reading it in a ile rpg program, and put the text in a string. How can I do ? Thanks in advance

    Alfredovitali5 pointsBadges:
  • Haversine formula in RPG or SQL

    I need to put the haversine formula in an sql or rpg function on the as400 to calc the distance between to zip codes. I do not have much experience with sql. can anyone give me some help?

    Brenger170 pointsBadges:
  • Embedded SQL in RPG ILE

    I want to write a program that will retrieve any field(s)from any file on the iSeries. The only part I haven't figured out is how to code the fetch statement to populate variables that aren't known until execution time

    Jeffm125 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