Can anybody tell me the setps to create .csv file in IFS
folder on AS/400.
I also need to know how I can send this .csv file to PC in
xls sheet.....?

Answer Posted / remya

1. CPYTOIMPF FROMFILE(database-file) TOSTMF(PATH/file.csv)
This command will copy the database file in .csv format.
2. ftp the csv file & open it with MS EXCEL...

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how do you use commitment control in rpg?

751


How to declare the pull button in AS/400..

1871


1.Load an runtime array of length 99 from the pf and you want to handle all the possible errors?

2366


Hi Viewers can any body explain me how to update and ahange the already existed data in physical file using subfile ? please explain me with the code if possible?

4198


can you debug ile rpg program using isdb?

732






Please tell me how to read the records from a file with load an array of size with error conditions(The logic answer for this question is ARR is array of 99 elements Z-ADD 0 IDX *LOVAL SETLL FILE READ FILE 99 *IN99 DOWEQ *OFF IDX ANDLT 99 ADD 1 IDX MOVE FIELD ARR,IDX READ FILE 99 ENDDO).So,Please give me the complete of this code.

2045


1. If there are two programs using same file and 2 users are using the file at the same time and what can be done to allow them both to access? 2. How can remove lock from the file for accessing it by both users?

479


what do you mean by an input subfile, what are the keywords required?

765


How can we override a file during runtime in rpg?

680


What are the types of identifiers?

566


What is the difference between iter and do?

666


do you use message subfiles? What are the necessary keywords required coding a message subfile?

682


explain sflclr, sflend, sfldlt, and sflcsrrrn?

882


What is ment by record level identifier?

647


what is program status data structure?

1371