DFSORT/ICETOOL :: RE: For each given key value, how to keep up to the first n...
Author: Arun Raj Posted: Sat Nov 12, 2016 12:02 am (GMT 5.5)Rohit Umarjikar wrote:Quote:I keep the three records of the most populous cities Is there any logic to pick popular cities else you can try...
View ArticleDFSORT/ICETOOL :: RE: For each given key value, how to keep up to the first n...
Author: Rohit Umarjikar Posted: Sat Nov 12, 2016 12:14 am (GMT 5.5)Code://SYSIN DD *Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â SORT FIELDS=(1,3,CH,A,10,2,ZD,D)...
View ArticleDFSORT/ICETOOL :: RE: For each given key value, how to keep up to the first n...
Author: RahulG31 Subject: Reply to: For each given key value, how to keep up to the first n recs Posted: Sat Nov 12, 2016 12:15 am (GMT 5.5) Div Grad, If you already have the population in descending...
View ArticleDFSORT/ICETOOL :: RE: For each given key value, how to keep up to the first n...
Author: Arun Raj Posted: Sat Nov 12, 2016 12:41 am (GMT 5.5) And when you assign a sequence number, make sure it can accommodate 'more people'. Something like Code:SEQ=8 in your actual control...
View ArticleDFSORT/ICETOOL :: RE: For each given key value, how to keep up to the first n...
Author: Div Grad Posted: Sat Nov 12, 2016 2:24 am (GMT 5.5) I went with RahulG31's option and it worked like a charm! Thanks so much everyone!
View ArticleDFSORT/ICETOOL :: RE: For each given key value, how to keep up to the first n...
Author: Bill Woodger Subject: Reply to: For each given key value, how to keep up to the first n recs Posted: Sat Nov 12, 2016 2:44 am (GMT 5.5) If your data is already in order, just use a SEQNUM with...
View ArticleDFSORT/ICETOOL :: RE: For each given key value, how to keep up to the first n...
Author: Rohit Umarjikar Posted: Sat Nov 12, 2016 2:55 am (GMT 5.5)Quote:Your sequence number should be large enough for the maximum number of cities. One is probably cutting it fine, eight is a bit...
View ArticleDFSORT/ICETOOL :: RE: For each given key value, how to keep up to the first n...
Author: Bill Woodger Subject: Reply to: For each given key value, how to keep up to the first n recs Posted: Sat Nov 12, 2016 3:48 am (GMT 5.5) If a one digit sequence is used and the maximum number of...
View ArticleDFSORT/ICETOOL :: How to update a portion of text in a trailer record
Author: Trinadh Subject: How to update a portion of text in a trailer record Posted: Wed Nov 09, 2016 9:41 pm (GMT 5.5) Hi Team, I'm trying to update a portion of a trailer record and facing error. Can...
View ArticleDB2 :: RE: Updating Cursor row withour using FOR UPDATE
Author: Rohit Umarjikar Posted: Wed Nov 09, 2016 9:48 pm (GMT 5.5)Quote:Its not going in Infinite loop its giving sqlcode 100 for next fetch So you mean to say even if there is only one eligible row...
View ArticleDFSORT/ICETOOL :: TOT & DATE parameter in ICEMAN
Author: hemanthj642 Subject: TOT & DATE parameter in ICEMAN Posted: Mon Nov 14, 2016 5:19 am (GMT 5.5) Hi, Can you please help me with the below: The input file is VB My requirement is based on the...
View ArticleDFSORT/ICETOOL :: RE: TOT & DATE parameter in ICEMAN
Author: Rohit Umarjikar Posted: Mon Nov 14, 2016 8:57 am (GMT 5.5)Quote:I'm unable to get the date and also the amount is in ZD format You will have to tell clearly what the exact issue that you are...
View ArticleDFSORT/ICETOOL :: RE: TOT & DATE parameter in ICEMAN
Author: Arun Raj Posted: Mon Nov 14, 2016 8:58 am (GMT 5.5) From what you have described above, you can do this in one step and you are almost there. Does the input PD amount start at position-956? But...
View ArticleDFSORT/ICETOOL :: RE: TOT & DATE parameter in ICEMAN
Author: Bill Woodger Subject: Reply to: TOT & DATE parameter in ICEMAN Posted: Mon Nov 14, 2016 1:46 pm (GMT 5.5) hemanthj642, For your packed-decimal total, you need to "convert" the result to...
View ArticleDFSORT/ICETOOL :: RE: How to update a portion of text in a trailer record
Author: Trinadh Posted: Mon Nov 14, 2016 2:45 pm (GMT 5.5) Hi Bill, I've tried implementing OUTREC IFTHEN code and facing the errors stated below.Code:SORT FIELDS=COPY OUTFIL FILES=01,...
View ArticleDFSORT/ICETOOL :: RE: How to update a portion of text in a trailer record
Author: Bill Woodger Subject: Reply to: How to update a portion of text in a trailer record Posted: Mon Nov 14, 2016 3:34 pm (GMT 5.5) Has someone hijacked your account, or your name? I suppose if...
View ArticleDFSORT/ICETOOL :: RE: TOT & DATE parameter in ICEMAN
Author: Arun Raj Posted: Mon Nov 14, 2016 6:36 pm (GMT 5.5)Quote:The 13,2 has two decimal-digits as part of the total of 13 digitsI was thinking if it could also mean 9(13)V9(2). Then the length of 7...
View ArticleDFSORT/ICETOOL :: RE: How to update a portion of text in a trailer record
Author: Arun Raj Posted: Mon Nov 14, 2016 7:11 pm (GMT 5.5)Quote:I tried INREC IFTHEN too and facing the same error codes One of the suggestions made earlier was to have a separate INREC/OUTREC (and...
View ArticleDFSORT/ICETOOL :: RE: How to update a portion of text in a trailer record
Author: Trinadh Posted: Mon Nov 14, 2016 7:13 pm (GMT 5.5) Hi Bill, I've given the sort control cards from position 2 only. I think this is a problem with my editor, as I'm coding it here directly...
View ArticleDFSORT/ICETOOL :: RE: How to update a portion of text in a trailer record
Author: Arun Raj Posted: Mon Nov 14, 2016 7:28 pm (GMT 5.5)Quote:When I removed the OUTREC in OUTFIL FILES =02 and 03, it is working fineAre you sure, it is giving you the expected results? If it does...
View Article