Is it possible to call a subfile using CL. IF yes.. kindly
help me out with explanation...?
Answers were Sorted based on User's Feedback
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 |
Answer / saibhageerath
We can't call the subfile through CL.(Except massage subfile).
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / guest
Yes. Just use the same C library procedures that C uses.
| Is This Answer Correct ? | 0 Yes | 0 No |
RPG/400 faqs?
How do you proceed in case your active AS400 session has got disconnected suddenly, how can you get back to your session ? Is it possible??
i want code and what are used key words are ...like wrkmbrpdm screen (q) i have a file with 3 fields empno,empname,empaddr... here you give the empno it displays from that number to remaining empno's how? sub file screen: employee details pos to:empno then enter empno empname empaddr so file have 100 records from 1 to 100 so the above pos you give the 55 empno...it displays the from 55 to remaining... ...... please share this answel
what is the necessary keyword needed to scroll subfile records?
i'm working on progA , in that program i want to see the userids of the users who work on this program?
What are the necessary keywords required to code a message subfile?
list down and describe the sub systems vailable
how can we find setll setgt chain read reade readp operations are successfull or not,give example.explain in detail.
How can a screen field that has changed since the last output operation be detected?
can anybody help me that what is the procedure of debugging the service program?
can we use cl programming to update or delete physical files
Hi friends, I am using a load all subfile , and currently i am in in the third page of the subfile , from third page i have selected a record and called some other program .on returning, subfile is being loaded from the frist page. so can any one kindly suggest me in retaining my third page after returning. i.e loading from third page.