Can an indexed file be accessed in arrival sequence in RPG?

Answers were Sorted based on User's Feedback



Can an indexed file be accessed in arrival sequence in RPG?..

Answer / surendra y mudliar

Yes! By not specifying K in Record Address type.

Is This Answer Correct ?    9 Yes 1 No

Can an indexed file be accessed in arrival sequence in RPG?..

Answer / raheem

YES, INDEXED FILE CAN BE ACCESSED IN ARRIVAL SEQUENCE BY
IN F SPEC , WE CAN NOT SPECIFY 'K' ON RECORD ADDRESS TYPE IN A RPG PGM

Is This Answer Correct ?    3 Yes 0 No

Can an indexed file be accessed in arrival sequence in RPG?..

Answer / syam

Yes

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More RPG400 Interview Questions

How do you know if a record exists without doing a READ and CHAIN?

6 Answers   IBM,


How can we know running job is batch or interactive?

0 Answers  


How can we find out whether the job is interactive or Batch through RPG program? 2) How can we find out through CL program?

6 Answers   CSC,


Hi friends, I am using a load all subfile , and currently i am in in the third page of the subfile , from third page i have selected a record and called some other program .on returning, subfile is being loaded from the frist page. so can any one kindly suggest me in retaining my third page after returning. i.e loading from third page.

7 Answers  


WHAT IS MEANT BY SIGNATURE VAILOTION ERROR

1 Answers   IBM,






what is the use of sflnxtchg?

0 Answers   IBM,


How would display prime numbers using CL program?

0 Answers   Hexaware,


How can i keyed a flat file in RPGLE

5 Answers   IBM, Wipro,


what is commitment control?explain about it?

1 Answers   HSBC,


Why did we give STRSRVJOB while debugging batch program

3 Answers   HBL Power Systems,


Im traying to get out put of this below mention simple logic code.But im geting out of different.(im trying with my laptop trhough my company server. DCL &FIELD1 *CHAR 10 VALUE('TCS AS/400') DCL &FIELD2 *CHAR 10 CHGVAR(%SST(&FIELD2 1 10))(%SST(&FIELD1 10 1) Can you tell me the value of field2 after excuted of CHGVAR command.

2 Answers  


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

3 Answers   ISG,


Categories