DFSort support for REXX E15?

2014-02-23 Thread Binyamin Dissen
I want to run a sort for a series of files that fit a dsname pattern. The simple approach would be an E15 which runs thru the list of files, and rexx is simpler than assembler. Seems like SYNCSORT has had that option for a while. -- Binyamin Dissen bdis...@dissensoftware.com

Re: Optimization, CPU time, and related issues

2014-02-23 Thread Shmuel Metz (Seymour J.)
In caarmm9rptczsrhfjzecu8vmto_hvpfjnm0wn_amihxpjgxa...@mail.gmail.com, on 02/21/2014 at 06:47 PM, Tony Harminc t...@harminc.net said: It was surely clear from the context that I was speaking of the S/360 and its descendants. That may have been your intent; it was clear to me that in channel

Re: DFSort support for REXX E15?

2014-02-23 Thread Paul Gilmartin
On Sun, 23 Feb 2014 11:19:10 +0200, Binyamin Dissen wrote: I want to run a sort for a series of files that fit a dsname pattern. The simple approach would be an E15 which runs thru the list of files, and rexx is simpler than assembler. Seems like SYNCSORT has had that option for a while.

Re: DFSort support for REXX E15?

2014-02-23 Thread R.S.
W dniu 2014-02-23 15:29, Paul Gilmartin pisze: On Sun, 23 Feb 2014 11:19:10 +0200, Binyamin Dissen wrote: I want to run a sort for a series of files that fit a dsname pattern. The simple approach would be an E15 which runs thru the list of files, and rexx is simpler than assembler. Seems

Re: DFSort support for REXX E15?

2014-02-23 Thread Scott Ford
R.S., What about a Rexx Assembler stub ? The assembler routine to interface to the sort and call Rexx to perform the desired functions. We use IRXJCL a lot and it can also be called in C … Regards, Scott Ford www.identityforge.com From: R.S. Sent: ‎Sunday‎, ‎February‎ ‎23‎, ‎2014

Re: DFSort support for REXX E15?

2014-02-23 Thread Scott Ford
R.S. Heres the C program making the call: #include stdio.h #include stdlib.h #include string.h typedef int (*funcPtr) (); funcPtr fetched; typedef struct IRXJCL_type { short int arg_length; char argument[21]; } IRXJCL_type; IRXJCL_type this_param; IRXJCL_type* param_ptr; int return_code;

Re: Curious observation: lack of a simple optimization in a C program

2014-02-23 Thread John McKown
On Sun, Feb 23, 2014 at 12:44 AM, David Crayford dcrayf...@gmail.comwrote: Hmm, I'm not getting the same result! When I compile with ARCH(5) there is only one strlen() call (SRST) and the value is retained in a register. BTW, I removed #undef strlen. What is the purpose of that directive? *

Re: DFSort support for REXX E15?

2014-02-23 Thread Paul Gilmartin
On 2014-02-23, at 07:49, R.S. wrote: W dniu 2014-02-23 15:29, Paul Gilmartin pisze: On Sun, 23 Feb 2014 11:19:10 +0200, Binyamin Dissen wrote: I want to run a sort for a series of files that fit a dsname pattern. The simple approach would be an E15 which runs thru the list of files, and

IBM assembler copybook

2014-02-23 Thread Ron Thomas
Hello. I am new to assembler so not sure whether i am asking the right query? We have a assembler copybook and the corresponding file is a VSAM KSDS. could someone let me know how to view the data in the file using this copybook ? Thanks Ron T

Re: IBM assembler copybook

2014-02-23 Thread Ron Thomas
to add , some of the fields in the copybook the data is stored in bit map. so please do let me know how to view this data ? Thanks Ron T -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to

Re: IBM assembler copybook

2014-02-23 Thread Steve Comstock
On 2/23/2014 10:23 AM, Ron Thomas wrote: Hello. I am new to assembler so not sure whether i am asking the right query? We have a assembler copybook and the corresponding file is a VSAM KSDS. could someone let me know how to view the data in the file using this copybook ? Thanks Ron T

Re: Curious observation: lack of a simple optimization in a C program

2014-02-23 Thread Bernd Oppolzer
I would strongly suggest not to #undef such #defines coming from the standard headers; the results may be unpredictable. Maybe the compiler optimization and inlining strategies relies exactly on such #defines, that is: strlen needs to be __strlen, so that the compiler can recognize it and do

Re: IBM assembler copybook

2014-02-23 Thread Andy Wood
On Sun, 23 Feb 2014 10:53:58 -0700, Steve Comstock st...@trainersfriend.com wrote: On 2/23/2014 10:23 AM, Ron Thomas wrote: . . . Really? I didn't think Assembler supported VSAM library source for copy files. Oh, wait. Are you z/OS or z/VSE? I suspect he may mean that the copybook contains

