Right. In Sublime Text I delete the newline chars that appear to get 
added. Then my PHP thinks this is valid XML.

I do note two things:

 As was said by Scott, one can't count on this format.
Getting it back into valid 80-byte might be tough. (The round trip through 
valid XML is necessary if a global search and replace is wanted.)

And boy would I love a spelling corrector and consistency creator for WLM 
policies. This stuff shows up in RMF and hence in titles of some of my 
graphs. :-)

Cheers, Martin

Martin Packer

zChampion, Systems Investigator & Performance Troubleshooter, IBM

+44-7802-245-584

email: martin_pac...@uk.ibm.com

Twitter / Facebook IDs: MartinPacker

Blog: 
https://www.ibm.com/developerworks/mydeveloperworks/blogs/MartinPacker

Podcast Series (With Marna Walle): https://developer.ibm.com/tv/mpt/    or 
  
https://itunes.apple.com/gb/podcast/mainframe-performance-topics/id1127943573?mt=2


Youtube channel: https://www.youtube.com/channel/UCu_65HaYgksbF6Q8SQ4oOvA



From:   "Horne, Jim - James S" <jim.s.ho...@lowes.com>
To:     IBM-MAIN@LISTSERV.UA.EDU
Date:   17/09/2019 11:59
Subject:        Re: [EXTERNAL] Re: Can you update WLM via a batch program?
Sent by:        IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU>



Martin,

The policy is indeed in XML, FB 80 with a block size of 27920 (not that 
block size should matter).  Looking at the raw data, it looks to continue 
to the next line at 80 bites so I believe there are no carriage returns or 
line feeds anywhere - but I don't know XML, and I need to not just parse 
it out, but parse it back in to make it available to the ISPF app (and the 
couple data set) again.

Any pointers you can share are appreciated,

Jim Horne
Mainframe Services
jim.s.ho...@lowes.com

-----Original Message-----
From: IBM Mainframe Discussion List <IBM-MAIN@LISTSERV.UA.EDU> On Behalf 
Of Martin Packer
Sent: Tuesday, September 17, 2019 6:00 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: [EXTERNAL] Re: Can you update WLM via a batch program?

*EXTERNAL SENDER*


XML perchance?

If so there’s a lot one could do with that... :-)

... If the plane I was about to get on didn’t see me with my elbows (and
knees) up round my ears I’d rustle up a proof of concept. :-)

Cheers, Martin

Sent from my iPad

> On 17 Sep 2019, at 08:57, Sean Gleann <sean.gle...@gmail.com> wrote:
>
> Correction - the input is *probably* not ISPF tables (having
cross-checked
> with other ISPTLIBs that I have available).
> Nevertheless, they are 'encoded' - not straight text...
>
> Sean
>
>> On Tue, 17 Sep 2019 at 08:06, Sean Gleann <sean.gle...@gmail.com> 
wrote:
>>
>> Having been in the same position as Jim, I asked practically the same
>> question here, a couple of years back.
>> Then, the basic answer was 'No', so I was highly pleased to see that
some
>> sort of progress had been made on this.
>> I should have known better.
>> IWMINSTL is a great starting point, but it's input is a series of
>> ISPF
(?)
>> tables.
>> How do you create those from scratch in the first place?
>>
>> Sean
>>
>>> On Mon, 16 Sep 2019 at 23:39, Salva Carrasco <scarra...@unicaja.es>
wrote:
>>>
>>> Check IWMINSTL at SYS1.SAMPLIB.
>>>
>>> --------------------------------------------------------------------
>>> -- For IBM-MAIN subscribe / signoff / archive access instructions,
>>> send email to lists...@listserv.ua.edu with the message: INFO
>>> IBM-MAIN
>>>
>>
>
> ----------------------------------------------------------------------
> For IBM-MAIN subscribe / signoff / archive access instructions,  send
>email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
>Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 
741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions, send email 
to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
________________________________
NOTICE: All information in and attached to the e-mails below may be 
proprietary, confidential, privileged and otherwise protected from 
improper or erroneous disclosure. If you are not the sender's intended 
recipient, you are not authorized to intercept, read, print, retain, copy, 
forward, or disseminate this message. If you have erroneously received 
this communication, please notify the sender immediately by phone 
(704-758-1000) or by e-mail and destroy all copies of this message 
electronic, paper, or otherwise. By transmitting documents via this email: 
Users, Customers, Suppliers and Vendors collectively acknowledge and agree 
the transmittal of information via email is voluntary, is offered as a 
convenience, and is not a secured method of communication; Not to transmit 
any payment information E.G. credit card, debit card, checking account, 
wire transfer information, passwords, or sensitive and personal 
information E.G. Driver's license, DOB, social security, or any other 
information the user wishes to remain confidential; To transmit only 
non-confidential information such as plans, pictures and drawings and to 
assume all risk and liability for and indemnify Lowe's from any claims, 
losses or damages that may arise from the transmittal of documents or 
including non-confidential information in the body of an email 
transmittal. Thank you.

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN



Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 
741598. 
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Reply via email to