Suppose in CL we reach at end of file and again we have to reach from 1 record
Answer Posted / surya
We can use POSDBF command in CL program
This command sets the record position of the database file that is opened with OPNID(XXX) to the starting position of the database file member that is currently open.
POSDBF OPNID(XXX) POSITION(*START)
| Is This Answer Correct ? | 4 Yes | 0 No |
Post New Answer View All Answers
How Chain operation copies the record's data to the input buffer for the program?
give an eg of ACQ-(ACQUIRE),BIT OFF,BIT ON,DEALLOC,DUMP,FEOD,FORCE,MHHZO,MHLZO,MHLLZO,MLHZO,REL,RESET,TESTZ,TESTB,TESTN----GIVE SMALL EXAMPLE TO THE OPCODES...TO UNDERSTAND FUNCTIONING...........
is this a rpg channel?
what is the procedure and explain about real time scenario.
What is the diff bw PF/LF Name and their Record format name? what is restriction in record format then file name?
How to create a login screen using a command instead of display file.... intention is to get a password field on a command..... how do you achieve this...
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?
What is the difference between copybooks and subprocedures in as400?
what is the rpg system?
what is file information data structure?
what was the robotech rpg?
What is ment by record level identifier?
Set on command is used for closed all opened files , initialize var and release resource , return cmd is used for return to calling program but my req. Is dnt close opened files and resource must released while doing transactions , how can i do this...?
can anybody help me to solve this problem. the program that i m checking display error message saying "Record format for file AJDSPFFD does not match model file and decimal error. how to solve this problem. The AJDSPFFD is snapshot the AJTLOG that is the audit trail list.
Assume 2 users are using the same file and first user updates some record in the file. Will the 2nd user will be able to see the updated record or not?