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

how to find whether a date format is valid or not in RPG400 not in RPGILE.Can you please write the coding for this sir,i'm new to AS400.Please help.

1 Answers   iGate,


what opcode could be used to test an alphanumeric field for all numeric values?

1 Answers   IBM,


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  


4 persons a, b , c , d have to go to concert which will held in 17 minutes. there is a bridge which only 2 persons at a time can cross. its night and they have only one flashlight with them. Flashlight cannot be thrown. one person should return with the flashlight all 4 person have different speed. a = crosses bridge in 1 min. b = crosses bridge in 2 min. c = crosses bridge in 5 min. d = crosses bridge in 10 min how can they all reach in time.?? Ex- suppose a and d crosses bridge which will take 10 mins and then d returns back with a flashlight which will make 20 mins and mission is failed.

1 Answers   Manhattan,


What is the difference between production library and test library ?

1 Answers  






(1)In Cl Program,Are PGM and ENDPGM mandatery Keywords or not .If yes, please tell me why these keywords is necessary. (2)If we will not define these two keywords (PGMand ENDPGM) then any error will be come or not.

5 Answers   FIS, IBM, Virtusa,


under given circumstances, my cgi should link to another site. How to implement this?

0 Answers   IBM,


Q. HOw can read multimember file through RPG/400 and CL/400 Actully i know that we can Read multimember file in RPG through EXEFILE and EXEMBR and in cl through OVRDBF and MEMBER(3)....But i want to read 3 members by CL Program And RPG/400 program.Please write the coding(Program) for both RPG/400 and CL/400 programs? 2.What are the full forms(stands) of EXEFILE and EXEMBR?

5 Answers   CTS,


What is the Difference between command attention key and command function key ?

0 Answers   IBM,


To Add A File To The 'file Selection' Option Of A Query, The Function Key To Be Pressed Is?

0 Answers   IBM,


explain the difference between defining subfile and message-subfile?

1 Answers   IBM,


what is xfoot opcode ?

1 Answers   IBM,


Categories