Re: sftp

2013-08-01 Thread Kirk Wolf
S won't be available to it. BPXBATSL might have worked. Kirk Wolf Dovetailed Technologies http://dovetail.com PS> Co:Z SFTP is free to use under our Community License and is easy to run from batch JCL http://dovetail.com/products/sftp.html http://dovetail.com/docs/sftp/client.html#client-b

Re: gzip zOS data set into zOS omvs file

2013-07-19 Thread Kirk Wolf
.* //DD:INPDS1 //DD:INPDS2(FOO*) Kirk Wolf Dovetailed Technologies http://dovetail.com PS> This page has the JZOS sample downloads (including source with javadoc) : http://www-03.ibm.com/systems/z/os/zos/tools/java/products/jzos/jzossamp.html The 2.3.0 version includes ZipDatasets, but the

Re: Buffering: stdout vs. stderr?

2013-07-15 Thread Kirk Wolf
Gil, I agree; that sounds like a defect (or enhancement? :-) On Mon, Jul 15, 2013 at 10:38 AM, Paul Gilmartin wrote: > On Mon, 15 Jul 2013 09:23:40 -0500, Kirk Wolf wrote: > > > >Maybe that is one of the "enhancements" ? :-) > > > Exoskeletal "enhanceme

Re: Buffering: stdout vs. stderr?

2013-07-15 Thread Kirk Wolf
Gil, Maybe that is one of the "enhancements" ? :-) Actually this seems to be an issue with the stream buffering strategy. See the C/C++ RTL Ref for "setvbuf()". Maybe you need to explicitly call setvbuf() for stdout/stderr with __LIBASCII ?? Kirk Wolf Dovetail

Re: SMF record - IPADDR

2013-07-15 Thread Kirk Wolf
ibed* all of the SMF records. This could then be translated into code in your favorite programming language so that all SMF records could be decoded (with substructures, etc). Kirk Wolf Dovetailed Technologies http://dovetail.com On Mon, Jul 15, 2013 at 8:55 AM, Martin Packer wrote: > Wh

Re: SMF record - IPADDR

2013-07-15 Thread Kirk Wolf
IMO, the problem with SMF records is not the documentation. I would like to see IBM publish some sort of machine-readable schema document (say, in XML or JSON) for each record that describes the structure and datatypes in each record. Kirk Wolf Dovetailed Technologies http://dovetail.com On

Re: Reading PDS/PDSE members from within COBOL in a loop

2013-07-09 Thread Kirk Wolf
This technique also works in C or Java. Unfortunately, the overhead of allocate/open/close/free for each member does not yield good performance if that matters for your application. It is a pity, IMO, that the C library does not include BPAM extensions to fopen() Kirk Wolf Dovetailed

Re: SSH Performance

2013-07-08 Thread Kirk Wolf
On Mon, Jul 8, 2013 at 9:46 AM, Mark Pace wrote: > One thing that will make ssh connection really slow is if it does not have > access to a resolver. > > an *excellent* point. but in that case, it might even be longer than 14 seconds :-) Again, an sshd trace should identify the cu

Re: SSH Performance

2013-07-08 Thread Kirk Wolf
pport. Anyone who is still using the crappy ssh-rand-helper instead of ICSF /dev/random should look into HCR77A0, which is MUCH better. ssh-rand-helper is terrible - slow and expensive and not as secure. Kirk Wolf Dovetailed Technologies http://dovetail.com On Mon, Jul 8, 2013 at 9:16 AM, D

Re: Quote on http://slashdot.org

2013-06-25 Thread Kirk Wolf
But IMO not the funniest IBM-related post on /. Check this out: http://developers.slashdot.org/story/04/03/24/0034224/rexx-is-still-strong-after-25-years and find "Rexxperts" Kirk Wolf Dovetailed Technologies http://dovetail.com On Tue, Jun 25, 2013 at 7:23 AM, John McKown wrote:

Re: free zIP/UNZIP in z/OS

2013-06-24 Thread Kirk Wolf
FWIW, the "jar" command is just a special launcher for the Java class "sun.tools.jar.Main". The heavy lifting is done by the "java.util.zip" package, which provides a public API. The "jar" command is written only to support z/OS Unix files, but the ZipDatasets sample class (source provided) supp

Re: free zIP/UNZIP in z/OS

