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


Q. 1.What would be structure of CL PGM.
2. What are the levels of CL PGM.
3.How many files can be defined in new CLLE program?

Answers were Sorted based on User's Feedback



Q. 1.What would be structure of CL PGM. 2. What are the levels of CL PGM. 3.How many files can be ..

Answer / swetha p rao

1. Structure of CL prgm

PGM

declare variables
declare files
program processing statements

ENDPGM

3. 5 Files can be declared in CLLE ,we have to use file
open identifiers(OPNID) to read these programs

Is This Answer Correct ?    14 Yes 2 No

Q. 1.What would be structure of CL PGM. 2. What are the levels of CL PGM. 3.How many files can be ..

Answer / abhishek

You can also declare file before declaring variable. i.e.

PGM

Declare files
Declare variables
Program processing statements

ENDPGM

Is This Answer Correct ?    8 Yes 1 No

Q. 1.What would be structure of CL PGM. 2. What are the levels of CL PGM. 3.How many files can be ..

Answer / uttam

1.structure of cl pgm

PGM
DECLARE VARIABLES
DECLARE DISPLAYFILES
DECLARE FILES
PROCESS STATENTS

ENDPGM

Is This Answer Correct ?    3 Yes 3 No

Post New Answer

More IBM AS400 AllOther Interview Questions

I had ruestion in one of the interview..... If 1 file has more than 1 member and i want to use the 2nd member in the RPG pgm (in RPG400),how can I use this.... I know the possible answers i.e. useing API 'QCMDEXE' or Before calling the pgm I can use OVRDBF for that member... but I dont' want to use both the tips in above scenarion. Does any body tell me how can i use this ....?

13 Answers   Mind Tree,


How many libraries can be there in library list ?

1 Answers  


is there any way I can ease my rpg controls on numeric input fields? How about an input date field?

0 Answers   IBM,


how many maximum spaces could be given in o specs?

0 Answers   IBM,


what are the parameters required for calling ls & get command(SFTP COMMANDS) from cl progtram.... I want to transfer files(using GET COMMAND) that are retrieved by LS command ...FROM 1 SYSTEM TO ANOTHER... STEP 1:LS-list all files...from remote system STEP 2:GET-actually transfer the files(listed in step 1) from remote system to local system & get stored in some Physical file....Plz reply in detail...Thanx

1 Answers   EDS,


In RPG How to read a records from a file without using read opcodes?

0 Answers  


What is GDA?

1 Answers  


Write a CL program which will run a batch job at 1 am every night

0 Answers  


Hi,Please give me the the answer for these quesitons? 1.what is IFS and ICF and RAPE amd DISKET fils? explain with example please? 2.What is the difference between POST AND SPACE OPCODES? 3.Can anybody tell me default printerfile command and object type?

0 Answers  


What is source physical file?

1 Answers  


1.what is mean by compilation and runtime error? 2.How to define ALFA numeric value in pf? 3.what command is used to define a data in cl pgm? 4.What type of command is used in page at a time subfile and load all subfile?

2 Answers  


can a single screen format occupy a screen area above and below a subfile format ?

1 Answers   IBM,


Categories