Setps to create .csv file on IFS folder in AS/400(
V4R3)....?
Answers were Sorted based on User's Feedback
Answer / justin lopes
Use the command as follows on Physical file
CPYTOIMPF FROMFILE(LIBRARY/FILENAME) TOSTMF('/QDLS/TEMP/TEST.CSV') +
MBROPT(*REPLACE) FROMCCSID(37) +
STMFCCSID(*PCASCII) RCDDLM(*CRLF) FLDDLM(',')
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / samul
Reshma,
Thanks for info.
Can u plz eloberate this wiht exapmle ,it will be helpful
for me.
Thanks ,
Samul
| Is This Answer Correct ? | 0 Yes | 1 No |
Answer / reshma
Hello
To create a .csv file
u need to use command cpytoimpf on the file.
If u want it copy to a folder then
CPYTOPCD with .CSV extension
Thanks
Reshma
| Is This Answer Correct ? | 0 Yes | 8 No |
what is decimal data error? when it will come and how to achieve(rectify) this error please give me solution as well as code
two attributes which govern the excecution of a job>>>>??
How do you know if a record exists without doing a READ and CHAIN?
What is the difference between RPG/400 and RPG4
1) How to define keyed file in CL pgm. 2) How can i read particular records in CL pgm from database file.
what are the key words you must use when using a subfile?
How to set on/off a group of indicators in a single statement?
How to search particular records from the database file in rpg?
What is the RPG cycle?
How I can reread the physical file in CL program once the end of file reached in same CL program.
give an eg of ACQ-(ACQUIRE),BIT OFF,BIT ON,DEALLOC,DUMP,FEOD,FORCE,MHHZO,MHLZO,MHLLZO,MLHZO,REL,RESET,TESTZ,TESTB,TESTN----GIVE SMALL EXAMPLE TO THE OPCODES...TO UNDERSTAND FUNCTIONING...........
how do I declare a table or array in rpg iv?