Re: Assembler question

2017-04-07 Thread Sam Siegel
OPEN for UPDAT might require the GET LOCATE instead of GET MOVE. Try OPEN for INPUT and see if work area is populated. On Fri, Apr 7, 2017 at 4:09 PM, Tony Thigpen wrote: > I am helping on an assembler program that is accessing a sequential file in > move mode, yet the move is

Re: Need help understanding use of CEEPIPI from non-LE assembler main programs

2017-03-17 Thread Sam Siegel
There are two tables which contain the programs: 1) The PreInit table coded with CEEXPIT, CEEXPITY and CEEXPITS macros; 2) The table maintained by LE. During the LE initialization process, a table is constructed in storage controlled by LE. The information in the PreInit table is copied over.

Re: 31 vs 24 QSAM

2017-02-15 Thread Sam Siegel
Are you sure it is not just cache? were the tests run multiple times and averaged? was the load on the system and dasd sub-system similar for each test? On Wed, Feb 15, 2017 at 12:19 PM, Joseph Reichman wrote: > Hi > > And thank you all > > I just did a benchmark > > And

Re: Addressing Question

2016-12-21 Thread Sam Siegel
> > CBL NOC(E),FLAG(W),DATA(31),NODYN,RES,RENT,MAP,SSR > CBL NOZWB,NUM,NOTERM,NOVBREF,X,APOST,LIB,LIST > > Regards, > Scott > > > On Wed, Dec 21, 2016 at 6:38 PM, Sam Siegel <s...@pscsi.net> wrote: > > > Scott - Is any data passed via li

Re: Addressing Question

2016-12-21 Thread Sam Siegel
called are self-contained..they > execute perform data extract functions , close the file and return > > Scott > > On Wednesday, December 21, 2016, Sam Siegel <s...@pscsi.net> wrote: > >> I think that the AMODE(24) is of more concern. Depending on how they >>

Re: Addressing Question

2016-12-21 Thread Sam Siegel
I think that the AMODE(24) is of more concern. Depending on how they are invoked and/or how the entry/exit logic works, they may only be using 24-bit addresses. This would be a problem if a buffer was passed to them with a valid 31-bit address. On Wed, Dec 21, 2016 at 2:15 PM, scott Ford

Re: ABO Automatic Binary Optimizer

2016-10-13 Thread Sam Siegel
Peter - Well said. Sam On Thu, Oct 13, 2016 at 1:01 PM, Farley, Peter x23353 < peter.far...@broadridge.com> wrote: > Bill, > > You do not comprehend the depth of the fear of failure in large, audited > business organizations. > > Also the "verification" you propose that we use for ABO output

Re: How force dataset non-SMS?

2016-04-05 Thread Sam Siegel
Use the following JCL and Assembler program to force a multi-volume dataset under SMS control. //DV55686X JOB ABC,'J: A11J', // CLASS=A, // MSGCLASS=9, // NOTIFY= //* //JSDELEXEC PGM=IEFBR14 //DS010DD DSN=TEST.ABC.A11.MULTIVOL, //

Re: COBOL Rookie Problem

2016-04-01 Thread Sam Siegel
Thanks for sending this out. We will be looking at ABO soon. I'll be very interested to see your ABO results. Sam On Fri, Apr 1, 2016 at 5:09 PM, Jesse 1 Robinson wrote: > An update for anyone who cares. My motivation was to get a preview of how > real application

Re: COBOL Rookie Problem

2016-03-31 Thread Sam Siegel
change linkage section as follows: LINKAGE SECTION . 01 ls-parm. 05 ls-length pic s9(4) comp. 05 iterate PIC 9(5) . jcl parm has half word length. value will be 0 to 100, depending on the amount of data put on teh PARM= Sam On Thu, Mar 31, 2016 at 4:38 PM,

Re: SRB Mode and C functions

2016-01-22 Thread Sam Siegel
Look in the XL C/C++ run time library reference in appendix B Function Support Table. It provides a comprehensive list of functions which can be used under an SRB. Sam On Fri, Jan 22, 2016 at 2:43 PM, Janet Graff < 004dc9e91b6d-dmarc-requ...@listserv.ua.edu> wrote: > We recently found that

Re: slight reprieve on the z.

2015-12-18 Thread Sam Siegel
it is all about the agenda they are driving. Or the agenda of the subordinate preparing the talking points. On Fri, Dec 18, 2015 at 9:06 AM, Walter Davies wrote: > Our board of supervisors like to say the mainframe is running on DOS. One > is an ex intel management

Re: GETDSAB

2015-11-27 Thread Sam Siegel
Scott. Look at the DEVTYPE macro also to determine if a DD is present or absent from the JCL On Nov 27, 2015 9:15 AM, "Scott Ford" wrote: > All, > > I am i right in thinking that if I issue a > >MVCMYDDN,=CL8'AUDIT' >GETDSAB

