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 |
How to add 2 new fields in a file? How many ways are there in as400?
in which journalling which attributes are necessary??/
What is the purpose of FRCDTA keyword?
When it is desirable to describe files Internally?
how do I declare a minor?
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.
Why Rpg/400 is Famous?
steps involved in debugging and types of debugging modes?
Thanks gagan for your answer,i'm new to as400,i don't know embedded sql in rpg.can you send me the coding for the below mentioned question in embedded sql rpg. how to retrieve particular field records from a physical file,say i have a physical file called 'employee' in it i have to retrieve the records of a field 'admin' present in pf 'employee' using rpg,but i should not use logical file or openquery file.
two types of read performed in dataqueue?????
Can we have a Physical file without any member ? Please let me know
what are the array operations?