Fwd: Re: Curious observation: lack of a simple optimization in a C program

2014-02-23 Thread Bernd Oppolzer
An explanation, which is just a little more paranoid: if you #undef strlen, the compiler cannot be sure, if your strlen is not quite another function, which does not give the same result on two subsequent calls ... ??? Original-Nachricht Betreff: Re: Curious observation:

Re: Curious observation: lack of a simple optimization in a C program

2014-02-23 Thread Bernd Oppolzer
I guess that IBM #defines some well known ANSI functions to other strange names (__strlen for strlen, as an example), to be able to do some special optimizations on those functions after or before inlining them. Remember, the names of the ANSI functions are not reserved in C - they are not part

Re: Curious observation: lack of a simple optimization in a C program

2014-02-23 Thread John Gilmore
Historically, the term 'builtin' is of course a PL/I one that has been adopted elsewhere too, e.g., by the HLASM. In PL/I it refers to implementation-supplied functions. Some of these, like SQRT and COSH, are always implemented by calls to library routines; some of them, like LENGTH and SIGN,

Re: Curious observation: lack of a simple optimization in a C program

2014-02-23 Thread John McKown
On Sun, Feb 23, 2014 at 12:48 PM, Bernd Oppolzer bernd.oppol...@t-online.de wrote: I would strongly suggest not to #undef such #defines coming from the standard headers; the results may be unpredictable. Maybe the compiler optimization and inlining strategies relies exactly on such

Re: Optimization, CPU time, and related issues