Re: SRB And Enclave SRB

2015-11-05 Thread Sam Siegel
KEY 0 is not required by an SRB. See IEAMSCHD documentation. Supervisor state is required. On Thu, Nov 5, 2015 at 3:48 PM, michelbutz wrote: > I would think what flavor SRB is always key 0 > Supervisor state > > Sent from my iPhone > > > On Nov 5, 2015, at 6:45 PM,

Re: SRB And Enclave SRB

2015-11-04 Thread Sam Siegel
Authorized assembler services guide chapter 9. SA22-7608 wlm: programing workload management services : SA22-7619 IWMECRE and IWM4ECRE essentially, an enclave srb is associated with a work load management enclave. On Wed, Nov 4, 2015 at 10:39 AM, michelbutz wrote: >

Re: IEAVAPE2/IEAVPSE2 another address space

2015-10-16 Thread Sam Siegel
It works like POST and WAIT. The task to be suspended must call the pause service with a valid Pause Element. On Fri, Oct 16, 2015 at 8:17 AM, michelbutz wrote: > > Yes I'm using 2.1 > > Waiting for the likes of Pete Relson to chime in > > Thanks so much > > Sent from

Re: Writing support for DD SUBSYS= (got it, thanks!)

2015-10-10 Thread Sam Siegel
Hi - I tried looking on bitsavers for this, but cannot find it. I'm wondering if you had the chance to upload it yet? Thanks, Sam On Mon, Oct 5, 2015 at 8:17 AM, David Cole wrote: > Will do but I won't be back to the office until tomorrow > > Sent from my cell phone . Pease

Re: LE Condition Handler

2015-08-27 Thread Sam Siegel
On Thu, Aug 27, 2015 at 6:02 AM, Scott Ford idfzos...@gmail.com wrote: All: I need a sanity check on a design I am wanting to do. We have a Cobol STC running with a Assembler Operator Interface, single thread. I understand I could redo in Assembler and multi-task, redo in C or C++ and

Re: Emperor (Was Calendars ... and Leap ... etc.)

2015-08-13 Thread Sam Siegel
What a wonderful quote. On Thu, Aug 13, 2015 at 8:49 AM, Charles Mills charl...@mcn.org wrote: If you wish to make an apple pie from scratch, you must first invent the universe. -- Carl Sagan Charles -Original Message- From: IBM Mainframe Discussion List

Re: Exporting Excel to Dataset

2015-08-03 Thread Sam Siegel
Several years ago, I developed an API which allows COBOL, ASM, etc. to read and write native excel files. To read, the unmodified Excel files is binary uploaded to sequential file or PDS member. JCL allocates sequential file or PDS member via JCL. COBOL program accesses sequential file or PDS

Re: Abend-Aid questions

2015-07-08 Thread Sam Siegel
Here are some abend-aid ddnames and their purpose. //ABENDAID DD SYSOUT=AAlternate DD for Abend-AID output (Note: A SYSUDUMP/SYSABEND DD is still required to invoke Abend-AID. Users of SYSMDUMP must

Re: S0C4 At Entry to SRB routine

2015-06-22 Thread Sam Siegel
I'm not sure if this is the cause of the error or not. But it appears that the SRB is being copied to CSA, instead of being LOADed to CSA. This might negatively impact addresses or adcons which were resolved prior to being copied to CSA. On Mon, Jun 22, 2015 at 3:36 PM, michealbutz

Re: Outsourcing Experiences

2015-04-22 Thread Sam Siegel
Joel - Well said. On Wed, Apr 22, 2015 at 7:36 AM, Joel Ewing jcew...@acm.org wrote: I would second the sentiment that it would not be a wise move to outsource IT when that is a part of the core business. With web presence being such a key component of customer service these days, I would

Re: Standard IBM Enterprise COBOL Service to convert ASCII to EBCDIC

2015-04-13 Thread Sam Siegel
Agreed. There are good and bad on both sides of that line. On Mon, Apr 13, 2015 at 10:06 AM, Graham Hobbs gho...@cdpwise.net wrote: Seconded. All the business systems in the world seem to work just fine so they must have been written by systems programmers:-D On 2015-04-13 9:21 AM, Farley,

Re: A New Performance Model ?

2015-04-05 Thread Sam Siegel
On Sun, Apr 5, 2015 at 7:28 PM, Timothy Sipples sipp...@sg.ibm.com wrote: Our development management are telling is (Systems Operations) that it is cheaper to Upgrade the mainfame than to have the application programmers review their code for performance oppurtunities. I'm disappointed in

Re: RDJFCB

2015-03-19 Thread Sam Siegel
On Thu, Mar 19, 2015 at 2:43 PM, Charles Mills charl...@mcn.org wrote: Neither RDJFCB nor SVC 99 Info Retrieval is perfectly simple but both are very workable. RCJFCB works just like an OPEN except instead of actually opening the DCB, it uses an entry in the open exit list to point to an

