What is the purpose of 'CPYTOIMPF' command?

Answers were Sorted based on User's Feedback



What is the purpose of 'CPYTOIMPF' command?..

Answer / vignesh c

The Copy To Import File (CPYTOIMPF) command copies an
externally described file to an import file. The term import
file is used to describe a file created for purposes of
copying data between heterogenous databases.

Is This Answer Correct ?    9 Yes 2 No

What is the purpose of 'CPYTOIMPF' command?..

Answer / sasikumar

Used to copy or import data from Stream files to a PF/LF.
The stream files may be an excel,txt,......etc

Is This Answer Correct ?    3 Yes 0 No

What is the purpose of 'CPYTOIMPF' command?..

Answer / bhupendra tomar

if u want to copy a EDF from otherwhere to your local
system in a PDF then we use this cmd

Is This Answer Correct ?    3 Yes 1 No

What is the purpose of 'CPYTOIMPF' command?..

Answer / yogesh

CPYTOIMPF – Copy to import file
The Copy To Import File (CPYTOIMPF) command copies an
externally-described file to an import file. The term
import file is used to describe a file created for purposes
of copying data between heterogeneous databases. The
import file (TOSTMF or TOFILE parameter) will be called the
to-file for this command.

TOSTMF: - Specifies the output stream file to which data is
to be copied
A stream file is a randomly accessible sequence of bytes,
with no further structure imposed by the system. The
integrated file system provides support for storing and
operating on information in the form of stream files.
Documents that are stored in your server's folders are
stream files. Other examples of stream files are PC files
and the files in UNIX systems. An integrated file system
stream file is a system object that has an object type of
*STMF.

TOFILE:- Specifies the database file to receive the copied
records.
The to-file can be any of the following file
types:

o source physical
file.

o if the file is not a source file, the file can have
only one non-numeric
field.
o program-described physical
file.

o externally-described physical file with one non-numeric
field.

Is This Answer Correct ?    1 Yes 1 No

What is the purpose of 'CPYTOIMPF' command?..

Answer / praveen

to copy any file from as400 to STMF

Is This Answer Correct ?    0 Yes 0 No

What is the purpose of 'CPYTOIMPF' command?..

Answer / megha

one more advantage is that we can convert spool file
to .csv file using this command

cpytostmf frommbr(db file) tostmf(/home/xx/megha.csv)

Is This Answer Correct ?    0 Yes 1 No

Post New Answer



More IBM AS400 AllOther Interview Questions

What is acronym of RPG?

1 Answers  


What is file access opcodes?

0 Answers   IBM,


I am fresher 2009 passedout.can you pls explain me what is AS400 and where it can be used and how about growth in the position as well as salary, whether it is a programming language or else?

3 Answers  


what do we can do with the embedded sql statements?

0 Answers   IBM,


what is data structure?how many types of data structers?

4 Answers  






1) Suppose we call a pgm from CL, how come AS400 system knows whether the called pgm is to be interactive one or batch one? 2)How many members can exist in a PF?

7 Answers  


How do you put jobs in batch mode?

1 Answers  


What are the different definition levels in Data Description Specifications?

1 Answers  


what are all the contents of subfile?

1 Answers   IBM,


where can you specify an indicator in lokup operation?

1 Answers   IBM,


what if my system I runs with system value qccsid 65535?

0 Answers   IBM,


How can you check the existence of object in a system?

1 Answers  






Categories