• Record addition in a PF

    I have a PF with some data in it which i am using in a RPG program. I got another text file with extra data related to PF in it. I have to add this data to the existing data in the PF, Please tell me how can i do this from my RPG program....advance thanks

    ten20081,150 pointsBadges:
  • RPG 400 DATA STUCTURES

    Am trying to write to a flat file from a pf using data structures but am getting some errors 'The name specified previously is defined as file or record name. Specification ignored ' Heres the sample code FABCL01 IF E K DISK FDEF O E DISK A F DEF KRENAMEDA100 IABFLAT DS I 1 8 AADT I 9 10 AACM I 11...

    0 pointsBadges:
  • concat char and numeric field in rpg400

    how to concat a char and numeric field in rpg400.

    0 pointsBadges:
  • rpg/400

    while i am compiling the below program compile sucessfull and write the records into SA100 (Flatfile). C READ APHL01 C *IN20 DOWEQ *OFF C EVAL EDTE = APIRDT C EVAL CCDE = APCMPY C EVAL ERPN = PHDCPX + %EDITC(PHDCSQ:'X') C EVAL FYEAR = PHDCYR C EVAL INVNO = APINV C EVAL INVDT = AINVDT C WRITE SA100...

    Askt1140 pointsBadges:
  • AS400

    I want to call a procedure from a RPG Program. Is it possible?

    rajeshece1,215 pointsBadges:
  • RRN to Chain the file

    I want to chain a file with RRN value but the file is not KEYED. How is it possible in RPG/400?. Please suggest me!

    frmdeva365 pointsBadges:
  • System date and RPG/400

    please advice me how to less 1 day from system date in rpgile. please send me the syntex.

    Askt1140 pointsBadges:
  • How to send the data from a Physical file to a Flat file

    Please check the below prgram and advice me how to send the data from APH(physical file) to Flate file SAAPH (flat file). FTRF is a datstructure created for send the data only this two fields in flat file. i am not sure how to club this data structre and flat file in programe. FAPH IF E DISK FSAAPH...

    Askt1140 pointsBadges:
  • validation

    i need to concatinate two fields and send to resultant field in rpg/400. one is numeric and other one is character. so please advice how can i

    Askt1140 pointsBadges:
  • 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:
  • AS/400 printing error

    How can I go to next page when I am printing from an RPG/400 program and using an externally described printer file. Scenarios are:- 1. I need to print only 2 lines in a page, and print 2 more lines in next page. 2. I am coming across overflow error CPF5004 when printing a database file. Should I...

    Tenwang35 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:
  • DSPF programming

    Hi Please explain... When i open a screen in update mode how does the value get displayed in the screen and when updated it gets updated in the file.what is the general coding logic used in this case.

    0 pointsBadges:
  • RPG/Asset

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

    0 pointsBadges:
  • Flat files

    I have a data in data strucure then after i need to create flat files in txt format. please suggest me how can i proceed.

    Askt265 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:

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