Re: RDJFCB

2015-03-19 Thread Sam Siegel
You might want to consider doing an SVC99 query by DDNAME to get the related dataset name. You can invoke SVC99 from a C program using the C-runtime or directly via assembler. Or if you read between the lines enough, you can the c-runtime svc99 function directly from cobol with text units built

Re: Knowledgecentre versus the library server

2015-03-11 Thread Sam Siegel
I'm with you Scott ... I like to have the pdf on local disk. On Wed, Mar 11, 2015 at 7:24 AM, Scott Ford idfzos...@gmail.com wrote: I would rather download the PDFs,I'm think personally, it's easier more me. On Wednesday, March 11, 2015, Staller, Allan allan.stal...@kbmg.com wrote: The

Re: LE Question

2015-03-09 Thread Sam Siegel
Scott - You will need to pass the address of the heap variable back to COBOL. Then use set address of to associate the address with a COBOL linkage section entry. You may also need to take into consideration how LE clean's up the heap. Depending on which heap the variable is created in, the life

Re: LE Question

2015-03-09 Thread Sam Siegel
How much data? 10meg? 100meg? 1gig? On Mar 9, 2015 2:06 PM, Scott Ford idfzos...@gmail.com wrote: Guys: I will have to read and try ..my question is how do i pass a lot of data ...a dataspace ? i would like to avoid dasd if I can .. Regards, Scott On Mon, Mar 9, 2015 at 12:29 PM, Sam

Re: LE Question

2015-03-09 Thread Sam Siegel
...@listserv.ua.edu wrote: On Mon, 9 Mar 2015 14:18:15 -0700, Sam Siegel wrote: How much data? 10meg? 100meg? 1gig? How about 10 gig? None of those numbers would be unreasonable if COBOL supported 64-bit addressing. But IBM can't see the use for that. Of course if the data

Re: C++ Batch compile with includes in a USS directory

2015-02-25 Thread Sam Siegel
On Wed, Feb 25, 2015 at 9:46 AM, Chuck Arney ch...@arneycomputer.com wrote: I was going through this same process a while back. At that time I decided that batch compiles with the XL C/C++ compiler just don't work as documented. The best you can do is find something that works and not try

Re: Lenovo and Superfish

2015-02-20 Thread Sam Siegel
On Fri, Feb 20, 2015 at 9:40 AM, R.S. r.skoru...@bremultibank.com.pl wrote: W dniu 2015-02-20 o 16:54, John McKown pisze: On Fri, Feb 20, 2015 at 9:39 AM, Mark Post mp...@suse.com wrote: On 2/20/2015 at 08:32 AM, David Crayford dcrayf...@gmail.com wrote: Barbarian! Macs are beautiful.

Re: Strange C runtime library behavior

2015-02-15 Thread Sam Siegel
On Sun, Feb 15, 2015 at 9:55 AM, Ze'ev Atlas 004b34e7c98a-dmarc-requ...@listserv.ua.edu wrote: Hi allI am trying to create a common interface between COBOL and the runtime C library, especially the RegEx related functions. The regex.h header file indicates that the regmatch_t structure

Re: Debug tool from whitin a program

2015-02-09 Thread Sam Siegel
ctest(); must use langlvl(extended) __ctest(); langlvl(extended) not required. include ctest.h You can pass a debugger command as a character string as the parm. On Mon, Feb 9, 2015 at 2:06 PM, michelbutz michealb...@comcast.net wrote: Hi Is there a way to invoke debug tool from within a

Re: Debug tool from whitin a program

2015-02-09 Thread Sam Siegel
:17 PM, Sam Siegel s...@pscsi.net wrote: ctest(); must use langlvl(extended) __ctest(); langlvl(extended) not required. include ctest.h You can pass a debugger command as a character string as the parm. On Mon, Feb 9, 2015 at 2:06 PM, michelbutz michealb...@comcast.net wrote

Re: Other COBOL upgrades that might be worth having resend with actual posting was Re: Compile COBOL Programs In 64 Bit.

2015-02-08 Thread Sam Siegel
On Sun, Feb 8, 2015 at 5:00 PM, Clark Morris cfmpub...@ns.sympatico.ca wrote: On 14 Jan 2015 16:57:26 -0800, in bit.listserv.ibm-main you wrote: OOPs, the previous response got sent too soon. snip. If I knew more about some of the newer languages, I might be able to make a good case for

Re: Anthem Healthcare Hacked

2015-02-07 Thread Sam Siegel
According to Anthem's website, it was formed by the merger of Wellpoint and Anthem. According to http://mainframes.wikidot.com/, Wellpoint is a mainframe shop. Hopefully as additional details will become available. It seems, that unless you are in the know, which I'm not, that facts are in

