Recent IT Questions

1 - 20 of 29
<<PREVIOUS 1|2 NEXT>>

cpytoimpf CSV file showing garbage

I have an application that does 3 CSV files to import to Excel. All three use the same cpytoimpf program/command, 1 is working correctly and 2 are not. I debugged and do not see a difference. I can view the data just fine with dsplnk on the iSeries/AS/400 but the Excel is all @@@@@@. Does...

View Answer   |  Jul 2 2009  12:51 AM GMT
IFS, CPYTOIMPF, CSV
asked by VGP

  35 pts.

How can I convert all the records from a Physical File to Exces ?

I would like to know how can I achieve this ? and I am working on V4R4. Example : PF1 contains 100 records , I need to convert this into Exces .

asked by Chrisjam

  45 pts.

AS/400 data mapping with CPYFRMIMPF

We have an application in which we need to expand the size of several fields within the record, ie the Amount field need to be larger. In the past I would create DDS for the new expanded file, create the file, then write an RPG or Cobol program to copy the data from the old file to the new...

View Answer   |  May 7 2009  2:10 AM GMT
CPYTOIMPF, DB2, Copy From Import File
asked by GarySouders

  10 pts.

CPYTOIMPF v5r2 problem when STMFCODPAG(*STMF) parm used

Here's the command... CPYTOIMPF FROMFILE(LIB/FILE MEMBER) TOSTMF('\PATH\FILE_20090421.txt') RCDDLM(*CRLF) STRDLM(*NONE) FLDDLM('|') ERROR "No records copied from file" but if I use parm STMFCODPAG(*PCASCII) it copies fixed length w/ delimiters and I need stream w/ delimiters... can anyone help?!?!

View Answer   |  Apr 21 2009  9:54 PM GMT
CPYTOIMPF
asked by Jtagg

  5 pts.

Difference between CPYTOIMPF and CPYF command

hi, I am working on AS400- RPGILE can anybody please tell me whet is the difference between command CPYTOIMPF an CPYF I would really appreciate if you explane with example. Thanks & Regards Ambrish

View Answer   |  Apr 18 2009  11:57 AM GMT
RPGILE, CPYTOIMPF, CPYF
asked by Ambrish 82

  210 pts.

CPYTOIMPF --FLDDLM(*TAB) QUESTION

Our OS is V5R4. I am using cpytoimpf to import .txt file (tab delimited) to DB2 physical file. If I remove the FLDDLM(*TAB), I get all the records but the fields have overlapped data. If I use the (*TAB) I get one record and errors on the remaining copy.(error code 7) Here is the command I am...

View Answer   |  Mar 24 2009  6:19 PM GMT
CPYTOIMPF, V5R4, DB2
asked by VRSTEEL

  5 pts.

CPYTOIMPF

When i enter this command i find this error. CPYFRMIMPF FROMSTMF('/new_recon_conv.csv') TOFILE(NAVNEET/TT4 TT4) MBROPT( *REPLACE) RCDDLM(*CRLF) STRDLM('"') FLDDLM('|') DATFMT(*USA) RPLNULLVAL(*F LDDFT) The copy did not...

View Answer   |  Mar 16 2009  8:01 AM GMT
CPYTOIMPF, Copy To Import File, AS/400 administration
asked by Kapiltiwari

  120 pts.

CPYTOIMPF - PC .TXT file displaying as 'garbage'

Hi, We are using a simple CPYTOIMPF command to move a Physical file to the IFS in a .TXT format. CPYTOIMPF FROMFILE(S4CMREP) TOSTMF(&TOIMPTF) + MBROPT(*REPLACE) RCDDLM(*CRLF) + STRDLM(*NONE) FLDDLM(*TAB) Where &TOIMPTF is a IFS Folder & file name. This was...

View Answer   |  Feb 26 2009  10:52 AM GMT
CPYTOIMPF, Copy To Import File, Physical File
asked by SallyMackay

  15 pts.

My CL program is running CPYTOIMPF cmd & causes an SQL error

Message Id: SQ999999 Error occurred in SQL Call Level Interface. A procedure call encountered an error. The error code is 10. When I F1 on the line in the job log and then F9 for details, I see this: From program QSQCLI in QSYS, module SQLSEA, procedure SQLSetEnvAttr at stmt 5793 and To program...

View Answer   |  Feb 16 2009  4:35 PM GMT
CPYTOIMPF, SQL error messages, CL programs
asked by Jasingle

  20 pts.

CPYTOIMPF and multiple record formats

