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 not happening. R1

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

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 I had a significant sav

Re: Addressing Question

2016-12-21 Thread Sam Siegel
G(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 wrote: > > > Scott - Is any data passed via linkage? Are the programs dynamically > > loaded and d

Re: Addressing Question

2016-12-21 Thread Sam Siegel
they > execute perform data extract functions , close the file and return > > Scott > > On Wednesday, December 21, 2016, Sam Siegel wrote: > >> I think that the AMODE(24) is of more concern. Depending on how they >> are invoked and/or how the entry/exit logic works

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

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 has

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=&SYSUID //* //JSDELEXEC PGM=IEFBR14 //DS010DD DSN=TEST.ABC.A11.MULTIVOL, //DISP=(MOD,

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 programs might benefit from

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

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 employee. > > On Fri, Dec 18,

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 DDNAME=MYDDN,DSAPTR=MYPTR > > > MYDDN

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, Clark Morris > wrote: > > >

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: > Hi > > Can someone on the

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 my iPhone > > > On Oct 16

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 forgive typos. > On

Re: LE Condition Handler

2015-08-27 Thread Sam Siegel
On Thu, Aug 27, 2015 at 6:02 AM, Scott Ford 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 > thread, but this is

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 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 [mailto:IBM-MAIN@LISTSERV.UA.E

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 me

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 u

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 wrote: > Hi

Re: Wait in SRB mode

2015-06-12 Thread Sam Siegel
Pause/resume service On Jun 12, 2015 7:57 PM, "Donald Likens" wrote: > Does any one know of a way to wait in SRB mode. I am pretty sure it can be > done because BPX1AIO waits when connecting to a TCP/IP address. > > -- > For IBM-

Re: Outsourcing Experiences

2015-04-22 Thread Sam Siegel
Joel - Well said. On Wed, Apr 22, 2015 at 7:36 AM, Joel Ewing 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 think tha

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 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, Peter x23353

Re: A New Performance Model ?

2015-04-05 Thread Sam Siegel
On Sun, Apr 5, 2015 at 7:28 PM, Timothy Sipples 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 the react

Re: RDJFCB

2015-03-19 Thread Sam Siegel
On Thu, Mar 19, 2015 at 2:43 PM, Charles Mills 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 area in which i

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 i

Re: APF-authorized calling non-authorized

2015-03-15 Thread Sam Siegel
Look at the SYNC(X) macro. It provides a way to invoke a program in a non-authorized fashion when running authorized. On Sun, Mar 15, 2015 at 12:58 PM, Charles Mills wrote: > Agree with Gil's last comment 100%. Or give me an option: program Y does > not need authorization any more than it would

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 wrote: > I would rather download the PDFs,I'm think personally, it's easier more me. > > On Wednesday, March 11, 2015, Staller, Allan > wrote: > > > The "new tools" are not as available, rel

Re: LE Question

2015-03-09 Thread Sam Siegel
in < > 000433f07816-dmarc-requ...@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

Re: LE Question

2015-03-09 Thread Sam Siegel
How much data? 10meg? 100meg? 1gig? On Mar 9, 2015 2:06 PM, "Scott Ford" 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

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 t

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 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 > and rationalize it wi

Re: Lenovo and Superfish

2015-02-20 Thread Sam Siegel
On Fri, Feb 20, 2015 at 9:40 AM, R.S. wrote: > W dniu 2015-02-20 o 16:54, John McKown pisze: > >> On Fri, Feb 20, 2015 at 9:39 AM, Mark Post wrote: >> >> On 2/20/2015 at 08:32 AM, David Crayford wrote: >> > Barbarian! Macs are beautiful. >>> The product may be beautiful, but the c

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 structur

Re: Debug tool from whitin a program

2015-02-09 Thread Sam Siegel
Sorry about that. Look in the debug tool users guide for EQANMDBG. That might do what you want. No completely sure. On Mon, Feb 9, 2015 at 2:26 PM, michelbutz wrote: > That syntax is C/C++ I was looking for non le assembler > > Sent from my iPhone > > > On Feb 9, 2015, at 5

Re: Debug tool from whitin a program

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

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 wrote: > On 14 Jan 2015 16:57:26 -0800, in bit.listserv.ibm-main you wrote: > OOPs, the previous response got sent too soon. > > . If I > knew more about some of the newer languages, I might be able to make a > good case for IBM effort being directed

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 short

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 al

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 hal

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 > To: IBM-MAIN > Sent: Sun, 25 Jan 2015 2:36 > Subject:

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 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 > Behalf Of imu

Re: OT: Friday joke :-)

2015-01-23 Thread Sam Siegel
On Fri, Jan 23, 2015 at 6:53 AM, Chase, John 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 inf

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" wrote: > Good one! Thanks. > > Duffy Nightingale > > > On Jan 23, 2015, at 4:32 AM, George Rodriguez < > george.rodrig...@palmbeachschools.org> wrote: > > > > lol... Very funny...

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

2015-01-22 Thread Sam Siegel
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@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"

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" 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 all of

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

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 the

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

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 b

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

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 wrote: > Perhaps I misunderstood the problem. > > Whether called by the system, Cobol, or anything else, an HLASM routine > can get any storage that its

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 wrote: > Hi everyone, > > Working on a general p

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,

Re: COBOL "LINK" without Assembler?

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

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 o

Re: Dynalloc with FREE=CLOSE,SPIN=UNALLOC

2014-09-06 Thread Sam Siegel
: > Sam Siegel wrote: > >Look at the assembler service guide. Dynalloc () is just a wrapper which > >calls svc99. > > Right...we know that. Of course SVC 99 supports this; the question was: > >Does anyone know whether dynalloc() supports FREE=CLOSE,SPIN=UNALLOC? > >

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 user

Re: Meet Cobol's hard core fans

2014-08-21 Thread Sam Siegel
On Thu, Aug 21, 2014 at 2:57 PM, Mark Post wrote: > >>> On 8/21/2014 at 05:47 PM, Tony Harminc wrote: > > Not entirely clear to me how the COBOL brain drain is addressed by > > recompiling and re-hosting Cobol on distributed computing platforms. > > It's magic, I guess. Suddenly someone other t

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 wrote: > I have a dataset that contains records with a field, by which I need to > create a separate dataset that would contain all occurrences of that field. >

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" wrote: > Hello. > > We have

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" wrote: > Hello. > > I have file in

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 compile

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 wrote: > 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 LDS - linear data sets

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 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. > > This is part of the PL/1

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 wrote: > Is there a standard IBM z/OS XLC macro for "is compiling on z/OS"? I looked > for __ZOS and __MVS and so forth but

Re: POSIX(ON) costs or disadvantages

2014-01-27 Thread Sam Siegel
On Jan 27, 2014 6:20 AM, "Bernd Oppolzer" 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 compiled and linked using

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 oth

Re: Multi-Tasking question

2013-12-04 Thread Sam Siegel
e 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 wrote: > > > > look at the msgctl, msggegt, msgrcv, msgsnd

Re: Multi-Tasking question

2013-12-04 Thread Sam Siegel
through infinite means' > > > > On Dec 4, 2013, at 2:15 PM, Sam Siegel 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 (secur

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: 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 wrote: > 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 to DESERV FUNC=GE

Re: Getting DD DISP

2013-10-23 Thread Sam Siegel
Scott, what attributes are you specifically looking? I've got some devtype code tucked away somewhere. Sam On Oct 23, 2013 6:48 AM, "Scott Ford" wrote: > All, > Have you seen anyone using DEVTYPE macro to pickup the ddname information ? > > Scott ford > www.identityforge.com > from my IPAD > >

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) 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 Assembler, but in COBO