Re: Top-Secret

2015-01-31 Thread Sam Siegel
Scott - If TSS program is normally called via JCL with PARM=, then you would need to do the following: 1) build parm in working storage. Binary halfword immediately followed by data. 2) Data can be from 0 to 100 bytes in length. 3) length of data, not including length of halfword, is placed in

Re: Top-Secret

2015-01-31 Thread Sam Siegel
Gil - Thanks for pointing that out. Sam On Sat, Jan 31, 2015 at 2:07 PM, Paul Gilmartin 000433f07816-dmarc-requ...@listserv.ua.edu wrote: On Sat, 31 Jan 2015 12:17:07 -0800, Sam Siegel wrote: ... 6) ensure that all required DDs have been appropriately allocated If this results

Re: OT: Friday joke :-)

2015-01-25 Thread Sam Siegel
On Jan 25, 2015 3:27 AM, Aled Hughes 0050619ca8df-dmarc-requ...@listserv.ua.edu wrote: Oh come on everybody. Lighten up - it's only a game after :-) *Ducks* ALH -Original Message- From: Linda linda.lst...@comcast.net To: IBM-MAIN IBM-MAIN@LISTSERV.UA.EDU Sent: Sun,

Re: OT: Friday joke :-)

2015-01-23 Thread Sam Siegel
The question of the day is, were the balls fully inflated our not? On Jan 23, 2015 6:28 AM, Duffy Nightingale, SS du...@soundsoftware.us wrote: Good one! Thanks. Duffy Nightingale On Jan 23, 2015, at 4:32 AM, George Rodriguez george.rodrig...@palmbeachschools.org wrote: lol... Very

Re: OT: Friday joke :-)

2015-01-23 Thread Sam Siegel
On Fri, Jan 23, 2015 at 6:53 AM, Chase, John jch...@ussco.com wrote: -Original Message- From: IBM Mainframe Discussion List On Behalf Of Sam Siegel The question of the day is, were the balls fully inflated our not? Precisely define fully inflated. Dig me up when everybody's

Re: IBM’s reorg-from-Hell launches next week - Cringely

2015-01-23 Thread Sam Siegel
On Fri, Jan 23, 2015 at 7:53 AM, Mullen, Patrick patrick.mul...@gwl.ca wrote: Let us hope that none of our IBM friends and colleagues on this list are included in the alleged 26%. Agreed! -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On

Re: In C++ any way to get traceback info in a catch()?

2015-01-22 Thread Sam Siegel
@LISTSERV.UA.EDU] On Behalf Of Sam Siegel Sent: Thursday, January 22, 2015 3:52 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: In C++ any way to get traceback info in a catch()? On Jan 22, 2015 3:26 PM, Charles Mills charl...@mcn.org wrote: Don, thanks. To clarify, there is no ABEND type condition

Re: In C++ any way to get traceback info in a catch()?

2015-01-22 Thread Sam Siegel
On Jan 22, 2015 3:26 PM, Charles Mills charl...@mcn.org wrote: Don, thanks. To clarify, there is no ABEND type condition. The exception in questions is out of storage -- bad_alloc. Where is machine block documented or defined? cib_machine is a void*. Look in LE vendor interface manual for

Re: In C++ any way to get traceback info in a catch()?

2015-01-22 Thread Sam Siegel
ceecib is documented in LE vendor interface manual On Thu, Jan 22, 2015 at 10:48 AM, Charles Mills charl...@mcn.org wrote: Bernd - Thanks much! Really. :-) Yes, I did not mention it, but when I catch conditions (in a generic sense of the word) in a signal handler then CEE3DMP shows the

Re: Overlaid VCON in load module

2015-01-21 Thread Sam Siegel
Gary - I have an idea of what is occurring, but some additional info is needed. 1) Does this only happen on second and subsequent load? 2) What attributes (rent, reus, etc.) are present on the load module? 3) is this under CICS? Or a proprietary multitasking region? 4) Is code all ASM? Or is

Re: IBM Launches the z13 Mainframe

2015-01-15 Thread Sam Siegel
On Thu, Jan 15, 2015 at 6:27 AM, Elardus Engelbrecht elardus.engelbre...@sita.co.za wrote: Tom Marchant wrote: Can I get z/OS messages to be issued in Unicode? And having Bookmanager bookies written in all those codepages? I could probably ask many more questions like these. Unless the

Re: Enumerating User IDs (was: CANCEL TSO Logon?)

2015-01-05 Thread Sam Siegel
On Mon, Jan 5, 2015 at 8:57 AM, Tony's Basement Computer tbabo...@comcast.net wrote: Back years ago I worked at a Top Secret shop. That product wrote a console message when a log on attempt has occurred that specified an unknown user. Sadly, what was usually seen was a password. It's been

Re: mainframe tribute song

