xml generate and validation in cobol.

Other Mainframe related questions which attracts you and there is no suitable Forum you find for it and related FAQs.
Post Reply
Piggy Chop
Registered Member
Posts: 12
Joined: Sat Feb 08, 2014 1:58 pm

xml generate and validation in cobol.

Post by Piggy Chop »

Hi,

We've planned to go with XML Schema and make use of VALIDATING clause in XML PARSE as below:

Code: Select all

XML PARSE xmldoc
VALIDATING WITH mySchema-id
PROCESSING PROCEDURE p1
END-XML
But one of the client said that we could use VALIDATING WITH clause with XML GENERATE too. But I donot find any references of using VALIDATING WITH clause with XML GENERATE. VALIDATING WITH clause has been used with only XML PARSE. Can someone please advise on this?
nicc
Global Moderator
Global Moderator
Posts: 691
Joined: Wed Apr 23, 2014 8:45 pm

Re: xml generate and validation in cobol.

Post by nicc »

Read the IBM COBOL Language Reference for the level of COBOL that you are using (assuming that you are using IBM COBOL). I checked the 5.1 version which was the latest that was returned on my search - and guess what?
Regards
Nic
Piggy Chop
Registered Member
Posts: 12
Joined: Sat Feb 08, 2014 1:58 pm

Re: xml generate and validation in cobol.

Post by Piggy Chop »

We are on enterprise cobol 4.2 and in the manual for it i dont see XML GENERATION with VALIDATION...what should i guess now?
enrico-sorichetti
Global Moderator
Global Moderator
Posts: 826
Joined: Wed Sep 11, 2013 3:57 pm

Re: xml generate and validation in cobol.

Post by enrico-sorichetti »

what should i guess now?
what anybody with a norma IQ would :mrgreen:
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort 8-)
Post Reply

Create an account or sign in to join the discussion

You need to be a member in order to post a reply

Create an account

Not a member? register to join our community
Members can start their own topics & subscribe to topics
It’s free and only takes a minute

Register

Sign in

Return to “Other Mainframe Topics, Off-Topics, FAQs.”