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
How would display prime numbers using 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 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...
how does the rpg element work?
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?
what is the necessary keyword needed to scroll subfile records?
How Chain operation copies the record's data to the input buffer for the program?
what is the use of sflnxtchg?
Set on command is used for closed all opened files , initialize var and release resource , return cmd is used for return to calling program but my req. Is dnt close opened files and resource must released while doing transactions , how can i do this...?
If my rpg program has a date field, what extra care I have to take while compiling that rpg program? If the file is keyed and I have declared the file as well as key list properly in my program. Still am getting an error message like "chain/reade operation is not allowed" what may be the case?
how do I declare a table or array in rpg iv?
can I touch the array during treatments?
explain sflclr, sflend, sfldlt, and sflcsrrrn?
What is difference between bind by copy and bind by reference?
what are the key words you must use when using a subfile?