2013-06-21 Thread Kirk Wolf
There is a link to the samples download from the main IBM JZOS page: http://www-03.ibm.com/systems/z/os/zos/tools/java/products/jzos/overview.html This also contains links to download javadoc, read javadoc online, etc Kirk Wolf Dovetailed Technologies http://dovetail.com On Fri, Jun 21, 2013

Re: free zIP/UNZIP in z/OS

2013-06-21 Thread Kirk Wolf
it to your needs. Kirk Wolf Dovetailed Technologies http://dovetail.com On Fri, Jun 21, 2013 at 8:35 AM, Paul Gilmartin wrote: > On Fri, 21 Jun 2013 12:55:23 +, Barkow, Eileen wrote: > > >Check out the sample zip program supplied with JZOS - > >com.ibm.jzos.sam

Re: Retrieving jobs of input queue

2013-06-18 Thread Kirk Wolf
You can use the "lsjes" command: See: https://www.dovetail.com/docs/coz/dsp-ref_lsjes.html This could be called from REXX using bpxwunix() or the SH host command environment. Also, the "fromdsn" command can be used to extract spool files for a job. Kirk Wolf Dovetail

Re: Unix ID command and username value

2013-06-18 Thread Kirk Wolf
You could intentionally shoot yourself in the foot, but it is not recommended :-) Which userid is looked up is "undefined". Also, many programs that look up the "home directory" for one of these userids will get the wrong home directory. Kirk Wolf Dovetailed Technologies

Re: Ported Tools - Unix

2013-06-17 Thread Kirk Wolf
include OpenSSH. If anyone has links to additional IBM announcements, please post them. Kirk Wolf Dovetailed Technologies http://dovetail.com On Mon, Jun 17, 2013 at 10:37 AM, Mark Jacobs wrote: > On 06/17/13 10:09, Walter Marguccio wrote: > >> >> >> AFAIK

Re: HTTP Server

2013-06-06 Thread Kirk Wolf
NET / multiple stacks? http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/F1A1B3A1/1.2.13.2?DT=20110121133557 Kirk Wolf Dovetailed Technologies http://dovetail.com On Thu, Jun 6, 2013 at 8:08 AM, Mark Pace wrote: > I'm trying to setup the HTTP server from IBM Ported tools. I

Re: Getting DD DISP

2013-05-29 Thread Kirk Wolf
Walt - I have a reason where I would like to check for MOD. I'm aware that the NEW bit can also be set. Kirk Wolf Dovetailed Technologies http://dovetail.com On Wed, May 29, 2013 at 5:50 PM, Walt Farrell wrote: > On Wed, 29 May 2013 16:54:49 -0500, Kirk Wolf wrote: > > >Is

Re: Getting DD DISP

2013-05-29 Thread Kirk Wolf
LOL. I guess I'm lazy - I already had some code that scanned the TIOT to see if a given DD existed, and I wanted to extend to return the DISP. I was *SURE* that the IEFTIOT1/TIOENTRY would have those flags ..... Kirk Wolf Dovetailed Technologies http://dovetail.com On Wed, May 29, 2013 at

Getting DD DISP

2013-05-29 Thread Kirk Wolf
Is there an easy way for a program to get the DISP (NEW/MOD/SHR/OLD) of a DD from the TIOT, or do you have to do a RDJFCB? Thanks, Kirk Wolf Dovetailed Technologies http://dovetail.com -- For IBM-MAIN subscribe / signoff

Re: From Linux to MVS via USS and Back

2013-05-22 Thread Kirk Wolf
Control-M can trigger jobs based on data set creation by FTP and Co:Z SFTP, although the vendor had a PTF several years ago to address some issue with this. Kirk Wolf Dovetailed Technologies http://dovetail.com On Wed, May 22, 2013 at 10:28 AM, Roberts, John J wrote: > Here at DHS we are develo

Re: Rather interesting article on "hacking the mainframe" using ftp

2013-05-21 Thread Kirk Wolf
I don't consider the article useless. The take away should be: if you don't lock down your FTP(only) users so that they can't submit jobs then they might do things that you didn't expect. Also, you should secure your system so that arbitrary jobs cannot bind to TCP ports. -

Re: Rather interesting article on "hacking the mainframe" using ftp

2013-05-19 Thread Kirk Wolf
exit could be used to prevent either - permission to submit a job SAF and/or a FTP exit could limit this - job would need permission to listen on a port - user could be prevented from running a shell "default program" in OMVS segment Kirk Wolf Dovetailed Technologies http://do

