I looked at JZOS.
The only jzos samples I have is for 32 bit addressing - I cannot find 64 bit 
samples to use with 64 bit java.
IBM gives you a run-around. They  point to a non-existent or useless link in 
the java jzos readme file and there are no 64 bit samples.
Where are the new JZOS samples if they exist?

-----Original Message-----
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Ray Pearce
Sent: Friday, February 09, 2018 9:18 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Silly C problem adding hex 6C

Have you looked at the JZOS Toolkit? It makes this easy.

String jobName = ZUtil.getCurrentJobname();
WtoMessage msg = new WtoMessage(jobName);
MvsConsole.wto(msg);

Regards

Ray


-----Original Message-----
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Barkow, Eileen
Sent: 09 February 2018 14:00
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Silly C problem adding hex 6C

Actually I do not like C or C++ very much - I am just including some c routines 
in a java program I am writing because there are a lot of things that cannot be 
done in Java, or least I do not know how to do them. But I know java little 
better than I know c/c++. In this case, I am using the C console2 routine and 
Want to output the running jobname to the system console.

I used cout to print the jobname because I could not get get it to print 
correctly with printf.
I see that you added code to 0 out the last byte of jobname - that must have 
fixed the formatting.


--
This e-mail message has been scanned and cleared by Google Message Security
and the UNICOM Global security systems. This message is for the named
person's use only. If you receive this message in error, please delete it
and notify the sender.

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


________________________________

This e-mail, including any attachments, may be confidential, privileged or 
otherwise legally protected. It is intended only for the addressee. If you 
received this e-mail in error or from someone who was not authorized to send it 
to you, do not disseminate, copy or otherwise use this e-mail or its 
attachments. Please notify the sender immediately by reply e-mail and delete 
the e-mail from your system.

----------------------------------------------------------------------
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