2015-01-02 Thread Sam Siegel
Brilliant. Thanks for sending it out. On Fri, Jan 2, 2015 at 9:35 AM, Pedro Vera pe...@us.ibm.com wrote: Earlier this year, they had a talent show at work. I foolishly volunteered to sing. Please enjoy my mainframe tribute song! https://www.youtube.com/watch?v=nQ__nvHJGLA

Re: mainframe tribute song

2015-01-02 Thread Sam Siegel
Thanks! On Fri, Jan 2, 2015 at 12:46 PM, Ed Finnell 000248cce9f3-dmarc-requ...@listserv.ua.edu wrote: http://www.mxg.com/thebuttonman/boney.asp In a message dated 1/2/2015 11:54:31 A.M. Central Standard Time, s...@pscsi.net writes: Brilliant. Thanks for sending it out.

Re: COBOL IGZBRDGE

2014-12-16 Thread Sam Siegel
relinking does not change calling program. This has the potential to reduce testing effort. On Tue, Dec 16, 2014 at 9:38 AM, Frank Swarbrick 002782105f5c-dmarc-requ...@listserv.ua.edu wrote: Thanks.I still have to wonder why anyone would use that instead of just recompiling with DYNAM.

Re: 64bit

2014-10-17 Thread Sam Siegel
I was interpreting Scott's question as how can above-the-bar memory be used directly by COBOL. On Fri, Oct 17, 2014 at 5:06 AM, Peter Relson rel...@us.ibm.com wrote: Perhaps I misunderstood the problem. Whether called by the system, Cobol, or anything else, an HLASM routine can get any

Re: 64bit

2014-10-16 Thread Sam Siegel
Scott - I think that only enterprise cobol 5.x support 64 bit natively. Sam On Thu, Oct 16, 2014 at 7:17 AM, Scott Ford 0006f84450fa-dmarc-requ...@listserv.ua.edu wrote: All, I have a generalized design question. First background will help. Our products run as Enterprise Cobol STC, no

Re: How to quietly terminate not detached subtask

2014-10-16 Thread Sam Siegel
Hi Victor - Look at the EXTR parameter in the ATTACH(X) documentation. This end-of-task exist gets control on normal and abnormal end-of-task. You can issue the DETACH macro from within this exit. Sam On Thu, Oct 16, 2014 at 11:00 AM, Victor Gil victor@broadridge.com wrote: Hi everyone,

Re: COBOL LINK without Assembler?

2014-09-22 Thread Sam Siegel
To obtain the address of an XPLINK C/C++ routine which can be called from a NON-XPLINK program, look at the fetch() function in the C/C++ run time library reference. When calling fetch() from COBOL, the COBOL code will have to use the RETURNING facility of the CALL statement to get the address of

Re: COBOL LINK without Assembler?

2014-09-22 Thread Sam Siegel
, though... :-) Kirk Wolf Dovetailed Technologies http://dovetail.com On Mon, Sep 22, 2014 at 10:32 AM, Sam Siegel s...@pscsi.net wrote: To obtain the address of an XPLINK C/C++ routine which can be called from a NON-XPLINK program, look at the fetch() function in the C/C++ run time library

Re: Dynalloc with FREE=CLOSE,SPIN=UNALLOC

2014-09-05 Thread Sam Siegel
Look at the assembler service guide. Dynalloc () is just a wrapper which calls svc99. On Sep 5, 2014 6:55 PM, Janet Graff 004dc9e91b6d-dmarc-requ...@listserv.ua.edu wrote: I have a Started Task with a log file. I'd like to SPIN off the log files from my C program and allow the users to

Re: DF/SORT question (challenge?)

2014-08-20 Thread Sam Siegel
Have you considered writing a program which dynamically allocates the output files? On Wed, Aug 20, 2014 at 7:34 AM, TonyIcloud-OPERA tonybabo...@icloud.com wrote: I have a dataset that contains records with a field, by which I need to create a separate dataset that would contain all

Re: INITILAIZE COST

2014-08-11 Thread Sam Siegel
Don't. Use occurs depending on or keep track of number of entries in a separate variable. Populate entries as needed. All valid entrIes are initialized when populated. Restrict subsequent operations to number of rows in table. On Aug 11, 2014 6:37 PM, Ron Thomas ron5...@gmail.com wrote:

Re: SORT JCL

2014-07-20 Thread Sam Siegel
(1,4, BI, A) will provide ascending sequence for unsigned binary numbers (1,4, FI, A) will provide ascending sequence for signed binary numbers. COBOL PICTURE clause of S9(09) COMP, is for a 4 byte signed binary number. On Jul 20, 2014 7:58 PM, Ron Thomas ron5...@gmail.com wrote: Hello. I

