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 the difference between inner join @ outer join
A rpg or clp command to find if the file field is defined as a character or numeric field.
What are the types of identifiers?
1) How to retrieve RRN through RPG ? 2) How to pass parameter by value ? 3) How to trap the error through the RPG/400
10 Answers IBM, Tech Mahindra,
Some times While checking MSGW for object / member / record locks ,I have seen it's locked by itself ...? How it happen and what action we need to perform if job is updating / writing a record....?
thanks mr.Harshad R Suryawaunshi,i'm new to as400 i think you are telling in rpgile i know only rpg400 if possible can you tell in rpg400
what is the necessary keyword needed to scroll subfile records?
What is the difference between RPG/400 and RPG4
how can we know running job is batch or intractive ? i need all the possibilites.........plz help me
A particular job executing on the iS is not behaving as expected and is operating in an environment in which it can be debugged. What commands would you use to debug and observe the program?
I have to change a program. This program is calling a subroutine mor than 100times within it. so will it have any performance issue? if yes than what changes i can make. Thanx for ur valuable answer.
i would like to know under what circumstance the object will get locked on AS400.