Joined: 14 May 2007 Posts: 4 Location: Chennai, India
Hi
The input file would be having account numbers and we need to randamize the accounts from the input file, i.e, the 1st account from the input file should be written into 1st file, 2nd account should be written into 2nd file...and so on till 10th account no....and 11th account should in 1st file and 12th account in 2nd file..so on.
The input will be record length of 4000 and the file would be like :
The account number A00000001details would consists of AAAA,BBBB,CCCC and so on till FFFF. So all records of acc no A00000001 should be written into 1st file, all records of A00000002 written to 2 nd file and so on..
Can we do this using a SYNCSORT?
Kindly anybody can help us in giving the format for the above requirement in sort cards.
Joined: 14 May 2007 Posts: 4 Location: Chennai, India
Hi Parag,
Thanks for your response.
The i/p file is in the below format. We want the o/p should be all the records of A00000001 to Ist file. Then all records of A00000002 in 2nd file. Similarly 10 accts need to spiltted to 10 o/p files. Then 11th acct should be in 1st file, 12th acct in 2nd file and so on..
I beleive your cntlcard does not satisfy the conditions. Pls advise.