Re: C program stopped working with z/OS 1.13 on production rollout of z/OS 1.13 :(

2014-06-23 Thread Sam Siegel
Several variables, including FEOF, are not explicitly initialized to 0. The program appears to set FEOF to 1 only when there is an error opening either of the DDs. There may be residual data on the stack which is setting FEOF to a non-zero value. I don't think the C standard requires the

Re: Enterprise COBOL v5.1 and RDz v9.x

2014-04-21 Thread Sam Siegel
VSAM Media Manager On Mon, Apr 21, 2014 at 4:49 PM, Bernd Oppolzer bernd.oppol...@t-online.dewrote: I know that DB2 does not use VSAM KSDS - only for very limited purposes, IIRC - some logfile directories or boot strap data sets, don't recall the details. The tablespace data sets are VSAM

Re: Compiler error in z/OS C compiler

2014-03-27 Thread Sam Siegel
On Thu, Mar 27, 2014 at 12:31 PM, Bernd Oppolzer bernd.oppol...@t-online.de wrote: Thank you all for your valuable suggestions. The compiler is z/OS XL/C V1.13 and V1.11 - well, in fact, I didn't test it with the 1.11. version. I observed the problem on the site with the 1.13 version.

Re: Is there a C macro for is z/OS

2014-02-14 Thread Sam Siegel
Macros as you suggest (slightly different names) should be fully documented in the c/c++ users guide or language reference. On Fri, Feb 14, 2014 at 3:14 PM, Charles Mills charl...@mcn.org wrote: Is there a standard IBM z/OS XLC macro for is compiling on z/OS? I looked for __ZOS and __MVS and

Re: POSIX(ON) costs or disadvantages

2014-01-27 Thread Sam Siegel
On Jan 27, 2014 6:20 AM, Bernd Oppolzer bernd.oppol...@t-online.de wrote: Some years ago, I had to make available a library which does some SSL coding and encoding to PL/1 callers, and that was a little complicated, because the library was coded in C - which was no problem - but it was

Re: Subject Unicode

2014-01-09 Thread Sam Siegel
Scott - The PC is going to have to provide the codepage of the message data someplace in the communication protocol. Either as a separate field, separate message or as a prefix/suffix to the message data. It will be pretty dicey to attempt to guess the codepage based on the message data. One

Re: Multi-Tasking question

2013-12-04 Thread Sam Siegel
Scott - Do the security action messages and non-section action messages come into the process via the same tcp connection? The based on type of processing (security vs.non-security) get processed by different sub-tasks? If the answer is yes, you may need 3 sub taks: 1) tcp processing 2) security

Re: Multi-Tasking question

2013-12-04 Thread Sam Siegel
, at 2:15 PM, Sam Siegel s...@pscsi.net wrote: Scott - Do the security action messages and non-section action messages come into the process via the same tcp connection? The based on type of processing (security vs.non-security) get processed by different sub-tasks? If the answer is yes

Re: Multi-Tasking question

2013-12-04 Thread Sam Siegel
of examples in the C Doc is maddening at times Scott ford www.identityforge.com from my IPAD 'Infinite wisdom through infinite means' On Dec 4, 2013, at 4:25 PM, Sam Siegel s...@pscsi.net wrote: look at the msgctl, msggegt, msgrcv, msgsnd and msgxrcv in the c/c++ run time documentation

Re: DESERV function get DCB address

2013-11-28 Thread Sam Siegel
Try using TCBJLB for STEPLIB DCB or CVTLINK for LINKLIST DCB. Both are GUPI. On Thu, Nov 28, 2013 at 11:00 AM, MichealButz michealb...@optonline.netwrote: Hi, I having been using BLDL to get program directory information I found the macro to not give correct results. So I have moved on

Re: Determining number of Parameters passed to a COBOL program

2013-10-02 Thread Sam Siegel
On Wed, Oct 2, 2013 at 9:36 AM, Raupach, Robert E (CTO Architecture + Engineering) rraup...@thehartford.com wrote: Greetings... A colleague asked me the following question: Is there a way to determine how many parameters are being passed into a COBOL program? I could show him in

Re: CEEPIPI assistance requested

2013-08-27 Thread Sam Siegel
See other email. Problem resolved. Thanks. On Aug 27, 2013 6:16 AM, Shmuel Metz (Seymour J.) shmuel+...@patriot.net wrote: In CAFMxNWKJXbzsB5OrtaZgREk-bK=kgb_i-kh0tjzuzukbtgg...@mail.gmail.com, on 08/26/2013 at 10:03 PM, Sam Siegel s...@pscsi.net said: Below is the module and offset

Re: CEEPIPI assistance requested

2013-08-26 Thread Sam Siegel
On Sun, Aug 25, 2013 at 5:27 PM, Peter Relson rel...@us.ibm.com wrote: I don't know why LE would issue an ESPIE if you told it not to. It certainly seems from the evidence that something is issuing ESPIE. And it's issuing it in your state, which is supervisor state, which therefore will