Re: XMIT Manager

2013-05-17 Thread Kirk Wolf
kages for Windows, Mac, Linux, etc. The source is also available under GPLv3, so if you don't like it you have the freedom to change it. Kirk Wolf Dovetailed Technologies http://dovetail.com On Fri, May 17, 2013 at 10:17 AM, Paul Gilmartin wrote: > On Fri, 17 May 2013 10:43:43 -0400,

Re: SFTP to send a file to OMVS

2013-05-16 Thread Kirk Wolf
Hi Domenic, Co:Z SFTP supports direct access to z/OS data sets. So, most scheduling packages will support triggering. If not, we also support FTP-compatible exits and SMF records, so it is possible to use an exit to trigger a job. Kirk Wolf Dovetailed Technologies http://dovetail.com Co:Z

Re: Co:z SFTP and Public/Private Key Authentication

2013-05-14 Thread Kirk Wolf
On Mon, May 13, 2013 at 6:26 PM, Paul Gilmartin wrote: > On Mon, 13 May 2013 15:15:06 -0500, Kirk Wolf wrote: > > > > What!? Have you no respect for the many decades of rich tradition behind > the 3270? And scant appreciation for ISPF and OEDIT and OBROWSE? What > do your

Re: Co:z SFTP and Public/Private Key Authentication

2013-05-13 Thread Kirk Wolf
ty that doesn't support masking is detected. BTW - I always use an ssh telnet shell under z/OS rather than TSO OMVS, which is brain-dead by comparison ( IMO :-) Kirk Wolf Dovetailed Technologies http://dovetail.com On Mon, May 13, 2013 at 8:43 AM, Paul Gilmartin wrote: > On Mon, 13 May 201

Re: Co:z SFTP and Public/Private Key Authentication

2013-05-13 Thread Kirk Wolf
/OS: OpenSSH - Using Key Rings (Part 2) http://dovetail.com/webinars.html Kirk Wolf Dovetailed Technologies http://dovetail.com On Mon, May 13, 2013 at 12:11 AM, Roger Lowe wrote: > Hi Listers, >We are trying to use Co: z SFTP in batch with > Public/Private key authentic

Re: "as" OpenMVS assembler always gives ASMA935U

2013-05-03 Thread Kirk Wolf
FWIW, when I'm using the z/OS Unix shell, I usually set: export _BPXK_JOBLOG=STDERR -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Re: "as" OpenMVS assembler always gives ASMA935U

2013-05-02 Thread Kirk Wolf
files could not be opened. After this message is issued, the assembly stops. *Programmer* *Response:* Check the associated message or messages. So, did you get any other associated messages? If not, it is a bug IMO. Open a ETR. Kirk Wolf Dovetailed Technologies http://dovetail.com On Thu

Re: Moving PAX file to a directory

2013-04-19 Thread Kirk Wolf
arate address space? Kirk Wolf Dovetailed Technologies http://dovetail.com See: http://www.dovetail.com/products/cozbatch.html for a free sane solution, ie: //UNPAXDIR EXEC PGM=*COZBATCH* //STDIN DD * cd /u/maint/ca/pax pax -rvf productpaxfile.pax.Z //STDOUT DD SYSOUT=* //STDERR DD SYSOUT=* // On Fri

Re: Fw: Adobe-PDF

2013-03-29 Thread Kirk Wolf
ssing to a Linux box/blade/IFL using our Co:Z Hybrid batch toolkit. (generating PDFs is quite resource intensive, so there are some very good reasons to offload it) http://dovetail.com/products/casestudyitext.html Kirk Wolf Dovetailed Technologies http://dovetail.com On Fri, Mar 29, 2013 at 2:

Re: BPXBATCH copy to mvs-ds FSUM6259

2013-03-18 Thread Kirk Wolf
it is the same address space). Kirk Wolf Dovetailed Technologies http://dovetail.com PS> the mvs-oe forum used to be nearly completely dedicated to problems like this, search the archives ;-) On Mon, Mar 18, 2013 at 9:20 AM, Paul Gilmartin wrote: > On Mon, 18 Mar 2013 15:01:34 +0100, Mi

Re: BPXBATCH copy to mvs-ds FSUM6259

2013-03-17 Thread Kirk Wolf
As Paul pointed out, the problem is that you are running your shell script in a different address space. You might want to look at BPXBATSL, or even better Co:Z Batch. For a comparison of various tools, see the table here: http://dovetail.com/products/cozbatch.html Kirk Wolf Dovetailed

