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
I have a pf, it contains 5 members, how to access particular member data from logical file?
What is open data path?
What is the primary file?
How to change the batch job to interactive job?
How to know the particular record in pf with out reading?
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.
What is the use of member in pf?
How many maximum record format a logical file have?
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?
Where the QTEMP library will get created? if the the answer is QSYS, then howcome more than one job can create same library name(QTEMP) in QSYS? what is the uniqueness of QTEMP? For example, run the below command in different workstation WRKOBJ QSYS/QTEMP And take 8 in the option to check the description. both will have different info. so where(which LIB) exactly the QTEMP is stored?
What is the difference between access path and open data path?
When we create a pf and did not fill up maint parameter, then by default which access path will the system take & why?
How to read a pf in reverse(from last record to first) using cl?
How to retrieve a physical file after deleting that?
What is the interactive job? What is the batch job?