View previous topic :: View next topic
|
Author |
Message |
kiran_polnati Warnings : 2 New User
Joined: 23 Jun 2005 Posts: 22
|
|
|
|
hi
i have copy book with length 90, and it contains 3 records each record contain lenght 30
Code: |
01 employee.
03 key x(12)
03 name x(20)
03 loc x(8)
01 employeexx.
03 kfield x(10)
03 name1 x(20)
03 loc 1 x(10)
01 employeexx1.
03 key1 x(12)
03 name1 x(20)
03 loc1 x(8) |
then how to map with copy book to vsam file , and how to enter records into that file
i did- i created file with 30 max , min record length but i am seeing first record only when i going throu edit mode
what can i do for i want add the data into 3 records and i want to see all the data through browse mode
Thanks in advance |
|
Back to top |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
Please put your requirement clearly. Your post is confusing. |
|
Back to top |
|
|
Karthikt
New User
Joined: 15 Aug 2005 Posts: 51
|
|
|
|
Please create a copy book for all the 3 records at 01 level itself. When you go into option 3 of File aid (Which facillitates you to open the file referencing a copybook) it prompts to select a 01 level record structure among the three 01 levels in the copybook.
You select the appropriate one for which you require to add the record.
When you see the file in edit mode with the reference of copybook structure you had chosen, type 'I' in the line number to insert a record and add the relevant details under each field and then enter 'SAVE' in the command prompt to save the file for the new record added. |
|
Back to top |
|
|
GlobalGyan
New User
Joined: 31 Jan 2006 Posts: 28
|
|
|
|
Type USE on the cmd line in FileAid and it pops up all the layouts. select the layout with S.... thats the way to deal with mutiple layouts in a single copybook!
-GG |
|
Back to top |
|
|
Karthikt
New User
Joined: 15 Aug 2005 Posts: 51
|
|
|
|
Please create a copy book for all the 3 records at 01 level itself. When you go into option 3 of File aid (Which facillitates you to open the file referencing a copybook) it prompts to select a 01 level record structure among the three 01 levels in the copybook.
You select the appropriate one for which you require to add the record.
When you see the file in edit mode with the reference of copybook structure you had chosen, type 'I' in the line number to insert a record and add the relevant details under each field and then enter 'SAVE' in the command prompt to save the file for the new record added. |
|
Back to top |
|
|
rz061m
New User
Joined: 03 Mar 2006 Posts: 48 Location: Chennai
|
|
|
|
After you open your file thru edit mode, type FMT at the command line. Now u will be able to see all the fields and enter/read them from the file. |
|
Back to top |
|
|
|