Re: USS "date" command, subtract one day

2013-03-14 Thread Kirk Wolf
he local time less a day and an hour) Kirk Wolf Dovetailed Technologies http://dovetail.com #define _LARGE_TIME_API #define _XOPEN_SOURCE_EXTENDED 1 #include #include #include /* dateoff - display current date/time after applying optional offsets to build: cc -o dateoff dateoff.c

Re: USS "date" command, subtract one day

2013-03-14 Thread Kirk Wolf
gle "perl date arithmetic"). I was thinking that another path might be to write a shell script in REXX and use the Unix syscalls. But the one you really need, mktime(), isn't listed in the "Using REXX with Unix System Services". Pity, that would have been quite doable.

Re: JZOS batch launcher (JVMLDMxx) APF ?

2013-03-07 Thread Kirk Wolf
See this: http://www.ibm.com/developerworks/forums/thread.jspa?threadID=256965&tstart=0 Kirk Wolf Dovetailed Technologies http://dovetail.com On Thu, Mar 7, 2013 at 9:39 AM, ESHEL Jonathan wrote: > Hello list, > > Has anyone ever tried to use the JZOS batch launcher to launch a

Re: 2.1 UNIX Enhancements (was: SFTP vs. FTPS)

2013-02-13 Thread Kirk Wolf
Gil, See: http://publib.boulder.ibm.com/infocenter/zosmf/vxrx/index.jsp?topic=%2Fcom.ibm.zosmf.configguide.help.doc%2FIZUHPINFO_API_RESTJOBS.html These are "restful" web services APIs, for interfacing with JES2 or JES3. Kirk Wolf Dovetailed Technologies http://dovetail.com On Wed, Fe

Re: 2.1 UNIX Enhancements (was: SFTP vs. FTPS)

2013-02-12 Thread Kirk Wolf
Tim, How is z/OSMF being enhanced to submit jobs to z/OS Unix??? (or what does the preview say that leads you to believe this? ) Kirk Wolf Dovetailed Technologies http://dovetail.com +1 636.300.0901 On Tue, Feb 12, 2013 at 4:57 AM, Timothy Sipples wrote: > I'm reliably informed ther

Re: SFTP vs. FTPS (was: z/OS v2.1 preview)

2013-02-08 Thread Kirk Wolf
On Thu, Feb 7, 2013 at 7:15 PM, Paul Gilmartin wrote: > On Thu, 7 Feb 2013 14:20:02 -0600, Kirk Wolf wrote: > > >Walt, > > > >You are correct - FTP is more prevalent in z/OS shops. > > > >SFTP is much more prevalent in distributed systems since OpenSSH is >

Re: Opinion: Why it is better to "log" to a UNIX file than a sequential data set.

2013-02-08 Thread Kirk Wolf
Also consider syslogd, especially for logging of "system" functions. This allows you to categorize, filter, and direct logs to unix files that are automatically archived to z/OS datasets. More info can be found in the Comm Server doc. Kirk Wolf Dovetailed Technologies http://dovetail.c

Re: SFTP vs. FTPS (was: z/OS v2.1 preview)

2013-02-07 Thread Kirk Wolf
navigating modern networks. Kirk Wolf Dovetailed Technologies http://dovetail.com +1 636.300.0901 On Wed, Feb 6, 2013 at 12:11 PM, Walt Farrell wrote: > On Wed, 6 Feb 2013 09:27:18 -0600, Paul Gilmartin > wrote: > > >On Wed, 6 Feb 2013 08:57:41 -0600, Walt Farrell wrote: > >>&

Re: iconv() in USS

2013-01-31 Thread Kirk Wolf
echnique"), you can use the "_ICONV_TECHNIQUE" environment variable to reference it. Kirk Wolf Dovetailed Technologies http://dovetail.com FWIW, you might want to look at the Co:Z Toolkit "todsn" / "fromdsn" / "tofile" / "fromfile" commands.

Re: R statistical language.

2013-01-21 Thread Kirk Wolf
imensional multiple regression # The dataset is read from a DD using "fromdsn" in a R pipe file. # The source of the data is: # www.sci.usq.edu.au/staff/dunn/Datasets/applications/health/lifeexp.html R --no-save <http://dovetail.com/products/casestudysas.html Kirk Wolf Dovetailed Technolog