2014-02-23 Thread DASDBILL2
Just for future reference, since the name of this list-server is IBM Mainframe Discussion List, what particular IBM systems, other than System/360 and its descendants, are also called mainframe systems? Bill Fairchild Nolensville, TN - Original Message - From: Shmuel Metz (Seymour

Re: IBM assembler copybook

2014-02-23 Thread Wayne Bickerdike
If you have IBM File Manager you can read the file using FM and give it the copy book as a template. Otherwise, you will need to perform an IDCAMS PRINT DUMP command and work out the contents from the copy book lay out and the dump format content. //DUMP EXEC PGM=IDCAMS //SYSPRINT DD SYSOUT=*

Re: DFSort support for REXX E15?

2014-02-23 Thread Wayne Bickerdike
I did this in REXX a different way. In my case, I wanted to produce multiple SORTOUTS but the same could apply for multiple input files. I used a SYSINnn DD statement and a SYSPARMnn DD. DO I = 1 to files CALL SYSIN(I) CALL SYSPARMI(I) CALL SPOOL(I) CALL SYSPOOL(I) CALL ALLOCA(I) ADDRESS

Re: DFSort support for REXX E15?

2014-02-23 Thread Wayne Bickerdike
JCL: //S010 EXEC PGM=IKJEFT01 //SYSOUT DD SYSOUT=* //SYSPRINT DD SYSOUT=* //SYSTSPRT DD SYSOUT=* //SYSEXEC DD DISP=SHR,DSN=REXXLIB //SYSTSIN DD DISP=SHR,DSN=DSNTYPE(SORTVAL) //SYSIN1 DD DSN=DSNTYPE(SYSIN1),DISP=SHR //SYSIN2 DD DSN=DSNTYPE(SYSIN2),DISP=SHR //SYSIN3 DD DSN=DSNTYPE(SYSIN3),DISP=SHR

Re: IBM assembler copybook

2014-02-23 Thread zMan
How popular/common is IBM File Manager? Looks kinda neat, I just never came across it (but I tend to work at a different layer, so that proves little except that it likely isn't super-ubiquitous). On Sun, Feb 23, 2014 at 4:58 PM, Wayne Bickerdike wayn...@gmail.com wrote: If you have IBM File

Re: IBM assembler copybook

2014-02-23 Thread Wayne Bickerdike
We use the IBM Early Development Systems in Dallas, File Manager comes with the package. We have a customer who uses File Manager and it's also part of the ADCD set. For corporates, I guess it depends on cost/need since some shops will have 3rd party alternates like File Aid or Easytrieve etc. In

class C3 commands taking long

2014-02-23 Thread baby eklavya
Hello , Any idea why MVS class C3 commands take so long to execute . We were adding some new volumes on z/os 1.11 system and had to issue several route commands to vary them online . It seems like console address space can't process more than 50 commands at a time . We had to clear the command

Re: Curious observation: lack of a simple optimization in a C program

2014-02-23 Thread Charles Mills
Right. There is an XLC compiler option ANSIFUNCS or something like that. (Too lazy to look it up.) It tells the compiler things that have the names of standard functions really ARE standard functions. Without that option turned on, strlen() could be a private random number generator. Charles

Re: Curious observation: lack of a simple optimization in a C program

2014-02-23 Thread David Crayford
On 23/02/2014 11:55 PM, John McKown wrote: I don't know why that would make a difference. Would you mind showing me your compile parameters? What version of z/OS are you running on? My compile came from a z/OS 1.13 system. I don't know the maintenance level. z/OS 1.13 c99_x -O

Share/LA automation software Coupons

2014-02-23 Thread Brian Westerman
Hi, I mentioned this a few weeks ago, so that no one would complain (like last time) when I gave out the coupons at share for the free licenses of the automation software. As of today, only 32 people have contacted me to get them, and of them only 21 followed through with actually getting the

z/OS 1.9 under z/VM 6.3 on zBC12

2014-02-23 Thread Jose Munoz
Dear all, Can I have z/OS 1.9 under z/VM 6.3 on a zBC12 or zEC12? Thanks Jose Munoz E: jmunoz6...@gmail.com -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the

Re: IBM assembler copybook

2014-02-23 Thread Ron Thomas
We have fileaid and i belive it only supports cobol and PL/1. Can this copybook be converted to PL/1 and whether we can edit the bit maps and manupulate the same , i.e 1 byte 8 bits and each bit whether we can edit something ? Thanks Ron T

Re: Curious observation: lack of a simple optimization in a C program

2014-02-23 Thread John McKown
I'm checking into to the old folks home soon. Instead of using -O5, I used -o5. Which did not cause any problem because that means write the output object code to the file named 5. I guess I was sleepier than I thought yesterday and just didn't catch that. My error, and my thanks to all for your

Re: Curious observation: lack of a simple optimization in a C program

2014-02-23 Thread Charles Mills
Dang C case-sensitivity! Charles -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of John McKown Sent: Sunday, February 23, 2014 5:58 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Curious observation: lack of a simple optimization in a C

Re: Curious observation: lack of a simple optimization in a C program

2014-02-23 Thread David Crayford
On 24/02/2014 9:58 AM, John McKown wrote: I'm checking into to the old folks home soon. Instead of using -O5, I used -o5. Which did not cause any problem because that means write the output object code to the file named 5. I guess I was sleepier than I thought yesterday and just didn't catch

Re: DFSort support for REXX E15?

2014-02-23 Thread Sri h Kolusu
Hi, Here are a couple of examples that show how to invoke DFSORT from REXX. http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/ice1ca60/11.3? Further if you have any questions please let us know Kolusu DFSORT Development IBM Corporation IBM Mainframe Discussion List

Re: DFSort support for REXX E15?

2014-02-23 Thread Ed Gould
Hi: Maybe I am misunderstanding the original op statement. I *THOUGHT* that the original op was doing : sort field=(1,5,ch,a) sort e15=(rexxe15,...) end // Somewhere before this they had compiled a rexx program (using the rexx compiler) Is that what the original op did, if not

Re: z/OS 1.9 under z/VM 6.3 on zBC12

2014-02-23 Thread Brian Westerman
The short answer is yes. And you don't need to get the extended end of life updates for z/os 1.9 to do it. Brian -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with

Convert Tcp/IP translate tables from binary to source

2014-02-23 Thread גדי בן אבי
Hi, I need to convert a customized binary version of a TCP/IP translation table to the source version. Is there a way to do this? I know that the CONVXLAT program will do the reverse. Thanks Gadi לשימת לבך, בהתאם לנהלי חברת מלם מערכות בעמ ו/או כל חברת בת

Re: IBM assembler copybook

2014-02-23 Thread Wayne Bickerdike
ASM to PL/I should be quite simple. PL3 becomes FIXED DEC(3,0) etc. CL6 becomes CHAR(6), BL1 becomes BIT(8) (I think) On Mon, Feb 24, 2014 at 12:35 PM, Ron Thomas ron5...@gmail.com wrote: We have fileaid and i belive it only supports cobol and PL/1. Can this copybook be converted to

Re: IBM assembler copybook

2014-02-23 Thread Martin Packer
And I think COBDFSYM has promise: Provides a way to map records based on COBOL Copybook for DFSORT. Cheers, Martin Martin Packer, zChampion, Principal Systems Investigator, Worldwide Banking Center of Excellence, IBM +44-7802-245-584 email: martin_pac...@uk.ibm.com Twitter / Facebook IDs:

Re: DFSort support for REXX E15?

2014-02-23 Thread Martin Packer
Sri Hari, I think the original question was about using REXX in an E15 exit (or equivalently an E35). This is something I've contemplated doing in the past but the required machinery is beyond me (or at least my patience). :-) I'm also not sure about performance and function : If each pass

Re: class C3 commands taking long

2014-02-23 Thread R.S.
W dniu 2014-02-24 01:14, baby eklavya pisze: Hello , Any idea why MVS class C3 commands take so long to execute . What is class C3? -- Radoslaw Skorupka Lodz, Poland -- Tre tej wiadomoci moe zawiera informacje prawnie chronione Banku przeznaczone wycznie do uytku subowego