Page 1 of 1

moved data is not in order.

PostPosted: Mon Jul 07, 2008 3:43 pm
by supriya saraswat
i have moved unmatched records from 2 files to my output file...but the records are not in same order as it is in my input file.

file A contains record form position 1 to 20 and is of record length 20
file b contains other fields including that fileld which is present in file one but here its position is different from 20 to 39 and record length is 1396.

we have to move unmatched data from fileb to out out file

i have done it but it s not coming in ordered way.

can any one help me?

Re: moved data is not in order.

PostPosted: Mon Jul 07, 2008 8:54 pm
by Frank Yaeger
How can we possibly help you when you haven't shown us your JCL, input, output, etc? We have no idea what functions you're using or what you're actually doing/trying to do.

Show an example of the records in your input files (relevant fields only) and what you expect for output. Explain the "rules" for getting from input to output. If input file1 can have duplicates within it, show that in your example. If input file2 can have duplicates within it, show that in your example. Give the RECFM and LRECL of the input files. Give the starting position, length and format of all relevant fields.

Re: moved data is not in order.

PostPosted: Tue Jul 08, 2008 12:49 pm
by supriya saraswat
yah actually i got the answer...thanks for showing interest

Re: moved data is not in order.

PostPosted: Tue Jul 08, 2008 8:38 pm
by Frank Yaeger
Good for you.