Re: Beware BPXWDYN (Was: Problem with REXX using OMVS stuff...)

2013-01-14 Thread Kirk Wolf
Right: It makes sense to me that BPXWDYN would have to dub if you had MSG(2). Ed: is that what you had? -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: I

Re: FTP variable block dataset from z/OS to Windows and back

2013-01-11 Thread Kirk Wolf
I'm not sure if it is related, but the IBM C library has a wierd feature (bug) - search the IBM C/C++ Programmers Guide for "_EDC_ZERO_RECLEN". Warning: the documentation is pretty confusing. On Fri, Jan 11, 2013 at 10:02 AM, Paul Gilmartin wrote: > On Fri, 11 Jan 2013 08:18:37 -0500, Steven St

Re: How to load logical load x'ac'

2012-12-07 Thread Kirk Wolf
I think that you answered your own question. Use IBM-1047 with your emulator and file transfers and you won't have to do anything. Kirk Wolf Dovetailed Technologies http://dovetail.com On Fri, Dec 7, 2012 at 9:37 AM, Ze'ev Atlas wrote: > Hi all > I edit my sourcecode base in

Re: Announcing z/OS port of PCRE 8.31 - version 0.1 beta

2012-12-06 Thread Kirk Wolf
Ze'ev, z/OS Unix certainly does have make. Its not a problem building C and assembler source into a regular load module with make; you just have to put your source in a z/OS Unix directory. There is also a port of gmake available; some Posix FOSS software won't build with the z/OS m

_BPXK_INET_FASTPATH and POSIX signals

2012-11-29 Thread Kirk Wolf
s?) Thanks for any info. Kirk Wolf Dovetailed Technologies http://dovetail.com -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Re: OMVS su -

2012-11-26 Thread Kirk Wolf
The filesystem has the uid, not the userid. If you have multiple userids using uid(0), then when it maps the uid to a userid it just picks one :-) Kirk Wolf Dovetailed Technologies http://dovetail.com +1 636.300.0901 On Mon, Nov 26, 2012 at 10:48 AM, Donald J. wrote: > No, that's do

Re: Keyrings and OPENSSH

2012-11-14 Thread Kirk Wolf
If you use cozsftp -k and the specified keyring:label is not found, you will get an error message but it will fall back and use the default ~/.ssh/id_rsa private key Kirk Wolf Dovetailed Technologies http://dovetail.com On Wed, Nov 14, 2012 at 7:14 AM, Mark Jacobs wrote: > IBM has confir

Re: .netrc on zLinux - FTP to zos

2012-11-09 Thread Kirk Wolf
A matter of preference, but I prefer Unix "here documents" to echo whatever | command : ftp Now if the archaic z/OS shell would only support "process substitution"... On Thu, Nov 8, 2012 at 7:05 PM, John McKown wrote: > > > Another thing that I often do in scripts (w

Re: Keyrings and OPENSSH

2012-11-07 Thread Kirk Wolf
- ICSF and co-processor are used for RSA algorithms - the syntax is easier, and supports default labels Kirk Wolf Dovetailed Technologies http://dovetail.com On Wed, Nov 7, 2012 at 6:22 AM, Mark Jacobs wrote: > No it didn't. > > $ ssh aimj@tcs1 > FOTS2916 zsshGetKeyFromKeyRi

Re: Keyrings and OPENSSH

2012-11-06 Thread Kirk Wolf
Sorry, I don't know if it will try both. On Tue, Nov 6, 2012 at 2:21 PM, Mark Jacobs wrote: > Thank you. Do you know what will happen if the SFTP userid doesn't yet > have a keyring configured? Will it still use the existing openssh private > key? > > > --

Re: Keyrings and OPENSSH

2012-11-06 Thread Kirk Wolf
You could use the _ZOS_USER_SSH_CONFIG environment variable to point all to the same file. In that file, you could have: IdentityKeyRingLabel "* SSH-KEY" This would use the user's virtual keyring and label "SSH-KEY". Kirk Wolf Dovetailed Technologies http://dovetail.

Re: Keyrings and OPENSSH

2012-11-06 Thread Kirk Wolf
ivate key between users? This can be done, but the required SAF permissions are a little tricky and not documented very well. Kirk Wolf Dovetailed Technologies http://dovetail.com +1 636.300.0901 On Tue, Nov 6, 2012 at 12:32 PM, Mark Jacobs wrote: > Before I dig even further into the manua

Re: OT? But a nice article about IDEs

2012-10-30 Thread Kirk Wolf
uments/keywords - context-sensitive help for the 600 new instructions :-) - quickly navigate to all references to a symbol - maybe with a couple of keystrokes you could show the generated code, etc. Ideally, the IDE would on the surface seem look like PDF, since otherwise you would never get anyone

