Below are some important AS400 interview questions which are asked in most MNC company interviews for beginners or professionals.
6. When would the ALL keyword be used?
Use with Select or Omit, to select/omit records.
7. What are the different types of keywords in display files?
File level, Record format level, Field level
8. What is difference between CAT, TCAT, BCAT?
CAT - Concatenate two variables or constants into one continuous string.
BCAT - Truncates all trailing blanks in the first character string, one blank is inserted, then the two character strings are concatenated.
TCAT - Truncates all trailing blanks in the first character string, the two character strings are concatenated.
9. What is the difference between SFLCLR and SFLINZ?
SFLCLR : It clears the subfile. SFLINZ : First it clears the subfile and initiliazing the numeric variables with zeros and alphanumeric variables with characters.
10. What is the purpose of the following?
A CSRLOC (F1ROW F1COL)
Ans:Using this record level keyword, you can specify cursor location on an output operation to the record format you are defining. The program sends output after setting the cursor location.
More Questions & Answers :-
Page1 Page2 Page3 Page4 Page5
6. When would the ALL keyword be used?
Use with Select or Omit, to select/omit records.
7. What are the different types of keywords in display files?
File level, Record format level, Field level
8. What is difference between CAT, TCAT, BCAT?
CAT - Concatenate two variables or constants into one continuous string.
BCAT - Truncates all trailing blanks in the first character string, one blank is inserted, then the two character strings are concatenated.
TCAT - Truncates all trailing blanks in the first character string, the two character strings are concatenated.
9. What is the difference between SFLCLR and SFLINZ?
SFLCLR : It clears the subfile. SFLINZ : First it clears the subfile and initiliazing the numeric variables with zeros and alphanumeric variables with characters.
10. What is the purpose of the following?
A CSRLOC (F1ROW F1COL)
Ans:Using this record level keyword, you can specify cursor location on an output operation to the record format you are defining. The program sends output after setting the cursor location.
More Questions & Answers :-
Page1 Page2 Page3 Page4 Page5
No comments:
Post a Comment