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

what is difference between DSPFD and DSPFFD?please give me real senario with good example?

1 Answers  


difference betwen keywords and opcodes

3 Answers  


We have job which is running as batch. It takes atleast 06 hours to complete tht job. But I wanna do tht job with in 3 hours?

0 Answers  


what are the array operations?

1 Answers   IBM,


do you use message subfiles? What are the necessary keywords required coding a message subfile?

0 Answers   IBM,






Q:Hi all,i want accurate answer with code using in built functions.please sent me code as soon as posible. I have program nmed PGM1 which '' RETRIEVE Current production date''should correctly default the production date for the user who is issuing raw materials to the manufacturing.The production date can be different from the celendra date. However, the program does not make the correct adjustment for all manufacturing plants. there is a parameter which determines the production start time e.g. 07:00 if the system time precedes this,the program subtracts one from the celendra day.This work fine when the celendar day starts after production day as it does in England,the system should be adding one to the celendar day during the overlap. unfortunately the program was desined to assumed the celendar day always starts before the production day. Change required in the program: Change the PROGRAM PGM1 to use the new parrameter to decide whether to add or subtract 1 from the celendar day when determining the production date.

0 Answers   TCS,


in which journalling which attributes are necessary

2 Answers   CTS,


how does the rpg element work?

0 Answers   IBM,


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.

3 Answers  


what is EXCEPT command in rpg and use

1 Answers   Active Brains,


what procedure should we use to find whether the following operations are successful or not setll setgt chain read reade readp pls tell with example i'm not lazy to read the manual or not lazy to do anything.but sometimes i cannot understand the things given in manual in high level english its little bit complicated for me,i can't understand their way of writing thats why i ask these questions here and find the solution in simple words that i can understand thats the real reason sir.sorry if i had hurt you or disturbed you.please understand my situation.

5 Answers   iGate,


I have learnt through Net that Debugging a Batch job involves 1. Submit the job with the HOLD (*YES) parameter: SBMJOB HOLD(*YES) or Hold the job queue that before submitting the job by using the HLDJOBQ command. 2. Determine the job name, user, and number of the submitted job by using the WRKSBMJOB command. 3. Type the Start Service Job command on your screen: STRSRVJOB JOB(job name/user/number) 4. Type the Start Debug command on your screen: STRDBG 5. Release the job in the jobq. Type WRKSBMJOB and then put a 6 beside the job to be released and press enter, or, if the job queue was put on hold, release the job queue with the RLSJOBQ command. 6. A display appears when the job is ready to start, saying that you can now begin debugging the job. Press F10 to show the Command Entry display. 7. Now you can start debugging by entering an Add Break Point command: ADDBKP 8.ENDDBG 9.ENDSRVJOB I tried this for RPG/400 Program and up to six steps of the above it's ok,but for me no source is displayed and i typed DSPMODSRC in Command line but still i can't see the sourceif i press F.10 and enter command ADDBKP i don't know how to add break points through it,usually i add break points using F.6 for Interactive job debugs,but since this is batch i don't know sir,Please help me out. I was asked this question in a interview,i know only RPG/400 and i’m asking for debugging of RPG/400 program only sir. or is it only possible to debug BATCH RPG ILE JOB and it is not possible to debug BATCH RPG/400 JOB kindly help me out sir

4 Answers   HSBC,


Categories