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?

Answers were Sorted based on User's Feedback



1.what is mean by compilation and runtime error? 2.How to define ALFA numeric value in pf? 3.what ..

Answer / gupta sam

Compilation error occurs when you compile your program. If
program is having some syntax error then its a compilation
error and through when you compile your program.
Run Time error occurs when there is an error in logic and
this comes in piture when you call your program.
By DCL command you can define a variable in CL program .
SFLPAGE and SFLSIZ is used to define subfile whether load
all subfile or else.

Is This Answer Correct ?    14 Yes 0 No

1.what is mean by compilation and runtime error? 2.How to define ALFA numeric value in pf? 3.what ..

Answer / swapan dey

q.1 compilaton error is occur during a compilation time (
PGM1 going to be compile .
Runtime error occur when an array is load into the memory
befor the compilation...
2.
TYPE(*CHAR,*LGL,*NUMERIC)
4.LOADALL
SINGLE PAGE SUBFILE

Is This Answer Correct ?    2 Yes 5 No

Post New Answer

More IBM AS400 AllOther Interview Questions

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?

3 Answers   IBM,


define the purpose of the *cat function?

1 Answers   IBM,


how do you use commitment control in rpg program ?

1 Answers   IBM,


Want to know related Interview questions and answers for seniors

1 Answers  


what are the different types of data areas?

1 Answers   IBM,






in conjunction with what other keyword must ovrdta and ovrata be used?

1 Answers   IBM,


how to create physical file

1 Answers  


can you explain the difference between spacea,spaceb,skipa and skipb. I'm new to learning about as400 and printer files. can any one give me an example using source code showing the difference that occurs between using these 4 keywords. A-Physical file PF004 source UNIQUE R RR STUNAM 10 ROLLNU 5 0 MARKS 3 0 SEX 6 K ROLLNU 4 records present in PF004 are STUNAM ROLLNU MARKS SEX KAVYA 12,344 55 FEMALE MADHAVAN 14,579 60 MALE RAMYA 14,785 70 FEMALE KRISHNAN 14,988 72 MALE B-Printer File PRINT1 source A R HEADER A 10 3'STUNAM' A 10 20'ROLLNU' A 10 30'MARKS' A 10 40'SEX' A R DETAIL A SPACEB(1) A STUNAM 10 3 A ROLLNU 5 0 20 A MARKS 3 0 30 A SEX 6 40 A R FOOTER A SPACEB(1) A 20'END OF REPORT' C-RPG/400 Program PRTTPG source FPF004 I F E DISK FPRINT1 O E PRINTER C WRITE HEADER C READ PF004 60 C *IN60 DOWEQ *OFF C WRITE DETAIL C READ PF004 60 C ENDDO C WRITE FOOTER C SETON LR D-spooled file result set Display Spooled File File . . . . . : PRINT1 Page/Line 1/10 Control . . . . . Columns 1 - 130 Find . . . . . . *...+....1....+....2....+....3....+....4....+....5....+.... 6....+....7....+....8....+....9....+....0....+....1....+.... 2....+....3 STUNAM ROLLNU MARKS SEX KAVYA 12344 055 FEMALE MADHAVAN 14579 060 MALE RAMYA 14785 070 FEMALE KRISHNAN 14988 072 MALE END OF REPORT Bottom F3=Exit F12=Cancel F19=Left F20=Right F24=More keys I have changed from SPACEB to SPACEA now in my printer file source E-Changed PRINT1 Source A R HEADER A 10 3'STUNAM' A 10 20'ROLLNU' A 10 30'MARKS' A 10 40'SEX' A R DETAIL A SPACEA(1) A STUNAM 10 3 A ROLLNU 5 0 20 A MARKS 3 0 30 A SEX 6 40 A R FOOTER A SPACEA(1) A 20'END OF REPORT' F-Spooled file Result Set after keyword change Display Spooled File File . . . . . : PRINT1 Page/Line 1/10 Control . . . . . Columns 1 - 130 Find . . . . . . *...+....1....+....2....+....3....+....4....+....5....+.... 6....+....7....+....8....+....9....+....0....+....1....+.... 2....+....3 KAVYAM 12344U 055KS FEMALE MADHAVAN 14579 060 MALE RAMYA 14785 070 FEMALE KRISHNAN 14988 072 MALE END OF REPORT Bottom F3=Exit F12=Cancel F19=Left F20=Right F24=More keys Overprinting not displayed.

0 Answers   Tieto,


Is it possible to join the same file to itself ?

1 Answers  


What is GDA?

1 Answers  


what is the purpose of indicators in rpg?

1 Answers   IBM,


can u plz tell me is there any difference between SHELL SCRIPT & SFTP SCRIPT? I want to run LS & GET(automatically) command from CL program....which script can be used?

1 Answers  


Categories