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 |
what is kids-rpg?
WHAT IS MENT BY RECORD LEVEL IDENTIFIER ? WHAT IS THE PURPOSE OF THIS?
As Packed veriable store 2 digits in 1 byte and ZONE variable store 1 digit in 1 byte... Please tell me when we have to use Packed and Zone variable...?
Hi, Can any body tell me ur experience on this questions? Questions: 1.what is the use of SFLRCDNBR other than subfile page display? 2.Which of the following operation cannot be used in conjuction with a file coded as device type disk?
You have a *USE authority on a Library and *All authority on a file in that Library.Can you change the data in that file?
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??
in which journalling which attributes are necessary
what is an online rpg?
Can we found a record existance in a file w/o reading the file?
6 Answers Traitsys Technologies,
what is a rpg?
Can any body give the code for this quesition? Using the following details write C-Spec code to set Name to"AMMU LABS SYSTEM" D NAME1 S 10 INZ('AMMU') D NAME2 S 10 INZ('LABS') D NAME3 S 10 INZ('SYSTEM') D NAME S 20
1) How to define keyed file in CL pgm. 2) How can i read particular records in CL pgm from database file.