i m a beginner who had wrote codes to write records into a *.dat file and can also read from a file.
So in my menu i wish to create extra options to delete and edit records. Can anyone help me by providing my some sample codes or the logic behind it.
The file record in the file section is:
01 CUSTOMER-REC.
02 CUSTOMER-NAME PIC X(20).
02 STREET-NO PIC X(25).
02 CITY-STATE-ZIP PIC X(25).
02 CREDIT-PUR-AMT PIC 9(6)V99.
02 NO-OF-PAYMENTS PIC 9(2).
So in my menu i wish to create extra options to delete and edit records. Can anyone help me by providing my some sample codes or the logic behind it.
The file record in the file section is:
01 CUSTOMER-REC.
02 CUSTOMER-NAME PIC X(20).
02 STREET-NO PIC X(25).
02 CITY-STATE-ZIP PIC X(25).
02 CREDIT-PUR-AMT PIC 9(6)V99.
02 NO-OF-PAYMENTS PIC 9(2).