Hi

 

I am learning IPCS and formating a control block using the model in IPCS.

I wrote a model using BLSQMDEF and BLSQMFLD, and compiled linkedited it.

The command CBF xxx MODEL(MODyyy) works fine. Most of fields look good and
readable.

However some fields are a double word STCK timestamp and some fields are a
double word which contains elapsed time in units of 16 microsecond. 

I'd like format it nicely in HH:MM:SS.nnnnn format. I have no problem with
formatting if it is normal batch assembler program.

Questions I have;

Is it possible to format it using the model only? I searched the archive and
found Bob Wright's response to a similar question (dated Jul 13, 2006),
however it shows how to format flags using an additional model definition. 

If I have to write an exit, does anyone have a sample which I can use? It
doesn't need to be formatting timestamp. If it shows the structure of the
exit program, I guess I can insert my codes to format the fields.
Without fully understanding the exit, I wrote the exit and invoked it using
CBF xxx FORMAT(pgmexit). But it failed with a program check. No surprise. I
just wanted to see if the exit gets invoked. Did I invoke it correctly? Can
I format only the fields I want using the exit and leave most of fields to
the model definition? Should I use CBF xxx FORMAT(pgmexit) MODEL(MODyyy) to
invoke both the exit and the model?

Please help me.

 

Thanks in advance.



Al Chu 


----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

Reply via email to