Re: Access z/OS SYSLOG via FTP?

2012-10-19 Thread Kirk Wolf
ria-based record I/O, but if so then that might be an option. Kirk Wolf Dovetailed Technologies http://dovetail.com On Fri, Oct 19, 2012 at 2:13 PM, Charles Mills wrote: > FTP can access the JES queues -- job output and submission anyway. > > SYSLOG is a JES facility. > > Ergo

Re: OpenPGP Encryption

2012-10-09 Thread Kirk Wolf
communications are encrypted in a secure SSH connection, but you can avoid this cost if the *nix appliance is connected to z/OS via a secure network (e.g: IEDN, Hipersocket, etc). Kirk Wolf Dovetailed Technologies http://dovetail.com -- For

Re: EDC5167I Access to the UNIX System Services version of the C RTL is denied

2012-10-01 Thread Kirk Wolf
ther parm options'. > > > We generally set this option in each compile unit, via a #pragma > > That would be my intent once I got things sorted out. > > Charles > > -Original Message- > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On &g

Re: EDC5167I Access to the UNIX System Services version of the C RTL is denied

2012-10-01 Thread Kirk Wolf
Is there more than one main() program? If so and they run in the same enclave, then they need to use the same C RTL. How are you setting POSIX(ON)? At run time? We generally set this option in each compile unit, via a #pragma: #pragma runopts(POSIX(ON)) Kirk Wolf Dovetailed Technologies http

Re: Metal C runtime safe for dynamic LINKing?

2012-09-21 Thread Kirk Wolf
As I understand it, you only need to make sure that your code uses the right environment token (returned as R12). So, you could switch between environments if careful. Kirk Wolf Dovetailed Technologies http://dovetail.com On Fri, Sep 21, 2012 at 10:48 AM, Farley, Peter x23353 < peter.

Re: Strings

2012-09-18 Thread Kirk Wolf
igger language: the more complicated features like templates can be complicated to use and we tend to mostly avoid them. Our C++ code looks mostly like C with judicious use of classes, RAII, exceptions, etc. Kirk Wolf Dovetailed Technologies http://dovetail.com On Tue, Sep 18, 2012 at 7:21 AM,

Re: Anyone know how to copy a PDS directory as a flat file?

2012-09-06 Thread Kirk Wolf
I'm certain that you can read a PDS directory by specifying a DD with DSORG=PS,RECFM=F,LRECL=256,BLKSIZE=256. But don't PDS directory blocks have keys on disk? IEBGENER won't copy those - your target dataset will be regular DSORG=PS. Kirk Wolf Dovetailed Technologies http://

Re: Strings (hijacked from: The IBM zEnterprise EC12 announcment)

2012-09-05 Thread Kirk Wolf
careful coding practices (which many programmers implement in C macros or C++ inline functions). Modern C/C++ compilers treat several of the str* functions as inlined instrinsics. For example, the z/OS C compiler typically generates an inline MVST instruction for strncpy(). Kirk Wolf Dovetail

Re: Strings (hijacked from: The IBM zEnterprise EC12 announcment)

2012-09-04 Thread Kirk Wolf
) >= sizeof(Jobn) (BTW - strncpy() also zeros bytes after the terminator, if necessary) For more information, see: http://www.courtesan.com/todd/papers/strlcpy.html under "Common Misconceptions" Kirk Wolf Dovetailed Technologies PS> The above strncpy() idiom will truncate a source s

Re: Strings (hijacked from: The IBM zEnterprise EC12 announcment)

2012-09-04 Thread Kirk Wolf
iables) is strongly typed and programmers can't manipulate memory directly are considerably safer from these sorts of attack vectors. And C is probably here to stay (consider IFL sales) :-) Kirk Wolf Dovetailed Technologies http://dovetail.com PS> As an attempt to tie back to the original

Re: The IBM zEnterprise EC12 announcment