Re: CEEPIPI assistance requested

2013-08-25 Thread Sam Siegel
On Sun, Aug 25, 2013 at 5:27 PM, Peter Relson rel...@us.ibm.com wrote: I don't know why LE would issue an ESPIE if you told it not to. It certainly seems from the evidence that something is issuing ESPIE. And it's issuing it in your state, which is supervisor state, which therefore will

CEEPIPI assistance requested

2013-08-24 Thread Sam Siegel
Hello - I'm experiencing an 46D-18 abend under certain conditions when running a supervisor mode multi-tcb CEEPIPI job step. Under other conditions the 46D-18 does not occur. Any assistance or advice would be appreciated. Per the system completion codes documentation, a 46D-18 occurs when an

z/TPF question

2013-08-09 Thread Sam Siegel
Hi - Does anyone know if zIIP engines can be used with z/TPF? Thanks, Sam -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Re: Any clues on fwrite_unlocked()

2013-07-29 Thread Sam Siegel
On Mon, Jul 29, 2013 at 7:49 AM, Charles Mills charl...@mcn.org wrote: Anyone using fwrite_unlocked() successfully? Per TFM I have #define _XOPEN_SOURCE_EXTENDED 1 I think the following define is required prior to including stdio.h #define _OPEN_SYS_UNLOCKED_EXT 1 Sam ahead of any

Re: Any clues on fwrite_unlocked()

2013-07-29 Thread Sam Siegel
@LISTSERV.UA.EDU] On Behalf Of Sam Siegel Sent: Monday, July 29, 2013 11:08 AM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Any clues on fwrite_unlocked() On Mon, Jul 29, 2013 at 7:49 AM, Charles Mills charl...@mcn.org wrote: Anyone using fwrite_unlocked() successfully? Per TFM I have #define

Re: Writing binary VB files in C

2013-07-27 Thread Sam Siegel
On Sat, Jul 27, 2013 at 4:52 AM, Charles Mills charl...@mcn.org wrote: Am I correct in my reading of the C manuals? (I find the information somewhat scattered and oddly organized.) If I want to write a typical old-fashioned z/OS dataset in format VB and that contains binary fields in a

Re: REXX and CEEPIPI questions.

2013-07-10 Thread Sam Siegel
On Wed, Jul 10, 2013 at 6:30 AM, John McKown john.archie.mck...@gmail.comwrote: I am trying to look at how to use the PCRE from Ze'ev Atlas in a REXX program in a REXXish way. PCRE is written in C and is basically implemented as a bunch of subroutines. Being in C means this requires LE. I

Re: REXX and CEEPIPI questions.

2013-07-10 Thread Sam Siegel
argument to all functions in which you store the CEEPIPI token value, putting the burden on the programmer to keep it intact and pass you the right value every time. Peter -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Sam

Re: Advice about extending the PCREGREP

2013-07-09 Thread Sam Siegel
#include stdio.h #include stdlib.h #include stddef.h #include string.h int main( int argc, char **argv ) { printf ( %s\n, argv[1] ); return 0; } //SAMPLEJ JOB MUP,'JOB: SAMPLE', // CLASS=A, // MSGCLASS=X, // NOTIFY=SYSUID //* //* //JS010EXEC

Re: Announcing PCRE 8.33 for native z/OS

2013-07-05 Thread Sam Siegel
On Fri, Jul 5, 2013 at 7:27 PM, John Gilmore jwgli...@gmail.com wrote: 'grammer' is, I think, best viewed as a nonce word. David Crayford knows very well that the canonical spelling is 'grammar'. Man have you no sense of humor at all. ?? John Gilmore, Ashland, MA 01721

Re: Question on how to debug S0C7 (data exception) abend

2013-07-03 Thread Sam Siegel
On Wed, Jul 3, 2013 at 4:10 AM, Mowry, Norma E CIV DISA ESB (US) norma.e.mowry@mail.mil wrote: We have a production job that is abending with S0C7 reason 0007. I set a slip to capture a dump but I can't seem to find the input record that is causing the S0C7 in this dump. I also have

Language environment question

2013-06-29 Thread Sam Siegel
Hello - my process creates several TCBs. Each TCB establishes its own LE enclave using CEEPIPI. As part of the LE runtime options used in testing, RPTSTG(ON) is used. As each task ends, the storage report is printed. The storage report title for each task is Options Report for Enclave CEEPIPI

Re: Language environment question

2013-06-29 Thread Sam Siegel
On Sat, Jun 29, 2013 at 11:33 AM, Steve Comstock st...@trainersfriend.comwrote: On 6/29/2013 12:27 PM, Sam Siegel wrote: Hello - my process creates several TCBs. Each TCB establishes its own LE enclave using CEEPIPI. As part of the LE runtime options used in testing, RPTSTG(ON) is used

Re: Assember

