Results 1 to 2 of 2

Thread: Make 1 record out of 5

  1. #1
    Geek_Guest
    Guest

    Make 1 record out of 5

    Hi,

    I am having say 5 records in a file with same key. each record has a KEY(k1), a price value(p1). there r 5 records in the file like:
    k1 p1
    k1 p2
    k1 p3
    k1 p4
    k1 p5

    can i now using SORT card, get an output file as:
    k1 p1 p2 p3 p4 p5?

    that is making one records out of the 5 records with all other values in the adjacent fields?

    Question asked by visitor Kiran


  2. #2
    Contributing Member
    Join Date
    May 2007
    Answers
    85

    Re: Make 1 record out of 5

    I'm not aware of any IBM util that will do this. You could code up an assembler program or if you have it, SAS or any of the other 3rd party products.


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