2012-09-03 Thread Kirk Wolf
profilers, assembler listings, etc, etc. Kirk Wolf Dovetailed Technologies http://dovetail.com On Sat, Sep 1, 2012 at 5:15 PM, Scott Ford wrote: > John, > > With what heard about the Java performance hit, it's relativity a slow > performer. > What I see of C it's ok but, t

Re: OT, but a perfect story for a Friday.

2012-08-31 Thread Kirk Wolf
LOL. Love the reference :-) On Fri, Aug 31, 2012 at 3:19 PM, Grinsell, Don wrote: > So how does one stealthily make off with that much maple syrup? It's not > exactly like you hide it in your briefcase and waltz out the door. This > sounds like the work of Snidely Whiplash and his gang. > >

Re: Too true to be funny - 51% of the surveyed Americans think that stormy weather can interfere with the functionality of the cloud.

2012-08-30 Thread Kirk Wolf
I remember years ago, when I worked at an insurance company, that we fired a network help desk guy... when users called in to say that their remote 3270 cluster was down he liked to ask them to look outside to see if there were any birds on the phone line. On Thu, Aug 30, 2012 at 8:39 AM, McKown,

Re: C Compiler on z/OS 1.11

2012-08-29 Thread Kirk Wolf
regression testing if you switch compilers. IBM seems to follow this practice on their products (pointing to specific compiler libraries for builds) Kirk Wolf Dovetailed Technologies http://dovetail.com On Wed, Aug 29, 2012 at 8:34 AM, John Eells wrote: > OK, so I have to ask: Isn't it a lot si

Re: C Compiler on z/OS 1.11

2012-08-29 Thread Kirk Wolf
command), etc. Kirk Wolf Dovetailed Technologies http://dovetail.com On Wed, Aug 29, 2012 at 7:58 AM, saurabh khandelwal < sourabhkhandelwal...@gmail.com> wrote: > Hello John, > Thanks for reply. Each of z/OS contain different set > of dataset required for

Re: Java 7 vulnerability

2012-08-28 Thread Kirk Wolf
browser - the SecurityManager boxes the network-loaded code in a sandbox. Not the typical scenario for z. But you could contact IBM to inquire if your IBM SDK is affected Kirk Wolf Dovetailed Technologies http://dovetail.com On Tue, Aug 28, 2012 at 2:34 PM, Mike Schwab wrote: > >

Re: The IBM zEnterprise EC12 announcment

2012-08-28 Thread Kirk Wolf
012 10:39:03 -0500, Kirk Wolf wrote: > > > >UTF-16 is used in Java (and other languages) as the internal > representation > >of characters and strings (each character represented by two bytes). > > > No. Not according to: > > http://en.wikipedia.o

Re: The IBM zEnterprise EC12 announcment

2012-08-28 Thread Kirk Wolf
:-) I assume that the CPACF Co-processor assists with UTF8-16 conversion instructions, as well as compression instructions. I guess that somehow IBM considers this "crypto" since its on the crypto co-processor. Kirk Wolf Dovetailed Technologies http://dovetail.com On Tue, Aug 28, 20

Re: "execs" or "scripts"

2012-08-27 Thread Kirk Wolf
ing: http://www.khanacademy.org/cs If you haven't seen it, its worth a look - if only to realize that new programmers will expect a little more than PDF, or even RDz :-) Kirk Wolf Dovetailed Technologies http://dovetail.com PS> For some reason, this REXX-related slashdot post made me R

Re: X86 server

2012-08-27 Thread Kirk Wolf
e servers, based on workload information provided by zURM. http://dovetail.com/products/loadbalancer.html Kirk Wolf Dovetailed Technologies http://dovetail.com The Co:Z Toolkit is free to use; license and support agreements are also ava

Re: Valid DATACLAS names - where documented?

2012-08-13 Thread Kirk Wolf
allation. > > I guess, not really, but in section 4.2 Character Sets > > > Dave Gibney > Information Technology Services > Washington State University > > > > -Original Message- > > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA

Re: Valid DATACLAS names - where documented?

2012-08-13 Thread Kirk Wolf
is DATACLAS=, where is any > DATACLAS defined by the user site in ISMF :) > > Dave Gibney > Information Technology Services > Washington State University > > > -Original Message- > > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.

Valid DATACLAS names - where documented?

2012-08-13 Thread Kirk Wolf
I'm sorry if I'm dense, but I can't find this in the FM. Does anyone know where the valid syntax of a DATACLAS name is documented? Kirk Wolf Dovetailed Technologies http://dovetail.com -- For IBM-MAIN subs

