RPG Flat Files Questions and Answers

Recent IT Questions

1 - 4 of 4
<<PREVIOUS 1 NEXT>>

Flat file

How to copy records from a file to flat file in RPG III Software/Hardware used: AS400

View Answer   |  Sep 7 2009  11:33 AM GMT
RPG III, RPG, RPG Flat Files
asked by Gill007

  5 pts.

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 tried using...

View Answer   |  Jan 22 2009  1:39 PM GMT
RPG, RPG Flat Files, Spool files
asked by Anderson123

  840 pts.

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 the one that retreives...

View Answer   |  Jan 9 2009  3:03 PM GMT
RPG, RPG Flat Files
asked by Anderson123

  840 pts.

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 how to get the sign to...

View Answer   |  Jan 9 2009  2:58 PM GMT
RPG ILE, Flat files, RPG Flat Files
asked by Anderson123

  840 pts.

1 - 4 of 4
<<PREVIOUS 1 NEXT>>