Re: Greg Dyck

2024-01-31 Thread Mario Bezzi
Thanks Rob, VERY sad news. I was fascinated by his incredible knowledge and I greatly benefited from his posts and writings. He will be missed. -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to

Re: SMF record for number of program executions?

2023-11-09 Thread Mario Bezzi
If the question is how many times a module was loaded, IZSAM, and several others can answer it. If the question is how many times that [sub]program was actually invoked, IZSAM and similar can't help. As far as I know there is only one product able to do it. Having a vested interest I will

Re: Permission to redistribute LE

2023-10-21 Thread Mario Bezzi
Actually, DFHELII - The EXEC CICS interface stub is. https://www.ibm.com/docs/en/zos/2.5.0?topic=cics-link-edit-considerations-under I hope this helps, mario -- For IBM-MAIN subscribe / signoff / archive access instructions,

Re: Coupling Facility Structure Resizing

2023-06-16 Thread Mario Bezzi
Mark, if you have the opportunity to have both the old and new CFs active at the same time, you can use the SETXCF START REALLOCATE command to move structures over. The reallocate process creates the new structures large enough to contain the same number of objects as the old ones, taking into

Re: XLC version? [was: RE: XLC - Weak symbols]

2023-05-11 Thread Mario Bezzi
Wouldn't zCX address the need? Could you develop your application under Linux elsewhere and deploy it in a container with zCX? Just curious about the difference between this and your proposed LSS. Thanks! -Original Message- From: IBM Mainframe Discussion List On Behalf Of Matt

Re: thread local storage in XL C\C++

2022-12-05 Thread Mario Bezzi
In Language Environment threads run under enclaves. Each thread represents an independent instance of a routine running using enclave's resources. Memory is allocated by threads and owned by the parent enclave. It exists from when it is allocated to when it is explicitly freed or to when the

Re: Debug tool for C++ program using XL C\C++

2022-11-15 Thread Mario Bezzi
Joseph, according to the Language Environment Programming Guide, in order to distinguish runtime options from program arguments that are passed to Language Environment, the options and program arguments are separated by a slash (/).. If you are only passing LE runtime options your parm string

Re: Calculate deltas using DFSORT

2022-08-31 Thread Mario Bezzi
Sri Hari, Max, all, thank you very much from your kind help and support. I really appreciate it, and I hope to have the opportunity to reciprocate. mario -- For IBM-MAIN subscribe / signoff / archive access instructions, send

Calculate deltas using DFSORT

2022-08-30 Thread Mario Bezzi
Hello list, say I have a file with goods, dates, and available quantities, not necessarily sorted. I want to sort it and calculate daily deltas. For example using the following input : Product,Date,Availability Sugar,2022/08/01,100 Sugar,2022/08/02,97 Sugar,2022/08/03,93 I need to get to

Re: BPXBATCH Environment Variable concatenation - STDENV

2022-02-24 Thread Mario Bezzi
Bingo! Thank you very much! mario On Thu, 24 Feb 2022 09:29:55 -0600, Paul Gilmartin wrote: >> >STDENV is not a shell script as you are assuming. Try: > . . . -- For IBM-MAIN subscribe / signoff / archive access

Re: BPXBATCH Environment Variable concatenation - STDENV

2022-02-24 Thread Mario Bezzi
Thank you Richard, not sure: The command expects to retrieve the data from an environment variable.. mario On Thu, 24 Feb 2022 14:48:03 +, PINION, RICHARD W. wrote: >Would AOPBATCH help? > >//STEP010 EXEC PGM=AOPBATCH,PARM='sh' >//STDIN DD *

BPXBATCH Environment Variable concatenation - STDENV

2022-02-24 Thread Mario Bezzi
Hello list, I can't find an elegant way to pass a variable containing a long string to a USS shell command executed under BPXBATCH. Looking at what the JVMLDMxx module (JVM invocation) does I tried something like the following: //RUNTEST EXEC PGM=BPXBATCH //STDOUT DD SYSOUT=* //STDERR

Re: AMASPZAP DUMPT and program objects

2022-02-14 Thread Mario Bezzi
Thanks Colin, that's a very wise suggestion! I used the #pragma csect pragma with METAL-C but then I forgot about it, and yes, in my specific case it makes the trick. I wonder what if you need to zap a program object provided by others though, where recompiling is not an option. Thanks to

Re: AMASPZAP DUMPT and program objects

