Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

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?

899


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

965


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.

2584


Explain mdt?

1080


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.

6403


can you debug ile rpg program using isdb?

1194


what is the necessary keyword needed to scroll subfile records?

1111


what is the difference between do while and do until?

1198


How can we know running job is batch or interactive?

1059


what is file information data structure?

2120


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?

5080


How to call one program from another program in RPG? please help me with the code

1682


what is an online rpg?

1205


What is difference between bind by copy and bind by reference?

2407


what is the procedure and explain about real time scenario.

1899