|
------------------------------to
message: 3
date: Thu, 23 Aug 2007 17:46:56 +0200
from: RMiklos@xxxxxx
subject: Re: [COBOL400-L] COBOL and PCML and OUTPUT only fields
Hello Rick,
I had the same problem as you two years ago. In that time we started
build our Front Office, which is a Java web application and we neededto
call for the specified tasks our existing COBOL objects. We have soonmanually,
found out, that the option INFOSTMF of the command CRTBNDCBL for
generating of the PCML.-interface was not enough good for our needs,
because every time we had to adapt the resulting PCML streamfile
e.g. the init= ..etc.. and it was very very time wasting. /The otherPCML
thing was that our COBOL-oobjects are something special, so the PCML
generated by CRTBNDCBL was not suitable/
Therefore I wrote a PCML-generator which generates the PCML-streamfile
from the COBOL-source.
But If you only need to add the inits to your pcml, you can generate
with the compiler and then process with a simple program the resulting
stream file replacing all
type="char" by type="char" init =" "
type="zoned" by type="zoned" init="0"
type="packed" by type="packed" init="0"
Roman
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.