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

Hi,while writing a program, what is the mandatory specification using rpg/400 (in7 specification)?And please tell me what is the difference between SCAN AND CHECK opcodes?can any body tell me in real time senario?with example?

3 Answers  


what are the parameters required for calling ls & get command(SFTP COMMANDS) from cl progtram.... e.g call PGM(qp2shell) PARM('/qopensys/usr/bin/sh' '-c' 'sftp -b /home/mydir/tmp.txt user@host.com') Plz reply in detail...

1 Answers  


what is the rpg and cl life cycle?Please tell me any body

4 Answers  


is it possible to create a physical file without dds?

1 Answers   IBM,


how many types of display are available on as/400 for user interaction?

0 Answers   IBM,






What is the purpose of the following? FORDHDR1 IF E K DISK ORDHDRF KRENAMEORDHDRF1

1 Answers  


What is the purpose of SFLFOLD and SFLDROP keywords?

1 Answers  


I am a fresher. I got project on AS 400. Can any body suggest the best book for learning of it.

1 Answers  


What is the use of jdftval in as400?

0 Answers  


How do you set the keywords SFLSIZ and SFLPAG if you want the subfile to dynamically expand?

1 Answers  


WHAT IS ACTIVATION GROUP IN ILE?

10 Answers   Accenture, HSBC, TCS,


what are the different types of variables available in cl?

1 Answers   IBM,


Categories