If the last record of a file has been read, and the next
operation on that file is a READ operation, what will be
the values of the input fields for that file?
A. They will be blank and/or zero.
B. They will be null.
C. They will equal the values of the first record in the
file.
D. They will equal the values of the last record read.
Answers were Sorted based on User's Feedback
Answer / manikandan
ans:
d.They will equal the values of the last record read.
let me know other answer thank u
| Is This Answer Correct ? | 11 Yes | 1 No |
Answer / rahul
iT may depend on situation......on loop.....do while...or
not...thats all
| Is This Answer Correct ? | 0 Yes | 5 No |
in a cl pgm records are copied to a file in qtemp a pgm is called to delete records from the file in qtemp no of records in file in library qtemp is checked wat shud be the count of records let say it was 10 initially endpgm
I have file with data as follows data 1 2 3 4 5 I need to read 1 and 5 ,then 2 and 4 then like.. upto end of file, can any one help on this
How to identify the object has compiled with the debug view as *source without using STRDBG?
I need to generate outfile for object of all the user lib. in the sysmte using cmd DSPOBJD. But this cmd is correcpted in my server,Any body tell me is there any alternative...?
what happens when sflsiz = sflpag? What are the advantages and disadvantages?
without logical file we cannot access the data in physical file.but we specify physical file in the program(ie:- Ffile IF E k disk).how can it be accessed?
I have 1000 records in a file. I would like to generate 10 identical reports from this record with same format (structure of records) how do I do this?
which MONMSG will give higher priority in CL program? I know MONMSG are of two types. Program Level Monmsg and Command Monmsg?
Can we have a Physical file without any member ? Please let me know
Mr.Sidc sirfor my question{how to convert date format from one format to another i think in CL/400 its CVTDAT,Please tell in RPG/400 sir not in RPGILE} you have answered using MOVE opcode,can you illustrate me with a small example sir very kind of you.
what is flat file?
When will DUMP & DEBUG be ignored?