2022-02-13 Thread Mario Bezzi
on.gmu.edu/~smetz3 > > >From: IBM Mainframe Discussion List [IBM-MAIN@LISTSERV.UA.EDU] on behalf of >Mario Bezzi [subscriptions.mario.be...@gmail.com] >Sent: Saturday, February 12, 2022 12:45 PM >To: IBM-MAIN@LISTSERV.UA.EDU >Subject: AMASPZAP DUMPT and progr

Re: AMASPZAP DUMPT and program objects

2022-02-13 Thread Mario Bezzi
Thanks Steve, this is C code compiled by XL/C. I don't think DUMPT MYMODULE * C_CODE is the solution: Asterisk means the first CSECT regardless if it has text in the specified class or not. AMA168I SYSIN PROCESSING STARTED DUMPT MYMODULE * C_CODE

Re: AMASPZAP DUMPT and program objects

2022-02-13 Thread Mario Bezzi
Interesting, by the way, this is C code compiled with z/OS XL/C, so I have no control over the structure of the module. Does this mean that such code can't be managed by AMASPAZP? I know I can DUMPT ALL the CSECTS, but what about zapping the content? Thanks, mario On Sat, 12 Feb 2022

Re: AMASPZAP DUMPT and program objects

2022-02-13 Thread Mario Bezzi
Hi Ramsey, MYMODULE is the member name of the program object within the load library pointed by SYSLIB. The syntax for DUMPT is: DUMPT member [csect | ALL | * ] [class-name] That's why I specified MYMODULE for the member parameter. And yes, as far as I can see $PRIV10 is the first

AMASPZAP DUMPT and program objects

2022-02-12 Thread Mario Bezzi
Hello, I struggle dumping a single CSECT within a program object of mine, using AMASPZAP. When I compile/bind the program, the binder says: *** M O D U L E M A P ***

Re: COBOL and LE version question

2021-08-20 Thread Mario Bezzi
As far as I know all the interactions between an application program and the hosting z/OS are mediated by LE. If this is true, then the real question is if LE provides upward/downward compatibility. For the former, the answer is obviously yes. Regarding the latter, according to the LE

Re: Concatenated datasets

2021-07-18 Thread Mario Bezzi
Greg that's very interesting.. Could you please point me at the doc which explains how to get there? I have been reading the description of the CSVQUERY services, but while I see an OUTPATHNAM option, I can't find anything about the source loadlib for a regular load module. Thank you! mario

Re: Mixing C/C++ with LE-conforming IBM HLASM

2021-07-15 Thread Mario Bezzi
ow the LE diagnostic storage report shows a below-the-line heap. The library manual says it is supported for C++, which to me would seem to imply "full" support. Charles -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Mario

Re: Mixing C/C++ with LE-conforming IBM HLASM

2021-07-15 Thread Mario Bezzi
As far as I know __malloc24 is only available when running in a System programming C environment, which is an early incarnation of METAL-C and does not use LE runtime services. Maybe this is the reason? mario On 7/15/21 12:30 AM, Charles Mills wrote: Correction: you can't use malloc or new

Re: How to upload 600 files from PC to Mainframe

2021-03-24 Thread Mario Bezzi
Are they all text files? All binary? A mix of the two? Just using standard tools, on PC I would use tar to create a tarball including all the files. The tarball may then be uploaded (binary) to z/OS USS and files extracted there using PAX. PAX can manage the ascii to ebcdic conversion, but

Re: HLASM question about SQLITE3

2021-03-18 Thread Mario Bezzi
Dave, I have been working on a process to compile the standard SQLite amalgamation unchanged using IBM's XL/C compiler. It works with the latest 3.35.2 version of SQLite. If you are interested contact me offline. mario On 3/17/21 8:49 PM, Dave Jones wrote: Hi, all. I am now working with

Re: WWUNTERSE for distributed platforms (especially SMF)

2021-03-14 Thread Mario Bezzi
/21 5:13 PM, Mike Schwab wrote: How about a parameter to specify the code page conversions? Or can the output be an XMIT file so an XMIT viewer be used? On Sun, Mar 14, 2021 at 9:02 AM Mario Bezzi wrote: Andrew thank you. I agree on your point about keeping decompression and text conversion

Re: WWUNTERSE for distributed platforms (especially SMF)

