can I copy content of Physican file in some source Member
of type TXT?
Thanx..



can I copy content of Physican file in some source Member of type TXT? Thanx....

Answer / syam

Yes, use CPYTOPCD cl command
CPYTOPCD FROMFILE(LIB/PFFILE) TOFLR(YOURFLR)
FROMMBR(MBRNAME) TODOC(NEWDATA.TXT)

Is This Answer Correct ?    5 Yes 0 No

Post New Answer

More IBM AS400 AllOther Interview Questions

OVRDBF FILE(xxx) TOFILE(libl/filename) share(*yes) In which scenario is share(*yes) used? could any one explain with an example?

3 Answers   IBM,


What is difference between CAT, TCAT, BCAT?

1 Answers  


Q1. How to use signature in service program and ILE.? Q2.what is use of signature and binder language and what is the relation between them?

2 Answers   CTS,


What is Folder?

1 Answers  


How many record formats can you have in a Physical file and in a Logical file ?

1 Answers  






what are the three line types in rlu ?

1 Answers   IBM,


The content of Physical file is as below: hfcftp wruquief SENDPASV 0 CDUP ASCII GET 01100901.CSV ramndk/ECP505.EC0110090 (REPLACE QUIT Thw above commands will get executed when we call STRTCPFTP from CL program.... Now if I want to use SFTP what can be the solution? plz reply in detail....Thank you for ny help... I m using RPG/ILERPG to download...

0 Answers  


What would be the output of the variable result? D RESULT S 5S O INZ(00011) C EVAL RESULT = %TRIM(RESULT) Please give me the correct answer for this A.0001 b.compile time error c.11 d.Runtime error

5 Answers  


In Which Specs Arrays, Tables & Constants Are Defined?

0 Answers   IBM,


define the purpose/use for sflrna?

1 Answers   IBM,


Want to know related Interview questions and answers for seniors

1 Answers  


what key word is used when screen is re-display?

0 Answers   IBM,


Categories