Results 1 to 3 of 3

Thread: To read the previous record from the last

  1. #1
    Junior Member
    Join Date
    Dec 2007
    Answers
    5

    To read the previous record from the last

    Hi,

    In a sequential file, how to read and display the previous record from last?(How to code cobol program).
    Plz note that i am not using CICS here. It is not an index file.


  2. #2
    Junior Member
    Join Date
    Jan 2010
    Answers
    2

    Re: To read the previous record from the last

    you can go to the eof and after that come back 2 records. I am sure there might be some other way as well.


  3. #3
    Junior Member
    Join Date
    Dec 2009
    Answers
    3

    Re: To read the previous record from the last

    Probably you can copy the records from the original file in reverse order into another sequential file and then continue with your processing as described above


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
About us
Applying for a job can be a stressful and frustrating experience, especially for someone who has never done it before. Considering that you are competing for the position with a at least a dozen other applicants, it is imperative that you thoroughly prepare for the job interview, in order to stand a good chance of getting hired. That's where GeekInterview can help.
Interact