DFSORT/ICETOOL :: RE: Performing arithmetic on input field
Author: zh_lad Subject: Re: Reply to: Performing arithmetic on input field Posted: Wed Dec 07, 2016 10:18 pm (GMT 5.5) Thanks Bill. 1. I learnt it later when I read about Mask. 2. I am aware of use of...
View ArticleDFSORT/ICETOOL :: RE: Performing arithmetic on input field
Author: Arun Raj Posted: Wed Dec 07, 2016 10:25 pm (GMT 5.5)Quote:Thanks Rohit, it workedBut I am afraid that is not what you were trying to achieve. Like Bill mentioned above, you can have multiple...
View ArticleDFSORT/ICETOOL :: RE: Performing arithmetic on input field
Author: zh_lad Posted: Wed Dec 07, 2016 10:37 pm (GMT 5.5) Thanks Arun. Yes, I need to edit my original post to:Code:1+8 + 8 + 1+4 + 6 + 1+0 + 4 + 6 + 1 = 40 * 9 = 360 I want to sum the digits of all...
View ArticleDFSORT/ICETOOL :: RE: Performing arithmetic on input field
Author: Arun Raj Posted: Wed Dec 07, 2016 11:08 pm (GMT 5.5)Quote:Code:987654321 My Input recordCode:9 (2) + 8 + 7(2) + 6 + 5(2) + 4 + 3(2) + 1Â Â Multiplying every alternate digit with 2, starting from...
View ArticleDFSORT/ICETOOL :: RE: Performing arithmetic on input field
Author: zh_lad Subject: Reply to: Performing arithmetic on input field Posted: Wed Dec 07, 2016 11:22 pm (GMT 5.5) Thanks Arun. Please check my previous post where I said I need to add up all the...
View ArticleDFSORT/ICETOOL :: RE: Performing arithmetic on input field
Author: Bill Woodger Subject: Reply to: Performing arithmetic on input field Posted: Thu Dec 08, 2016 12:29 am (GMT 5.5) IFTHEN=(WHEN=INIT for an OVERLAY to give you the several multiply-by-two results...
View ArticleDFSORT/ICETOOL :: RE: Performing arithmetic on input field
Author: zh_lad Posted: Thu Dec 08, 2016 4:21 am (GMT 5.5) Thanks Bill. I will apply these suggestions. I was about to fix missing '2' but it was locked. Cheers
View ArticleDFSORT/ICETOOL :: RE: Performing arithmetic on input field
Author: Bill Woodger Subject: Reply to: Performing arithmetic on input field Posted: Thu Dec 08, 2016 4:24 am (GMT 5.5) No-one locked anything, and that last comment wasn't mine :-) Posts can only be...
View ArticleDFSORT/ICETOOL :: RE: Performing arithmetic on input field
Author: zh_lad Subject: Re: Reply to: Performing arithmetic on input field Posted: Thu Dec 08, 2016 7:46 pm (GMT 5.5) Hi Bill, How will I deal with space when result of multiplication is only 1...
View ArticleDFSORT/ICETOOL :: RE: Performing arithmetic on input field
Author: Arun Raj Posted: Thu Dec 08, 2016 7:55 pm (GMT 5.5)zh_lad wrote:How will I ignore space to pick up digits to sum in OUTREC (second IFTHEN).This is already suggested above. Keep the results in...
View ArticleDFSORT/ICETOOL :: RE: Performing arithmetic on input field
Author: zh_lad Posted: Thu Dec 08, 2016 8:58 pm (GMT 5.5) My input:Code:518791041070069 I read more about having multiple IFTHEN and improved code to:Code:OPTION COPY...
View ArticleDFSORT/ICETOOL :: RE: Performing arithmetic on input field
Author: Arun Raj Posted: Thu Dec 08, 2016 10:07 pm (GMT 5.5) I think you got confused. Forget the FINDREP suggestion. You don't need FINDREP. I will repeat what was suggested already if that makes any...
View ArticleDFSORT/ICETOOL :: RE: Performing arithmetic on input field
Author: Bill Woodger Subject: Reply to: Performing arithmetic on input field Posted: Thu Dec 08, 2016 10:40 pm (GMT 5.5)zh_lad wrote:I was amazed to know every IFTHEN picks up amendments done by...
View ArticleDFSORT/ICETOOL :: Removing Duplicates based on certain value of the records
Author: chandracdac Subject: Removing Duplicates based on certain value of the records Posted: Fri Dec 09, 2016 4:40 am (GMT 5.5) Hi All, i want to apply my eliminate duplicate logic(sum fields=None or...
View ArticleDFSORT/ICETOOL :: RE: Removing Duplicates based on certain value of the records
Author: Bill Woodger Subject: Reply to: Removing Duplicates based on certain value of the records Posted: Fri Dec 09, 2016 5:14 am (GMT 5.5) Can "a1" appear with other keys as well? If so, do you want...
View ArticleDFSORT/ICETOOL :: Unwrap the data based on delimiter X'25'
Author: bhavana yalavarthi Subject: Unwrap the data based on delimiter X'25' Posted: Fri Dec 09, 2016 10:25 am (GMT 5.5) I have a input data like,ISA*00* *00* *01*078769021 *16*054481205CPIC *16...
View ArticleDFSORT/ICETOOL :: RE: Unwrap the data based on delimiter X'25'
Author: Arun Raj Posted: Fri Dec 09, 2016 11:32 am (GMT 5.5) Hello, Welcome to the forums! The input data posted above is not so clear (at least to me). Are these different records? Can you show what...
View ArticleDFSORT/ICETOOL :: RE: Unwrap the data based on delimiter X'25'
Author: bhavana yalavarthi Posted: Fri Dec 09, 2016 1:47 pm (GMT 5.5) Yes,they are of different records.Iam dealing with both FB and VB files.So can you plz help me with the code that will work for...
View ArticleDFSORT/ICETOOL :: RE: Unwrap the data based on delimiter X'25'
Author: bhavana yalavarthi Posted: Fri Dec 09, 2016 2:56 pm (GMT 5.5) Can you please provide me the solution atleast for FB files as of now.I await your response._________________Y.Bhavana
View ArticleDFSORT/ICETOOL :: RE: Unwrap the data based on delimiter X'25'
Author: Arun Raj Posted: Fri Dec 09, 2016 3:29 pm (GMT 5.5) Before we get into the code, I am not sure if this is the right tool to deal with your problem. Was this data sent to mainframe from some...
View Article