how can send report to user through cl program in as400



how can send report to user through cl program in as400..

Answer / raj

First convert a spool file to database file using CPYF,then
create a TXT file using CPYTOIMPF , then use SNDNETF and
specify users email address (which should be mentioned in
Distribution List)...
After this user will be able to receive report in Text file.

Is This Answer Correct ?    0 Yes 4 No

Post New Answer

More IBM AS400 AllOther Interview Questions

what is flatfile?what is the use of this file?where we can use usualy?what is the advantage of this?

2 Answers   Cognizant,


Why we sometimes use same file name in file and tofile in ovrdbf and sometimes different?

0 Answers  


define a output queue?

1 Answers   IBM,


what is the favicon.ico request that my site receives now and then?

0 Answers   IBM,


can a join logical file be updated?

0 Answers   IBM,






How can I automate sftp commands(ls & get) in CL program.. If I want to write two scripts one for each command... can u plz tell where the script should be written? & what will be the content of each scripts?

1 Answers  


What is the purpose of 'CPYTOIMPF' command?

6 Answers   Aditya Birla, Redington,


What is a Library in AS/400?

2 Answers  


i have one physical file which is having two logical files. logical a have unique keyword and logical b doesnt have a unique keyword. can i give duplicate values while updating through physical file. if no why?

4 Answers   IBM,


can u plz tell me is there any difference between SHELL SCRIPT & SFTP SCRIPT? I want to run LS & GET(automatically) command from CL program....which script can be used?

1 Answers  


what is the command to know key fields of file?

0 Answers   IBM,


In 'o' Specs What Is The Opcode For Write?

0 Answers   IBM,


Categories