Is it possible to call a subfile using CL. IF yes.. kindly
help me out with explanation...?
Answer Posted / rakesh
In CL procedures and programs, message subfiles are the only
type of subfiles supported. To use subfile message support,
run a SNDF or SNDRCVF command using the subfile message
control record. In the DDS, supply SFLPGMQ data and always
have SFLINZ active.
When you use message subfiles in CL procedures and programs,
you must name a procedure or program. You cannot specify an
* for the SFLPGMQ keyword in DDS. When you specify a
procedure or OPM program name, all messages sent to that
procedure's or program's message queue are taken from the
invocation message queue and placed in the message subfile.
All messages associated with the current request are taken
from the CALL message queue and placed in the message subfile.
Message subfiles let a controlling procedure or program
display one or more error messages.
Ref:-
http://publib.boulder.ibm.com/infocenter/iadthelp/v6r0/index.jsp?topic=/com.ibm.etools.iseries.pgmgd.doc/evfclmst161.htm
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
Assume 2 users are using the same file and first user updates some record in the file. Will the 2nd user will be able to see the updated record or not?
How do u design a physical file, when you have 2 Unique fields like for eg in A student file student ID and student examination no both are unique
if there is a module object , how to find the program object for this module object.Assume the module object name and program object name is not same.
Explain mdt?
1. What is bound-by-call and bound-by-reference? 2. Where and why is *Nomain used? 3. What are the difficulties faced by programmers when using service programs? 4. Explain the different ways of parsing and compiling XML in iSeries.
can you debug ile rpg program using isdb?
what is the necessary keyword needed to scroll subfile records?
what is the difference between do while and do until?
How can we know running job is batch or interactive?
what is file information data structure?
Hi Viewers can any body explain me how to update and ahange the already existed data in physical file using subfile ? please explain me with the code if possible?
How to call one program from another program in RPG? please help me with the code
what is an online rpg?
What is difference between bind by copy and bind by reference?
what is the procedure and explain about real time scenario.