Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


how can we write LF using flatfile.

Answers were Sorted based on User's Feedback



how can we write LF using flatfile...

Answer / jitender singh

U can do in the following ways

Suppose u have Flat file XYZ of 10 lenght

What u do in LF
R REC1 PFILE(XYZ)
FLD1 I SST(XYZ 1 3)
FLD2 I SST(XYZ 4 7)

IN this way you can also name the filed in LF

Is This Answer Correct ?    17 Yes 3 No

how can we write LF using flatfile...

Answer / kk

By using SST k/w in LF, we can write LF using Flat File

Is This Answer Correct ?    3 Yes 0 No

how can we write LF using flatfile...

Answer / nirosh


In the system 36 environment, we have procedure named
BLDINDEX for create Logical file for Flat file. First We
can run System 36 environment using STRS36 command. Then
type this command & you need to give starting position of
the key field & length of it.

Is This Answer Correct ?    1 Yes 0 No

how can we write LF using flatfile...

Answer / shantanu

Hi Nirosh Can you Explain your ans properly.

Is This Answer Correct ?    0 Yes 0 No

how can we write LF using flatfile...

Answer / 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

how can we write LF using flatfile...

Answer / fahim

suppose flatF name is flat1 n want to relate with lf so follow the steps
recfmtname(flat1) pfile(flat1) and compile it n run lf

Is This Answer Correct ?    0 Yes 0 No

how can we write LF using flatfile...

Answer / sagar

Suppose u have Flat file FLATPF of 70 lenght

R FLATPF PFILE(SAGARLIB/FLATPF)
FLATFLD RENAME(FLATPF)
FLD1 I SST(FLATFLD 1 5)
FLD2 I SST(FLATFLD 7 8)
FLD3 I SST(FLATFLD 16 4)

Is This Answer Correct ?    0 Yes 0 No

how can we write LF using flatfile...

Answer / rajat01

Dm400, source code please?

Is This Answer Correct ?    0 Yes 0 No

how can we write LF using flatfile...

Answer / dm400

Create a SQL View over Flat file..SQL view is a almost LF

Is This Answer Correct ?    0 Yes 2 No

Post New Answer

More DB400 Interview Questions

what is the difference between adding keys & constraints into a phisical file

4 Answers   HSBC,


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?

0 Answers  


In a CL Program after executing a SQL SP how to receive a Output value from the SP. Just to make it clear I am sending 2 input and 1 output parameter to the SQL Stored Procedure. Now while receiving it output parm it is failing.

0 Answers   Nous,


How many maximum record format a logical file have?

0 Answers  


What is the interactive job?

0 Answers  


can any one tell me what is meant by PSSR? Kindly elaborate it...

1 Answers  


WHAT IS THE DIFFERENCE BETWEEN 'COLHDG' AND 'ALIAS'?

5 Answers   Accenture,


CRTDTA AND CRTARA should be used along with?

2 Answers  


what is error handling concepts in cl

3 Answers   Active Brains,


what is use of self join and which cases you will use this join

1 Answers   TCS,


How to insert more than one record to a pf at a time?(Bulk insert to a pf)

9 Answers  


what is the difference between adding keys & constraints into a phisical file

6 Answers   HSBC,


Categories