Donald Russell wrote:
I don't want to write the whole thing in C, and use the occasional assembler
macro, I have an assembler program and want to use sprintf to create a string
of text with various substitutions in it.
Shout if you want assembler sample to print out a register for example.
From: Donald Russell russell@gmail.com
To: IBM-MAIN@LISTSERV.UA.EDU
Sent: Friday, March 14, 2014 1:51 AM
Subject: Re: building text messages with substitutions
I've been looking for doc on how to do this It seems I need to call
__cinit to set up a C
Donald:
Metal C has a lot of nice goodies, but there are some restrictions. Its more or
less depends on what you are doing or wanting to do or accomplish..
Regards,
Scott
www.identityforge.com
From: Donald Russell
Sent: Thursday, March 13, 2014 2:53 PM
To: IBM Mainframe
I use a macro named FORMAT for this function. It works great.
FORMAT ('SCANSMF: ',,),(TCNT,P,'ZZZ,ZZZ,ZZZ'),
(' TYPE 80 RECORDS SCANNED.',,),TO=MSG,WKA=WKA
WTO TEXT=MSG
TCNT DCPL5'0'
WKA DSD
MSG
On 14 March 2014 01:51, Donald Russell russell@gmail.com wrote:
I've been looking for doc on how to do this It seems I need to call
__cinit to set up a C environment, then I can call sprintf and finally
__cterm to terminate the C environment
I'm not sure, but the way I read it
Sorry, I forgot to add a subject line :-(
On Thu, Mar 13, 2014 at 8:04 AM, Donald Russell russell@gmail.comwrote:
zOS 1.2 (upgrading to 2.1 in the next few months)
I've been using WTO ROUTCDE=11 to display various message in the job log
of assembler language batch applications
In
cacdkjfq63o8j8dvw0+-bzftnhvuffom75rtbk_tbbk7wrua...@mail.gmail.com,
on 03/13/2014
at 08:08 AM, Donald Russell russell@gmail.com said:
I would like to display a message like:
Records read: Items found: Hit rate: zzz%
Where the value for x,y and z come from registers or
On 13 March 2014 11:08, Donald Russell russell@gmail.com wrote:
I've been using WTO ROUTCDE=11 to display various message in the job log
of assembler language batch applications that's great/easy for fixed
text messages.
VM/CMS has the APPLMSG macro which makes it ridiculously simple
On Thu, Mar 13, 2014 at 12:58 PM, Tony Harminc t...@harminc.net wrote:
On 13 March 2014 11:08, Donald Russell russell@gmail.com wrote:
I've been using WTO ROUTCDE=11 to display various message in the job log
of assembler language batch applications that's great/easy for fixed
text
Tony,
That's a great idea inline could be done too, right ? Everything including
parms and substitution code right in the same program, just an idea
Scott ford
www.identityforge.com
from my IPAD
On Mar 13, 2014, at 1:58 PM, Tony Harminc t...@harminc.net wrote:
On 13 March 2014 11:08,
On 13 March 2014 14:01, John McKown john.archie.mck...@gmail.com wrote:
Wish I had thought of using the Metal C version of sprintf(). I actually
ended up figuring out how to write a number of z/OS UNIX commands using LE
enabled assembler so that I could use things such as sprintf() or
Holly Smokes! Metal C looks perfect THANKS! :-) I just need sprintf
features
Donald Russell
On Thu, Mar 13, 2014 at 11:32 AM, Tony Harminc t...@harminc.net wrote:
On 13 March 2014 14:01, John McKown john.archie.mck...@gmail.com wrote:
Wish I had thought of using the Metal C version
On 13 March 2014 14:53, Donald Russell russell@gmail.com wrote:
Holly Smokes! Metal C looks perfect THANKS! :-) I just need sprintf
features
Please keep us posted with your results. I haven't actually tried it,
but I've thought about it a few times - enough to look at the calling
: building text messages with substitutions
Holly Smokes! Metal C looks perfect THANKS! :-) I just need sprintf
features
Donald Russell
On Thu, Mar 13, 2014 at 11:32 AM, Tony Harminc t...@harminc.net wrote:
On 13 March 2014 14:01, John McKown john.archie.mck...@gmail.com wrote:
Wish I
I've been looking for doc on how to do this It seems I need to call
__cinit to set up a C environment, then I can call sprintf and finally
__cterm to terminate the C environment
Sounds simple enough but I can't find what the parameter list looks like
for those calls... Do I actually
15 matches
Mail list logo