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

what is the purpose of indicators in rpg?

1 Answers   IBM,


What is the purpose of PR and PI in calling program and called program? in Called program PR is compulsory?

1 Answers   HCL,


What are the different types of specification available in RPG/400 ?

1 Answers  


what is the command to rtrieve system date? options:1.rtvsysval 2.rtvjoba 3.rtvjobd 4.both a and b

5 Answers  


How to genarate the reports?

1 Answers  


what is sflrolval?

0 Answers   IBM,


what is the purpose of dynslt keyword?

1 Answers   IBM,


what does exfmt does?

1 Answers   IBM,


Describe the function of SETLL operation in RPG language?

1 Answers  


How many primary files allowed in a program?

1 Answers  


How do you put jobs in batch mode?

1 Answers  


which single rpg opcode performs both setll and reade?

1 Answers   IBM,


Categories