Re: Task to subtask communications

2013-08-28 Thread Sam Siegel
On Wed, Aug 28, 2013 at 6:53 AM, John McKown wrote: > And one thing to remember is that the main task, in the PAUSE/RESUME or > WAIT/POST must "poll" for communications from the subtask. I have not used > PAUSE/RELEASE, but it appears that, unlike WAIT/POST, the task doesn't have > a way to "poll"

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.)" wrote: > In > , > on 08/26/2013 >at 10:03 PM, Sam Siegel said: > > >Below is the module and offset. > > Did you search for IEAVTESP+0B3A? Create a PMR? Where

Re: CEEPIPI assistance requested

2013-08-26 Thread Sam Siegel
On Sun, Aug 25, 2013 at 5:27 PM, Peter Relson 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 result in the abend

Re: CEEPIPI assistance requested

2013-08-26 Thread Sam Siegel
On Mon, Aug 26, 2013 at 9:01 AM, Shmuel Metz (Seymour J.) < shmuel+...@patriot.net> wrote: > In > , > on 08/24/2013 > at 04:52 PM, Sam Siegel said: > > >Hello - I'm experiencing an 46D-18 abend > > Where? Providing module.csect+offset would eliminat

Re: CEEPIPI assistance requested

2013-08-26 Thread Sam Siegel
) , but it was > a "normal" C++ application, so no CEEPIPI. The application was very > complex, and I wasn't able to find a way > to run the code under enclave SRB. > Some small parts (for example the ZIP inflate/deflate) library was proper > to run in zIIP, but it is &

Re: CEEPIPI assistance requested

2013-08-25 Thread Sam Siegel
On Sun, Aug 25, 2013 at 5:27 PM, Peter Relson 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 result in the abend

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 ESP

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
lto:IBM-MAIN@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 wrote: > > > Anyone using fwr

Re: Any clues on fwrite_unlocked()

2013-07-29 Thread Sam Siegel
On Mon, Jul 29, 2013 at 7:49 AM, Charles Mills 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 #includes (incl

Re: Writing binary VB files in C

2013-07-27 Thread Sam Siegel
On Sat, Jul 27, 2013 at 4:52 AM, Charles Mills 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 field-oriented re

Re: REXX and CEEPIPI questions.

2013-07-10 Thread Sam Siegel
e. > > Peter > > -Original Message- > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On > Behalf Of Sam Siegel > Sent: Wednesday, July 10, 2013 10:00 AM > To: IBM-MAIN@LISTSERV.UA.EDU > Subject: Re: REXX and CEEPIPI questions. > > On Wed, Jul 1

Re: REXX and CEEPIPI questions.

2013-07-10 Thread Sam Siegel
On Wed, Jul 10, 2013 at 6:30 AM, John McKown wrote: > 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 > could just write my code t

Re: Advice about extending the PCREGREP

2013-07-09 Thread Sam Siegel
#include #include #include #include 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 PGM=SAMPLE,PARM='/A.B.C' //STEPLIB DD DSN=MUP.LOAD

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

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

Re: Language environment question

2013-06-29 Thread Sam Siegel
On Sat, Jun 29, 2013 at 11:33 AM, Steve Comstock wrote: > 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

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 0

Re: Assember

2013-06-24 Thread Sam Siegel
On Mon, Jun 24, 2013 at 8:23 AM, Ron Thomas 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. This a locatio

Re: Auditing vendor source code

2013-06-18 Thread Sam Siegel
On Tue, Jun 18, 2013 at 3:41 PM, Ted MacNEIL wrote: > If that is such an issue, that you really need that level of assurance, > then don't purchase the software. > > I know of no vendor (large or small) that is the business to steal your > secrets. > > Besides, accessing data is not enough. > Wit

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 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 significant one i

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 wrote: > 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 > environment, the r

  1   2   >