I have four different files with four different record formats which need to be copied into one file with alternating record formats, (rec fmt #1, rec fmt#2, rec fmt#3 rec fmt #4 in that order). The file also has to be field delimited with pipes, and so I thought CPYTOIMPF would work, but I am...

asked by Mattheus

  55 pts.

Problem with delimiter in CPYTOIMPF

I have used pipe symbol | as the delimiter to seperate fields.I used this in a DS and moved it to a flat file.From the flat file CPYTOIMPF was used to created a text file and ftpd.The problem is that the | symbol is read as ! in another system.Wat could be the reason

View Answer   |  Jan 13 2009  10:32 AM GMT
CL/400, CPYTOIMPF, Pipe-Delimited Text File
asked by Anderson123

  840 pts.

CPYTOIMPF and EXCEL defaults

I have an issue when copying an AS400 file to the IFS. One field that is defined as 15 charachter and contains numeric data does not show up in .csv format correctly without reformatting the column to special. I also tried defining the field as numeric, and had the same result. Example of data...

View Answer   |  Jan 6 2009  8:39 PM GMT
CPYTOIMPF, Microsoft Excel, CSV format
asked by Sbarnes

  5 pts.

cl

DCL &TEXTFILENM *CHAR 40 dcl &curdt *char 6 dcl &curtm *char 6 /* build your CL file name as */ RTVSYSVAL SYSVAL(QDATE) RTNVAR(&CURDT) RTVSYSVAL SYSVAL(QTime) RTNVAR(&CURTM) ChgVar &TextFileNm (QDATE *TCAT QTIME *TCAT ‘.TXT’ CPYTOIMPF … To stream file . . . . . . . . . TOSTMF &TextFileNm ...

View Answer   |  Dec 31 2008  9:45 AM GMT
CL, CPYTOIMPF, CL programming
asked by Anderson123

  840 pts.


Error code 10: Function sequence error using CPYTOIMPF on AS/400

I am using the CPYTOIMPF function on an AS400 to copy from one data base file to another. I want to end up with a .CSV file format. It worked once but now I get the following error: Message Id: SQ999999 Error occurred in SQL Call Level Interface. A procedure call encountered an error. ...

View Answer   |  Dec 22 2008  4:17 PM GMT
SQL, CPYTOIMPF, AS/400 DB2
asked by AS400 - Ask the Expert

  360 pts.

CPYTOIMPF - SQL ERROR

I am using CPYTOIMPF to copy AS400 database file to another AS400 database to get the receiver file in .csv format to download to a pc folder. I get a SQL error " Error occured in SQL Call Level Interface. Function sequence error." Does anyone know what this error means? I know that my receiver...

View Answer   |  Dec 18 2008  5:28 PM GMT
CPYTOIMPF, SQL error messages, SQL Call Level Interface
asked by Ann

  40 pts.

CL - Copy To Import File

I am using the CPYTOIMPF fromfile(PF) to STMF('dir\acp&txtfile') where &txtfile is &curdt *tcat &curtm.(system date and time) The stream file is created as acp&txtfile and what i want is acp120108100150.

View Answer   |  Dec 1 2008  10:13 AM GMT
CPYTOIMPF, CL, CL/400
asked by Anderson123

  840 pts.

Copying an externally-described file to the IFS

Hello, I need to copy several externally-described files to the IFS. What is the best way to copy an externally-described file on the iseries to the IFS on the same iseries? I am wanting the file on the IFS to be in either EBCDIC, ASCII, BINARY, or Comma Separated Variable format. I thought...

View Answer   |  Nov 25 2008  10:13 PM GMT
IFS, CPYTOIMPF, Copying from iSeries to IFS
asked by Panthers90

  5 pts.

TXT file naming using CL

Hi I hve created a txt file from a pf using cpytoimpf.The name of the txt file should have ccyymmddhhmmss in its name.I can retreive the date and time parameters from qdate and qtime.How do i name the txt file using a CL.

View Answer   |  Nov 25 2008  11:16 AM GMT
CPYTOIMPF, CL, CL/400
asked by Anderson123

  840 pts.

CPYTOIMPF performance problem

Since moving from V5R4M0 to V6R1M0 our program that copies from a PF to an import file on the IFS using the CPYTOIMPF command has had major performance issues. What used to take 30 minutes to copy now takes as much as 24 hours.

View Answer   |  Nov 11 2008  4:47 PM GMT
IFS, CPYTOIMPF, V5R4
asked by Jstone

  5 pts.


1 - 20 of 29
<<PREVIOUS 1|2 NEXT>>