Re: GUIfication of tn3270 screens

2012-08-13 Thread Kirk Wolf
t tried it, but I think that there are already plugins for the Eclipse CDT (C/C++ IDE) that allow you to remotely debug your code over a ssh/dbx connection. Not sure if they work with z/OS dbx though. Kirk Wolf Dovetailed Technologies http://dovetail.com +1 636.300.0901 PS> Tim kindly ment

Re: Open SSH Unix Secure Shell CPU Consumption

2012-08-09 Thread Kirk Wolf
ption. If you can verify that the CPU consumption is by OpenSSH and not a user process, then I would recommend that you open a problem with IBM. Regards, Kirk Wolf Dovetailed Technologies http://dovetail.com On Thu, Aug 9, 2012 at 7:58 AM, Martyn Jones wrote: > One of our clients has a p

Re: Authorized Rexx Assembler Function

2012-07-31 Thread Kirk Wolf
Also, a non-local spawn may not require a new address space if there is one available in the pool managed by WLM for BPXAS. On Tue, Jul 31, 2012 at 11:42 AM, McKown, John wrote: > I think gil is protesting the fact that spawn() can run multiple, logically > separate, processes in a single addres

Re: Using SSH or SCP in REXX under TSO

2012-07-29 Thread Kirk Wolf
financial institutions in the world are enterprise customers. Please contact me offline if you need more information. Regards, Kirk Wolf Dovetailed Technologies http://dovetail.com On Thu, Jul 26, 2012 at 9:35 AM, Uriel Carrasquilla < uriel.carrasqui...@mail.mcgill.ca> wrote: &g

Re: useful? XML "encoded" SMF.

2012-07-24 Thread Kirk Wolf
but these don't have real data-types in them and lack sufficient semantics to deduce even basic types. Kirk Wolf Dovetailed Technologies http://dovetail.com -- For IBM-MAIN subscribe / signoff / archive access instructions

Re: Help with elementary CPU speed question

2012-07-17 Thread Kirk Wolf
g at a new machine from IBM. Kirk Wolf Dovetailed Technologies http://dovetail.com -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Re: OT: I received a purported .doc file which appears to be a zip file full of XMLs

2012-07-16 Thread Kirk Wolf
If you don't have a version of MS Word that supports it, you can load it using the free OpenOffice / LibreOffice and then "save as" the older format. Kirk Wolf Dovetailed Technologies http://dovetail.com On Mon, Jul 16, 2012 at 5:49 AM, Andrew Rowley wrote: > Word 2007 change

Re: PTF: UA63842 - verifying it is working

2012-07-10 Thread Kirk Wolf
using the ssh client (with -vv option). Verifying sshd is a little trickier - you would have to start up a debug version I guess. But just watching the CPU during a large transfer is usually convincing ;-) BTW: "ssh -vv" will also print out a table of your CPACF capabilities. Kirk Wol

Re: Co:Z SPTF OMVS segment duplicate

2012-06-21 Thread Kirk Wolf
u could do this: ssh_opts="$ssh_opts -oIdentityFile=~/.ssh/id_rsa" 2) even better, put your RSA key in a RACF key ring: ssh_opts="$ssh_opts -k *:MYLABEL" We recently did a two-part webinar on using keys with IBM Ported Tools OpenSSH, see: http://dovetail.com/webinars.html fo

Re: IEBPTPCH questions

2012-06-19 Thread Kirk Wolf
Gil, Good points. I was also thinking that it might be useful to unload/reload a PDS or PDSE in tar format.Its a pity that the z/OS pax command doesn't support this. It would solve the transparency problem, and also would be good for platform interchange. Kirk Wolf Dovetailed Technol

Re: IEBPTPCH questions

2012-06-18 Thread Kirk Wolf
eally work for my use case. the CBT utility that outputs in IEBUPDTE format is really the best, but I was looking for something standard that I could wrap in a REXX script so that end-users would need to install anything else. Kirk Wolf Dovetailed Technologies http://dovetail.com --

IEBPTPCH questions

2012-06-18 Thread Kirk Wolf
" as the ASA control character, which doesn't make much sense. 2) Does anyone know if I specify DISP=SHR on SYSUT1 for a PDS if there is a data integrity problem if another job adds a member or even compresses the PDS? Thanks! Kirk Wolf Dovetailed Technologies http://dovetail.com PS>

<    3   4   5   6   7   8