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...


(1)In Cl Program,Are PGM and ENDPGM mandatery Keywords or
not .If yes, please tell me why these keywords is necessary.

(2)If we will not define these two keywords (PGMand ENDPGM)
then any error will be come or not.

Answers were Sorted based on User's Feedback



(1)In Cl Program,Are PGM and ENDPGM mandatery Keywords or not .If yes, please tell me why these ke..

Answer / yamuna

PGM and ENDPGM is mandatory only in case of parameter is
used in the CL program.

Is This Answer Correct ?    31 Yes 2 No

(1)In Cl Program,Are PGM and ENDPGM mandatery Keywords or not .If yes, please tell me why these ke..

Answer / nups

PGM amd ENDPGM are not mandatory until we dont use
parameters

It will generate a low level error but program would
compile and run

Is This Answer Correct ?    11 Yes 0 No

(1)In Cl Program,Are PGM and ENDPGM mandatery Keywords or not .If yes, please tell me why these ke..

Answer / yamuna

No error will come if PGM and ENDPGM is not used when there
is no parameter in the CL Program.

Is This Answer Correct ?    9 Yes 3 No

(1)In Cl Program,Are PGM and ENDPGM mandatery Keywords or not .If yes, please tell me why these ke..

Answer / vinu sharad

1.PGM and ENDPGM are not mandtory until we dont use
Parameters.

2.No error would come if no parameter used

Is This Answer Correct ?    5 Yes 1 No

(1)In Cl Program,Are PGM and ENDPGM mandatery Keywords or not .If yes, please tell me why these ke..

Answer / kishore reddy gopal

Yes but what if u r not using PGM and END-PGM, do we get any error at run time?

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More IBM AS400 AllOther Interview Questions

What is the difference between array and a multiple occurrence data structure?

1 Answers  


Is it possible to add an keyfield or field to an Physical file without changing its file identifier. Example : - Say I have an existing physical file which is being used in 5 programs. Now I want to add an additional Keyfield or an field to it and I don't want to recompile the programs.

2 Answers  


how can a procedure will be added in to a srvpgm

4 Answers   TCS,


1. There is a file called Month. Month has 12 members called Jan, Feb, ..., Dec. How to design a rpg code which can access any member and show its content. (User can ask for any member when required)?

0 Answers  


What is the purpose of STRCMTCTL command?

1 Answers  


Hi i have one question In my srvpgm one module ADDM is there now i want to add new module i.e SUBM , please answer me IN STEPS how to write bndlanguage and how it was attach to SRVPGM

2 Answers   IBM, Satyam,


I am fresher 2009 passedout.can you pls explain me what is AS400 and where it can be used and how about growth in the position as well as salary, whether it is a programming language or else?

3 Answers  


Why we have multiple data types in As400 and why we use numeric, packed, decimal, zoned the basic difference between this?

0 Answers  


what is the difference between udate and the system date?

1 Answers   IBM,


What is access path in as400?

0 Answers  


Q.Hi All friends, I have one Question, I have three fields in display file SUP LOT, ISSUED to Prod and Line Grp. Field SUP LOT is mentioned in one field reference file WRSLT and key field as a key field LP.Fields ISSUED to PROD,Line GRP are mentioned in the another Field reference file WMDTF. So I want to read SUP LOT on the basis of key field LP from the first file WFSLTand then i want ot read another two fields ISSUED to DATE and LINE GRP from second file on the basis of SUP LOT, which i got from first file.Now i want to display these fields in the display file DSPWMMS. but Condition is that 'Supplier Lot,ISSUED to Prod and Line Grp will not be shown if their respective fields are blanks/Zero. Please Let me Know coding part of this senerio and what would be coding for display file to now shown fields if fields are blanks/zero. My mob. no. is 9836300345. Please reply me asap.

1 Answers   IBM,


How I can read and display three fields in the record format DSPFM1 of the display file,while one field(using in one file) is NAME which is Key field in field reference file and another two fields are AGE and ROLL NO are using another file. Please send me coding part.

2 Answers   IBM,


Categories