Setps to create .csv file on IFS folder in AS/400(
V4R3)....?

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is program status data structure?

1366


How to create a login screen using a command instead of display file.... intention is to get a password field on a command..... how do you achieve this...

1302


how do I declare a table or array in rpg iv?

727


how do I play {insert rpg system here}?

576


what happens when sflsiz = sflpag? What are the advantages and disadvantages?

704






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.

2043


what is file information data structure?

1353


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

760


what was the robotech rpg?

675


When it is desirable to describe files Internally?

1178


are there any useful c runtime apis that I can call from rpg iv?

689


how can you display specific subfile page on the screen in unequal subfile?

669


what is data area and how it is used in rpg program ?

748


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

3267


how can I tell when to replace the array?

690