Answer Posted / nirosh
BLDINDEX MLR?WS?,28,8,ML.RETUR,,DUPKEY
BLDINDEX ML.HIS?WS?,9,6,ML.INVHS,,DUPKEY,,17,5
TYPE BLDINDEX in system 36 environment & F4
BLDINDEX PROCEDURE Optional-*
Ignored-%
Crtes an alternat index for a physical file
Name of file to be CREATED . . NIROSH
Start posit for 1st field of key 1-4096 6
Length of first field . . . . . 1-120 5
Start posit for 2nd field of key 1-4096 1
Length of 2nd field . 1-120 5
Start posit for 3rd field of key 1-4096
Length of 3RD field 1-120
Name of PHYSICAL FILE . . . ML.CRDR
Creation date of physical file
Allow duplicate keys DUPKEY,NODUPKEY DUPKEY
Prefer disk locn A1,A2,A3,A4,block number
Enter
Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
How to update physical file using logical file with example?
How to read a pf in reverse(from last record to first) using cl?
What is the batch job?
How to index LF by relative record no (RRN)
What is the difference between access path and open data path?
How to change the batch job to interactive job?
How many maximum record format a logical file have?
I have physical file with 100 records,there is no any duplicate records in this pf.based on this pf one logical file I have used.but this lf is viewing only 80 records only of that pf?what is the reason for this?
Can we concatenate fields in physical file? If yes how can we do?
What is FORMAT keyword and its use?
When we create a pf and did not fill up maint parameter, then by default which access path will the system take & why?
There is one string as A B C and wanted to display string as Shri A Shri B Shri C, how we can do this in sql? If we have around 100 values in string like this, each value should be displayed with initials as Shri.
Suppose I have a pf,it contains 5 members,how to access particular member data from logical file ?and what is the use of member in pf?
How to retrieve a physical file after deleting that?
What is the use of member in pf?