1
Flat file
How to copy records from a file to flat file in RPG III
Answer Question
| September 9, 2009 11:33 AM
Flat files, RPG, RPG Flat Files, RPG III
How to copy records from a file to flat file in RPG III
delete from flat file
HI My flat file contains data copied from a spool file.The records in this file is used as reference to delete links from dir.Can i delete those records in the flat file for which there is no link in the dir(that is the link or text file object has been deleted from the dir) ?I [...]
Answer Question
| February 2, 2009 1:39 PM
Embedded SQL, RPG, RPG Flat Files, Spool files
HI My flat file contains data copied from a spool file.The records in this file is used as reference to delete links from dir.Can i delete those records in the flat file for which there is no link in the dir(that is the link or text file object has been deleted from the dir) ?I [...]
delete records in a RPG flat file
Hi I have created a flat file which holds the DSPLNK details of a text file that is dsplnk creates a splf which is copied to this flat file.This file is read for purging the text file once in 2 months.This happens on a daily basis and i have merged this piece of code with [...]
Answer Question
| January 12, 2009 3:03 PM
RPG, RPG Flat Files
Hi I have created a flat file which holds the DSPLNK details of a text file that is dsplnk creates a splf which is copied to this flat file.This file is read for purging the text file once in 2 months.This happens on a daily basis and i have merged this piece of code with [...]
RPG edit code for signed value
Hi I have moved a numeric value to a ds. I have used this EVAL F1 = %EDITC(ABC:’3′)-here F1 is part of flat file DS and there are decimals required in the output file.I am getting the decimals but my problem is that ABC field from i/p file could be negative but am not sure [...]
Answer Question
| January 13, 2009 2:58 PM
Flat files, RPG Flat Files, RPG ILE
Hi I have moved a numeric value to a ds. I have used this EVAL F1 = %EDITC(ABC:’3′)-here F1 is part of flat file DS and there are decimals required in the output file.I am getting the decimals but my problem is that ABC field from i/p file could be negative but am not sure [...]
1





