Mainframe Interview Questions :: Mainframe Interview Questions CICS,COBOL,JCL...
Author: akshathan Subject: Mainframe Interview Questions CICS,COBOL,JCL ,DB2,IMS Posted: Thu Feb 09, 2017 6:38 pm (GMT 5.5) Hello, I was working on mainframe for quite a while and had to shift my...
View ArticleDB2 :: RE: VALIDATE NULL VALUE IN DB2 CASE STATEMENT
Author: Arun Raj Posted: Thu Feb 09, 2017 7:20 pm (GMT 5.5) Just curious, are you attempting something like this? Or maybe I am confused about the 'case' requirement and the '= NULL' issue Code:WHERE...
View ArticleDB2 :: RE: VALIDATE NULL VALUE IN DB2 CASE STATEMENT
Author: useit Subject: Reply to: VALIDATE NULL VALUE IN DB2 CASE STATEMENT Posted: Thu Feb 09, 2017 7:38 pm (GMT 5.5) no arun, i have a Terminte indicator Y or N Which would help me to fetch only...
View ArticleCOBOL Programming :: ROUNDED Problem with COMPUTE statement
Author: shalem Subject: ROUNDED Problem with COMPUTE statement Posted: Thu Feb 09, 2017 8:16 pm (GMT 5.5) Hi, can you please help me ROUNDED issue in COMPUTE statement AVERAGE-RATE PIC S9(3)V999...
View ArticleDB2 :: RE: VALIDATE NULL VALUE IN DB2 CASE STATEMENT
Author: Arun Raj Posted: Thu Feb 09, 2017 8:33 pm (GMT 5.5) I was assuming the 'terminate indicator' to be a table column name based on your initial post. But from your recent post above, looks like...
View ArticleCOBOL Programming :: RE: ROUNDED Problem with COMPUTE statement
Author: Terry Heinze Subject: Reply to: ROUNDED Problem with COMPUTE statement Posted: Thu Feb 09, 2017 8:36 pm (GMT 5.5) COBOL does not carry the precision of intermediate results that you might...
View ArticleCOBOL Programming :: RE: ROUNDED Problem with COMPUTE statement
Author: Terry Heinze Posted: Thu Feb 09, 2017 8:54 pm (GMT 5.5) Also, what is TOP VALUE and BOTTOM VALUE? Do you mean the Intrinsic functions MAX and MIN?_________________.... Terry
View ArticleCOBOL Programming :: RE: ROUNDED Problem with COMPUTE statement
Author: Robert Sample Posted: Thu Feb 09, 2017 8:57 pm (GMT 5.5) First of all, your post is inconsistent -- if AVERAGE-RATE is defined PIC S9(3)V999 then there is NO WAY it will ever have a value of...
View ArticleCOBOL Programming :: RE: ROUNDED Problem with COMPUTE statement
Author: shalem Subject: ROUNDED Problem with COMPUTE statement Posted: Thu Feb 09, 2017 9:01 pm (GMT 5.5) Thanks for quick reply. Both Top and Bottom values are defined IN ARRAY TOP-VALUE PIC S9(14)V99...
View ArticleCOBOL Programming :: RE: ROUNDED Problem with COMPUTE statement
Author: Robert Sample Posted: Thu Feb 09, 2017 9:10 pm (GMT 5.5) Have you considered making TOP-VALUE and BOTTOM-VALUE V999 instead of V99 and see if that makes a difference? As Terry indicated, the...
View ArticleCOBOL Programming :: RE: ROUNDED Problem with COMPUTE statement
Author: Bill Woodger Subject: Reply to: ROUNDED Problem with COMPUTE statement Posted: Thu Feb 09, 2017 9:12 pm (GMT 5.5) You must multiply first, divide last. Your final action is to multiply by 100....
View ArticleCOBOL Programming :: RE: ROUNDED Problem with COMPUTE statement
Author: Terry Heinze Posted: Thu Feb 09, 2017 9:13 pm (GMT 5.5) My mistake. I didn't realize you had a 3-dimensional table. Have you read thoroughly the Appendix I mentioned? I'd break the COMPUTE...
View ArticleCOBOL Programming :: RE: ROUNDED Problem with COMPUTE statement
Author: shalem Subject: ROUNDED Problem with COMPUTE statement Posted: Thu Feb 09, 2017 9:17 pm (GMT 5.5) Thanks Terry , I will try with Break COMPUTE into individual DIVIDEs and MULTIPLYs.
View ArticleDB2 :: RE: VALIDATE NULL VALUE IN DB2 CASE STATEMENT
Author: useit Posted: Thu Feb 09, 2017 9:24 pm (GMT 5.5) thanks arun, it worked for me. sorry i did not get this idea.... i was just trying with case statement. thanks again Regards, Prahlad Shetty
View ArticleCOBOL Programming :: RE: ROUNDED Problem with COMPUTE statement
Author: Terry Heinze Posted: Thu Feb 09, 2017 9:36 pm (GMT 5.5) Hint: When I calculate a percentage, I use the following:Code:05 ws-size pic s999 comp-3. 05 ws-max pic s999 comp-3. 05 ws-part...
View ArticleDB2 :: RE: VALIDATE NULL VALUE IN DB2 CASE STATEMENT
Author: Arun Raj Posted: Thu Feb 09, 2017 9:57 pm (GMT 5.5) No worries, You're welcome!_________________Arun...
View ArticleCLIST & REXX :: RE: REXX compiled via RXTCOMP
Author: Pedro Subject: Reply to: REXX compiled via RXTCOMP Posted: Thu Feb 09, 2017 10:27 pm (GMT 5.5) repeating:Quote:remember that you still need to provide a TSO environment. That is, not sure you...
View ArticleCOBOL Programming :: RE: ROUNDED Problem with COMPUTE statement
Author: Bill Woodger Subject: Reply to: ROUNDED Problem with COMPUTE statement Posted: Thu Feb 09, 2017 10:27 pm (GMT 5.5) Terry, you have two surplus decimal places (surplus to your final result)....
View ArticleDFSORT/ICETOOL :: RE: Performing arithmetic on input field
Author: zh_lad Posted: Thu Feb 09, 2017 10:49 pm (GMT 5.5) Thanks Arun. Looks brilliant. I am getting slightly incorrect result with this code.Code://SORTIN DD *...
View ArticleCOBOL Programming :: RE: ROUNDED Problem with COMPUTE statement
Author: shalem Subject: Reply to: ROUNDED Problem with COMPUTE statement Posted: Thu Feb 09, 2017 11:10 pm (GMT 5.5) Thanks guys for your timely help. I got right value 3.0 by following your procedure....
View Article