2013-06-24 Thread Sam Siegel
On Mon, Jun 24, 2013 at 8:23 AM, Ron Thomas ron5...@gmail.com wrote: Hello. can some one pls let me know what this assembler code does? TMI2REC+ISTAT-IREC,SDLET Ron the code does the following ISTAT-IREC the offset of ISTAT from IREC. That offset is added to the address of I2REC.

Re: To recompile or not recompile, that's the question

2013-06-06 Thread Sam Siegel
On Thu, Jun 6, 2013 at 7:10 AM, John Gilmore jwgli...@gmail.com wrote: My own experience with the Enterprise PL/I Compiler and the relevant libraries is that Shmuel's second sort of problem, viz., 2. Code compiled with new compiler doesn't run correctly with old libraries. is still a

Re: To recompile or not recompile, that's the question

2013-05-31 Thread Sam Siegel
On Fri, May 31, 2013 at 3:34 PM, Skip Robinson jo.skip.robin...@sce.comwrote: I've never been in a shop where programs were (re)compiled into production. Once a program is compiled and tested, it's copied into production. Whatever risk might be incurred by moving a program into a down-level

Re: Packed decimal and sign nibble

2013-04-24 Thread Sam Siegel
On Wed, Apr 24, 2013 at 7:43 AM, Phil Smith p...@voltage.com wrote: Suppose you have values that you're converting between character and packed decimal, in both directions at various times. You're a middleman, so you don't know what the application is going to be using the values for. For a

Re: Packed decimal and sign nibble

2013-04-24 Thread Sam Siegel
On Wed, Apr 24, 2013 at 8:11 AM, Elardus Engelbrecht elardus.engelbre...@sita.co.za wrote: Sam Siegel wrote: 4) concatenated packed fields that are never used for math 4.1) 01 WS-BANK-KEY. 4.2) 05 WS-BRANCH pic s9(5) comp-3. 4.3) 05 ws-account pic s9(11) comp-3. 4.4) compares

Re: C question

2013-04-22 Thread Sam Siegel
Be sure to set the input string name in the parmlist to NULL on the second through last invocation of strtok; be sure your delimiters make sense for the invocation. You can change delimiters, if needed, on each invocation. On Mon, Apr 22, 2013 at 3:21 PM, Scott Ford scott_j_f...@yahoo.com

Re: Sequence Numbrs (was 32760? (was: PARMDD?))

2013-04-07 Thread Sam Siegel
On Sun, Apr 7, 2013 at 4:16 PM, Steve Thompson sthomp...@us.ibm.com wrote: From: Paul Gilmartin paulgboul...@aim.com Date: 04/07/2013 06:15 PM On Sun, 7 Apr 2013 18:08:54 -0400, Steve Thompson wrote: As a result this wonderful language, Java, has no sequence numbers, can be wider

Re: Sequence Numbrs (was 32760? (was: PARMDD?))

2013-04-07 Thread Sam Siegel
On Sun, Apr 7, 2013 at 5:19 PM, Paul Gilmartin paulgboul...@aim.com wrote: On Sun, 7 Apr 2013 16:57:23 -0700, Sam Siegel wrote: On Sun, Apr 7, 2013 at 4:16 PM, Steve Thompson wrote: http://pubs.opengroup.org/onlinepubs/9699919799/utilities/patch.html snip I read this rapidly. I'm

Re: Lost datagrams on z/OS 1.12?

2013-03-19 Thread Sam Siegel
On Tue, Mar 19, 2013 at 12:16 PM, Charles Mills charl...@mcn.org wrote: I've got a problem that is defying my ability to find it. I have a product that uses sendto() to send UDP messages (datagrams). At one and perhaps two z/OS 1.12 customers I have seen a problem in which what appear to be

Re: Load To Global with PC_cp (OT)

2013-02-19 Thread Sam Siegel
On Tue, Feb 19, 2013 at 10:44 AM, Mark Hammond markhamm...@ateras.comwrote: In the creation model, chickens (or at least the chicken kind) were directly created by God. Then they had eggs. Please do not take offence I'm not point fingers at religion, but merely remembering the genius of

Re: mainframe selling points

2013-02-04 Thread Sam Siegel
On Mon, Feb 4, 2013 at 1:00 PM, John McKown john.archie.mck...@gmail.comwrote: The C run-time library, IIRC. So it only works for things which are written in C and use the C run-time (as opposed to written in C and using some other method), or for things not using the C run-time, but which

Re: My Last Days as a Sysprog

2013-02-04 Thread Sam Siegel
On Mon, Feb 4, 2013 at 4:14 PM, John Gilmore jwgli...@gmail.com wrote: Working habits and methods vary widely. Results are crucial, the path taken to reach them is not. Many would say the means are as important as the ends. Haruspicina is messy; but If, improbably, an augur got good

  1   2   >