CPYTOSTMF Questions

1

CL Command definition parameter with Mixed valid values
Hello, I want to create a command with a parameter same as Stream file code page in CPYTOSTMF. It shoud allow only 1 – 32657, *STMF, *PCASCII, *STDASCII. Can someone explain how could I declare parameter to have this ? Thanks Sim

Answer Question   |  November 1, 2010  4:09 AM
AS/400, CL, CL Commands, CL Parameters, CPYTOSTMF, Stream files
asked by:
290 pts.

CPTYTOSTMF problem
I am getting error in cpytostmf command while getting the member to ifs folder which is object is not a file or is a file with attributes not supported by this command. object not copied /QSYS.LIB/LIBRARY.LIB/FILENAME.FILE/MBRNAME.MBR

Answer Question   |  September 2, 2010  7:28 AM
CPYTOSTMF, iSeries, iSeries Commands, QSYS, QSYS.LIB
asked by:
5 pts.

End of file and the CPYTOSTMF
I am using the CPYTOSTMF command to create an ASCII file with fixed record length. Is there any way to prevent the CRLF after the last record in the file?

Answer Question   |  June 14, 2010  5:00 PM
AS/400, ASCII File, CPYTOSTMF, CRLF
asked by:
Rsh
25 pts.

Using CPYTOIMPF to copy .txt file (need result to be fixed length – not truncated)
I have been trying to find a way to use the CPYTOIMPF or CPYTOSTMF commands to copy a Program described file that is 2220 characters long so that the resulting text file has the same record length and is in a readable format. I have been able to transfer the file as a fixed length [...]

Answer Question   |  April 23, 2010  9:17 PM
AS/400, AS/400 File Transfer, CPYTOIMPF, CPYTOSTMF, File transfers, V5R4
asked by:
25 pts.

Problem with copying from IFS to pc.
I need to copy a savf of a library to my pc. I’ve saved the library in a savf, run the cpytostmf command to put in on the IFS in a folder off of the root. When I try to drag it to my desktop, I get ‘Access denied…’ message box.

Answer Question   |  May 1, 2010  4:08 PM
AS/400, CPYTOSTMF, IFS
asked by:
10 pts.

From sourcefile to IFS and back..
I want to use CPYTOSTMF and CPYFRMSTMF commands to copy sourcemember to and fro the IFS. To test functionality, I created the following test: Sourcemember A_1.TXT :    FMT ** ...+... 1 ...+... 2 ...+... 3 ...+...              *************** Beginning of data **** 0001.00 123456789_line number 1 0002.00 123456789_line number 2 0003.00 123456789_line number 3 [...]

Answer Question   |  September 3, 2009  7:28 AM
CPYFRMSTMF, CPYTOSTMF, IBM 9407 M15, IFS, V6R1
asked by:
2,540 pts.

Convert/Supress non UTF-8 to UTF-8 on as/400 while CPYTOSTMF
Hi, I am generating XML from AS/400. I am doing following steps: Creating Flat File wiht RCDLEN (260) and CCSID 65535 (Default). I am reading data from some other Physical File. Putting data in between XML tags in required XML format and writing this record into Flat File. Now flat file contains XML formatted data. [...]

Answer Question   |  October 24, 2009  12:01 PM
AS/400, CPYTOSTMF, UTF-8, XML
asked by:
225 pts.

FTP a file to AS/400 from a PC command line
How do I transfer(FTP) a file(pf of savf) from PC command line? Wanna know the process..I tried several times using CPYTOSTMF and CPYTOIMPF but that file resides in the AS400 IFS..How to transfer from there??

Answer Question   |  August 4, 2009  9:03 PM
AS/400 File Transfer, AS/400 FTP, CPYTOIMPF, CPYTOSTMF
485 pts.

How can I copy records from a Physical file to Excel Sheet ?
I would like to know about copying records from a physical File to Excel sheet , Can any one brief me in this regards ? Eg: I have a PF called ATMLIB/ATMTRA. EXC.XLS is a Excel Book . Now this is the situation . I am working on V4R4M0. I would like to know on [...]

Answer Question   |  July 8, 2009  8:02 AM
CPYFRMIMPF, CPYFRMSTMF, CPYTOIMPF, CPYTOSTMF
asked by:
95 pts.

SFTP and sending a file from the 400 to a unix system
I have set SFTP with EDS*elit VAN to exchange EDI. I can get the files no problem, but when I put the data on to their server (unix), they canno read the file. I am tried using CVTTOSTMF and CPUTOSTMF to get the data to the IFS and issue a put command. The files I [...]

Answer Question   |  June 11, 2009  3:10 PM
AS/400 to Unix, CPYTOSTMF, EDI, Exchange EDI, SFTP, Unix
asked by:
105 pts.

1