2021-03-14 Thread Mario Bezzi
Andrew thank you. I agree on your point about keeping decompression and text conversion separate. The kind of full text conversion which unterse may perform only applies to text only files. Also for this limited use case, properly managing mainframe code pages is impossible as the terse

Re: Any way to anticipate failure messages

2021-02-14 Thread Mario Bezzi
Lizette, you may be interested in the Important Messages Health Check I wrote some time ago. It is made available for free by Watson and Walker. We strive to keep the list of relevant messages updated. I hope this helps, mario On 2/4/21 9:40 PM, Lizette Koehler wrote: List - As

Re: Help please - SSIBJBID aka Job Identifier

2021-02-10 Thread Mario Bezzi
Of Greg Price Sent: 10 February 2021 06:22 To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Help please - SSIBJBID aka Job Identifier EXTERNAL EMAIL On 2021-02-10 5:11 AM, Mario Bezzi wrote: > Hello, > > I am trying to get the Job Identifier for the AS I run in. > > As far

Re: Why LE taking Transaction Dump rather than CEEDUMP?

2021-01-14 Thread Mario Bezzi
If you have access to IPCS, an IP VERBX LEDATA 'ALL' command will give you a formatted dump similar to the CEEDUMP you are used to. mario On 1/13/21 5:58 PM, Seymour J Metz wrote: First, without a functioning IPCS all choices are bad. I would probably take a SYSUDUMP or SYSABEND, look at

Re: DEF(__STRING_CODESET__)?

2020-12-22 Thread Mario Bezzi
Turns out that it's a typo in the documentation. The actual environment variable name is __STRING_CODE_SET__ and its use is described in the same manual. I hope this helps, mario On 12/22/20 12:05 AM, Paul Gilmartin wrote: In any z/OS 2.4 doc I can search, I find only a single reference to

Re: Compiler options in object code?

2020-12-21 Thread Mario Bezzi
Chapter 38 of XL C/C++Programming Guide - Saved compile-time options information - describes them I hope this helps, mario On 12/21/20 3:28 AM, Greg Price wrote: On 2020-12-21 6:52 AM, Charles Mills wrote: Saved Options String Is it there? Does anyone know where the format of that string is

Re: Invalid links from IBM Granular APAR search website ?

2019-05-11 Thread Mario Bezzi
For those who may be interested, it looks like the subject issue has been fixed. Thank you IBM! mario Mario Bezzi Watson and Walker watsonwalker.com On 4/23/19 12:16 AM, Mario Bezzi wrote: On 4/22/19 5:27 PM, Alan Staller wrote: Looks like a database update timing issue. I had the same

Re: Invalid links from IBM Granular APAR search website ?

2019-04-22 Thread Mario Bezzi
e reliable, available, or functional as the tools being replaced. I also thought it was, but it has been this way at least since Thursday last week.. mario Mario Bezzi Watson and Walker watsonwalker.com -- For IBM-MAIN subscribe

Invalid links from IBM Granular APAR search website ?

2019-04-22 Thread Mario Bezzi
=isg1OA57136 OA57138 - http://www-01.ibm.com/support/docview.wss?uid=isg1OA57138 OA57117 - http://www-01.ibm.com/support/docview.wss?uid=isg1OA57117 Is anybody else experiencing the same issue, or is it just us? Thank you in advance for your help, mario Mario Bezzi Watson and Walker watsonwalker.com

Re: SYSPLEX distance

2018-01-03 Thread mario bezzi
Alan, after the redbook the team and I have been involved in many projects to distribute workloads across distance. The main issue is the secondary effect of distance, which depends on how your applications are written. In my experience this is mainly related to data access and

Re: Odd SMF 30 data within IEFACTRT

2017-11-05 Thread Mario Bezzi
Dan, starting in the middle of SMF30_US_ComprReq I see x'E2E3C5D7D3C9C2' which is 'STEPLIB', starting in SMF30_US_Def_UncomprIn I see x'E2E8E2D7D9C9D5E3', which is 'SYSPRINT'. Are you sure you are properly pointing to the zEDC section? On 11/04/2017 09:17 PM, DanD wrote: > I've been

Re: R: z10 BC LPAR Capping question

2015-02-10 Thread mario bezzi
I know I am saying something obvious, but for sake of clarity: While combining GCL and DC is perfectly fine, it might not address the original need as Defined Capacity doesn't prevent an LPAR from exceeding the defined limit if its 4 Hours Rolling Average stays below this limit. Although not