COBOL Programming :: RE: Facing xml parser exception 798761
Author: Robert Sample Posted: Sat Apr 30, 2016 7:34 pm (GMT 5.5) Could the input data set have line numbers?_________________TANSTAAFL The first rule of code reuse is that the code needs to be worth...
View ArticleCOBOL Programming :: RE: Facing xml parser exception 798761
Author: murugan_mf Posted: Sun May 01, 2016 10:26 am (GMT 5.5) The input dataset holds the below mentioned data...
View ArticleCOBOL Programming :: RE: Facing xml parser exception 798761
Author: Bill Woodger Subject: Reply to: Facing xml parser exception 798761 Posted: Sun May 01, 2016 1:06 pm (GMT 5.5) Perhaps by the time you come to parsing it, that / isn't a /? You say it works when...
View ArticleCOBOL Programming :: RE: Facing xml parser exception 798761
Author: murugan_mf Posted: Sun May 01, 2016 11:21 pm (GMT 5.5) The code works fine if the input is as below(i.e. the entire input is passed as single...
View ArticleCOBOL Programming :: RE: Facing xml parser exception 798761
Author: Robert Sample Posted: Mon May 02, 2016 2:01 am (GMT 5.5)Quote:Code: <Name><FirstName>Jack</FirstName<LastName>Nic</LastName</Name> If your data set is actually...
View ArticleCOBOL Programming :: RE: Facing xml parser exception 798761
Author: murugan_mf Posted: Mon May 02, 2016 8:50 am (GMT 5.5) Sorry, I have missed out the terminating symbol for the last name tag in the above mentioned post. It is a typo. I have used display...
View ArticleCOBOL Programming :: RE: Facing xml parser exception 798761
Author: PeterHolland Posted: Mon May 02, 2016 12:04 pm (GMT 5.5)Quote:<Name><FirstName>Jack</FirstName><LastName>Nicholson</LastName></Name> I fed that into an...
View ArticleCOBOL Programming :: RE: Facing xml parser exception 798761
Author: murugan_mf Posted: Mon May 02, 2016 12:50 pm (GMT 5.5) I have included the following line as first record in the input dataset but still facing the exceptionCode:"<?xml version="1.0"...
View ArticleCOBOL Programming :: RE: Facing xml parser exception 798761
Author: enrico-sorichetti Subject: Reply to: Facing xml parser exception 798761 Posted: Mon May 02, 2016 1:40 pm (GMT 5.5) if You get an error when You think that You are not doing anything wrong see...
View ArticleCOBOL Programming :: RE: Facing xml parser exception 798761
Author: murugan_mf Posted: Mon May 02, 2016 6:08 pm (GMT 5.5) I have used the tag </Donald> instead of</Name> but still the same exception is thrown. The Hex on value for the tag...
View ArticleCOBOL Programming :: RE: Facing xml parser exception 798761
Author: murugan_mf Posted: Mon May 02, 2016 6:21 pm (GMT 5.5) The codepage compilation parameter which I am using is CODEPAGE(1140)_________________Thanks! Murugan L
View ArticleDB2 :: insert the same records but chancing a specific value
Author: danylele74 Subject: insert the same records but chancing a specific value Posted: Mon May 02, 2016 7:22 pm (GMT 5.5) Hi all, i have this problem:Code: Table A. COl 1 ----------- yyKKK cc...
View ArticleDB2 :: RE: insert the same records but chancing a specific value
Author: Rohit Umarjikar Posted: Mon May 02, 2016 10:45 pm (GMT 5.5)Code: update table a set a.col1 = ( select replace(b.col1,'KKK','ZZZ') from table b where a.key =...
View ArticleDB2 :: RE: insert the same records but chancing a specific value
Author: danylele74 Subject: Reply to: insert the same records but chancing a specific value Posted: Mon May 02, 2016 11:57 pm (GMT 5.5) I must INSERT the new records not update the key field. Take a...
View ArticleCOBOL Programming :: RE: Facing xml parser exception 798761
Author: Rohit Umarjikar Posted: Tue May 03, 2016 12:13 am (GMT 5.5)Code:3029 XRSN_MARKUP_INVALID An incorrect character is found within markup. Action: Change the document to correct the error and...
View ArticleDB2 :: RE: insert the same records but chancing a specific value
Author: Rohit Umarjikar Posted: Tue May 03, 2016 12:32 am (GMT 5.5) look here Code: INSERT INTO table a SELECT replace(b.col1,'KKK','ZZZ') where FROM table b...
View ArticleDFSORT/ICETOOL :: Syntax to check the first 4 digits of a number.
Author: kshirabdhi Subject: Syntax to check the first 4 digits of a number. Posted: Tue May 03, 2016 12:21 pm (GMT 5.5) Hi All, I am using SORT to fetch records from a file based on a condition. Fields...
View ArticleDFSORT/ICETOOL :: RE: Syntax to check the first 4 digits of a number.
Author: enrico-sorichetti Subject: Reply to: Syntax to check the first 4 digits of a number. Posted: Tue May 03, 2016 2:25 pm (GMT 5.5) quick and dirty ( just to show the logic )Code: INCLUDE...
View ArticleDFSORT/ICETOOL :: RE: Syntax to check the first 4 digits of a number.
Author: Abid Hasan Posted: Tue May 03, 2016 3:00 pm (GMT 5.5) Hello, Have a look at Substring (operator) comparison tests of INCLUDE function in DFSORT; it should give you what you need. You can look...
View ArticleCOBOL Programming :: RE: Query on Splitting up a file
Author: abdulrafi Posted: Tue May 03, 2016 4:39 pm (GMT 5.5) Need one more help. I have the input records as below. Current input file, Code: 01 WS-VALUE2 PIC X(107) VALUE...
View Article