Re: Sftp implementation

2016-11-18 Thread Paul Gilmartin
On Sat, 19 Nov 2016 10:15:57 +0530, venkat kulkarni wrote: > >In our shop, we are not allowed to install Ubuntu or any other except >windows7, which is currently installed on our work station. Can you help me >with any other option to test this sftp with mainframe from my work station. > I've

Re: Sftp implementation

2016-11-18 Thread David Crayford
On 19/11/2016 12:45 PM, venkat kulkarni wrote: Hello David, In our shop, we are not allowed to install Ubuntu or any other except windows7, which is currently installed on our work station. Can you help me with any other option to test this sftp with mainframe from my work station. Ubuntu

Re: Sftp implementation

2016-11-18 Thread venkat kulkarni
Hello David, In our shop, we are not allowed to install Ubuntu or any other except windows7, which is currently installed on our work station. Can you help me with any other option to test this sftp with mainframe from my work station. On Sat, Nov 19, 2016 at 10:10 AM, David Crayford

Re: Sftp implementation

2016-11-18 Thread David Crayford
If you're running Windows 10 you can install Ubuntu Linux subsystem with a real bash shell and run sftp from the command line. That's what I do. It's great! No need for hypervisors like HyperV, VirtualBox etc. https://msdn.microsoft.com/en-au/commandline/wsl/install_guide On 19/11/2016 12:12

Re: LDAP on z/os

2016-11-18 Thread venkat kulkarni
Thank you all for response. Our idea is to have common LDAP server running somewhere else and we want login on z/OS Ex TSO, CICS, DB2, Netview etc should be authenticate using LDAP server. But the other option you mentioned in previous email, I could not able to understand having LDAP server

Re: Sftp implementation

2016-11-18 Thread venkat kulkarni
Thank you all for your response. So, my understanding after reading your comments on testing SFTP is to download Winscp client on my windows system and use this to transfer file between z/OS host ( SFTP configured ) and my windows system. Please correct me, if I am missing anything. Also, I

Re: Invalid characters in JCL symbols passed to SYSIN within a PROC

2016-11-18 Thread Paul Gilmartin
On Fri, 18 Nov 2016 18:52:34 -0600, Wendell Lovewell wrote: > Yeah, what Lizette said. But if you believe there's an invalid character in the name of a symbol, that name is only the characters prior to the invalid character, and that truncated symbol is probably undefined, so its name is treated

Re: z/OS 2.2 and z9

2016-11-18 Thread Jim Mulder
> >> 1. As far as I know z/OS 2.2 will not run on z9 machine - is it true? > >> > >> 2. What message one can expect when trying to IPL the z/OS 2.2 on the > > z9? > > > > Wait state code 07B > > A required processor facility is not available. The wait state reason code > > identifies the

Re: Invalid characters in JCL symbols passed to SYSIN within a PROC

2016-11-18 Thread Lizette Koehler
If you could show the JCL and messages, that will help Please provide more details. Lizette > -Original Message- > From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On > Behalf Of Wendell Lovewell > Sent: Friday, November 18, 2016 5:53 PM > To:

Invalid characters in JCL symbols passed to SYSIN within a PROC

2016-11-18 Thread Wendell Lovewell
-- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Re: TSO Help - showing incomplete information - Friday conundrum

2016-11-18 Thread J R
It's been a while, so I could be wrong, but I seem to recall that HELP's behaviour is influenced by the contents of ECTPCMD and ECTSCMD. Sent from my iPhone > On Nov 18, 2016, at 18:11, Jesse 1 Robinson wrote: > > As Ed says, it's always been like this. I believe

Re: Which STEPLIB concatenation is not authorized?

2016-11-18 Thread Jesse 1 Robinson
OK, I stand enlightened. A particular extent can be identified by unit address and from there back to volser. I abide by my previous post. I would rather see IBM work on more productive enhancements. Seriously, how long does it take to debug a broken APF environment? It happens rarely, and with

Re: TSO Help - showing incomplete information - Friday conundrum

2016-11-18 Thread Jesse 1 Robinson
As Ed says, it's always been like this. I believe that all commands with subcommands work like this. Take OPER, for example. You have to be in the command to get further help. If you're not allowed to get into the command, there's probably no reason for HELP to work. . . J.O.Skip Robinson

Re: z/OS 2.2 and z9

2016-11-18 Thread R.S.
W dniu 2016-11-18 o 18:20, Jim Mulder pisze: 1. As far as I know z/OS 2.2 will not run on z9 machine - is it true? 2. What message one can expect when trying to IPL the z/OS 2.2 on the z9? Wait state code 07B A required processor facility is not available. The wait state reason code

Re: TSO Help - showing incomplete information - Friday conundrum

2016-11-18 Thread Richards, Robert B.
I believe IBM is aware of the issue and has taken an APAR against it. IIRC, I saw an entry for it in a recent "IBM Notifications" email. -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Dyck, Lionel B. (TRA) Sent: Friday, November 18,

Re: [EXTERNAL] Re: TSO Help - showing incomplete information - Friday conundrum

2016-11-18 Thread Dyck, Lionel B. (TRA)
Guess my memory isn't what it used to be - or at least I can't remember what it used to be thanks -- Lionel B. Dyck (TRA Contractor) Mainframe Systems Programmer Enterprise Infrastructure Support (Station 200)

Re: [EXTERNAL] Re: TSO Help - showing incomplete information - Friday conundrum

2016-11-18 Thread Ed Jaffe
On 11/18/2016 12:18 PM, Dyck, Lionel B. (TRA) wrote: OK - that I guess makes some sense but not much :-) Yet, it has always been thus... -- Edward E Jaffe Phoenix Software International, Inc 831 Parkview Drive North El Segundo, CA 90245 http://www.phoenixsoftware.com/

Re: [EXTERNAL] Re: TSO Help - showing incomplete information - Friday conundrum

2016-11-18 Thread Dyck, Lionel B. (TRA)
OK - that I guess makes some sense but not much :-) Thanks for that insight -- Lionel B. Dyck (TRA Contractor) Mainframe Systems Programmer Enterprise Infrastructure Support (Station 200) (005OP6.3.10) VA OI Service

Re: TSO Help - showing incomplete information - Friday conundrum

2016-11-18 Thread Dana Mitchell
It seems to only be available when you are in the command in question, *then* issue help command: READY account ACCOUNT

Friday: stumbled upon

2016-11-18 Thread Paul Gilmartin
http://imgur.com/gallery/QVaFQ/comment/376627797 -- gil -- For IBM-MAIN subscribe / signoff / archive access instructions, send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

Re: Which STEPLIB concatenation is not authorized?

2016-11-18 Thread Ed Jaffe
On 11/18/2016 9:43 AM, Jesse 1 Robinson wrote: The fundamental difficulty of displaying/presenting the concatenation sequence goes to the heart of program fetch and DEB management in general. The mapping for a concatenation consists of a series of track extents for input I/O; VOLSER identity

Re: Which STEPLIB concatenation is not authorized?

2016-11-18 Thread Paul Gilmartin
On Fri, 18 Nov 2016 13:40:36 -0500, Jim Mulder wrote: >> So ... if our messages could readily say "not authorized -- check >> STEPLIB(+2)" > > So you would like OPEN, when it builds a DEB in which the >DEBAPFIN is off, to provide in some DEB extension the >concatenation number of some data

Re: Which STEPLIB concatenation is not authorized?

2016-11-18 Thread Jim Mulder
> So ... if our messages could readily say "not authorized -- check > STEPLIB(+2)" So you would like OPEN, when it builds a DEB in which the DEBAPFIN is off, to provide in some DEB extension the concatenation number of some data set which it found to be not APF Authorized. That may be a

Re: How to tell COBOL to read a concatenation of GDGs

2016-11-18 Thread Bill Woodger
Interestingly, a recommendation form IBM (under "DFSMSdfp: Accommodate changes in LISTCAT LEVEL output"): "Take steps to convert any programs that rely upon LISTCAT output to use the Catalog Search Interface (CSI) instead. CSI is a supported general-use programming interface for the catalog,

Re: Which STEPLIB concatenation is not authorized?

2016-11-18 Thread Charles Mills
Thanks, but you might want to read my OP. Charles -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Jesse 1 Robinson Sent: Friday, November 18, 2016 6:44 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: Which STEPLIB concatenation is not

Re: Which STEPLIB concatenation is not authorized?

2016-11-18 Thread Walt Farrell
On Fri, 18 Nov 2016 10:17:31 -0600, Paul Gilmartin wrote: >On Fri, 18 Nov 2016 07:21:20 -0600, Walt Farrell wrote: >> >>AC(1) is a setting in the directory entry for the load module, so all you >>would have to do is a BLDL and then look at the bit setting. However, unless

Re: How to tell COBOL to read a concatenation of GDGs

2016-11-18 Thread Tom Marchant
On Fri, 18 Nov 2016 11:42:33 -0600, Elardus Engelbrecht wrote: >I would suggest that you ensure that the dataset is freed / un-allocated >(BPXWDYN is very useful here) after the write and before the rename. Right. If it is allocated, the rename will fail. What do you do if another address space

Re: Which STEPLIB concatenation is not authorized?

2016-11-18 Thread Leonardo Vaz
Sorry to ask, but what do you mean by volume boundaries are no longer available? We have a process that goes from DEB to DSSB and then it copies both the dataset name at offset 24 and the volser at offset 256 of the DSSB. Regards, Leo -Original Message- From: IBM Mainframe Discussion

Re: Which STEPLIB concatenation is not authorized?

2016-11-18 Thread Jesse 1 Robinson
There are various ways to check whether the current environment is APF authorized. For example, the TESTAUTH macro will give a return code to indicate APF or not. No abend, just yay or nay. Given how simple it is to issue D PROG,APF, I for one would object to an IBM project for returning detail

Re: How to tell COBOL to read a concatenation of GDGs

2016-11-18 Thread Elardus Engelbrecht
Lizette Koehler wrote: >1) Identify the GDG base and what the To/From GDG Numbers are. I cannot use >Relative numbers as GDGs are always being created, so when the program starts >I want just the ones created at that time this program begins to execute. You have gotten good replies (CSI,

Re: z/OS 2.2 and z9

2016-11-18 Thread Jim Mulder
> 1. As far as I know z/OS 2.2 will not run on z9 machine - is it true? > > 2. What message one can expect when trying to IPL the z/OS 2.2 on the z9? Wait state code 07B A required processor facility is not available. The wait state reason code identifies the missing facility. Jim Mulder

Re: Which STEPLIB concatenation is not authorized?

2016-11-18 Thread Charles Mills
Thanks all ... Various responses: - I know AC(1) is not sufficient for authorization, but AC(0) is sufficient for a lack of authorization, so given my problem of "tell the customer everything that is wrong" it would be one thing you would want to tell the customer. (The least likely cause in

Re: How to tell COBOL to read a concatenation of GDGs

2016-11-18 Thread Farley, Peter x23353
The example given in the first link uses calls to the POSIX setenv() function to set the value of the environment variable. LE has a non-POSIX function to do the same thing, meaning you can create a regular load module in a PDS rather than a program object in a PDSE.

Re: Which STEPLIB concatenation is not authorized?

2016-11-18 Thread Tom Marchant
On Fri, 18 Nov 2016 14:26:38 +0200, Binyamin Dissen wrote: >Use the normal services (SWAREQ, RDJFCB, etc.) to get the DSNAMES/VOLSERs of >the STEPLIB libraries, and then > > CSVAPF REQUEST=QUERY > >on each one. And if you find that the data set name is not APF authorized, you will

Re: Which STEPLIB concatenation is not authorized?

2016-11-18 Thread Paul Gilmartin
On Fri, 18 Nov 2016 07:21:20 -0600, Walt Farrell wrote: > >AC(1) is a setting in the directory entry for the load module, so all you >would have to do is a BLDL and then look at the bit setting. However, unless >the bit is off I'm not sure it helps you figure anything out. > Naive question:

Re: How to tell COBOL to read a concatenation of GDGs

2016-11-18 Thread Lizette Koehler
Thank you everyone so far. Yes, I can use the BPXWDYN function for dynamic allocation. Just not REXX So it sounds like nothing native in Cobol. So my design is probably going to be Step 1 - IDCAMS ListC Step 2 - Cobol Read IDCAMS Listc and create a list of GDGs to process Using

Re: How to tell COBOL to read a concatenation of GDGs

2016-11-18 Thread Phil Sidler
See if this helps you. https://mainframe.elevengestures.com/processing-a-gdg-in-any-order/ A combination of using ISGCSI00 and COBOL's dynamic allocation http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/IGY3LR50/4.2.3.1

Re: z/OS 2.2 and z9

2016-11-18 Thread Lizette Koehler
>From the migration guide for 2.2 http://publibz.boulder.ibm.com/epubs/pdf/e0z3b111.pdf z/OS V2R2 is not supported on the following servers: IBM System z9 Enterprise Class (z9 EC) IBM System z9 Business Class (z9 BC) IBM eServer zSeries 990 (z990) IBM eServer zSeries 890 (z890) IBM

Re: How to tell COBOL to read a concatenation of GDGs

2016-11-18 Thread Bill Woodger
To access the files you will need to use "dynamic allocation". There's a couple of methods, and some search-engineing for Tom Ross COBOL Dynamic Allocation should get you some working examples. I'd LISTCAT to a data set, and read the data set in the COBOL program. Gives you a fixed point, a

Re: z/OS 2.2 and z9

2016-11-18 Thread Mark Jacobs - Listserv
I'd expect a wait state. Mark Jacobs R.S. November 18, 2016 at 10:43 AM 1. As far as I know z/OS 2.2 will not run on z9 machine - is it true? 2. What message one can expect when trying to IPL the z/OS 2.2 on the z9? -- Radoslaw Skorupka Lodz, Poland

z/OS 2.2 and z9

2016-11-18 Thread R.S.
1. As far as I know z/OS 2.2 will not run on z9 machine - is it true? 2. What message one can expect when trying to IPL the z/OS 2.2 on the z9? -- Radoslaw Skorupka Lodz, Poland --- Treść tej wiadomości może zawierać informacje prawnie chronione Banku przeznaczone wyłącznie do użytku

Re: How to tell COBOL to read a concatenation of GDGs

2016-11-18 Thread Tom Marchant
On Fri, 18 Nov 2016 07:54:06 -0700, Lizette Koehler wrote: >1) Identify the GDG base and what the To/From GDG Numbers are. I cannot use >Relative numbers as GDGs are always being created, so when the program starts I >want just the ones created at that time this program begins to execute. So it

Re: How to tell COBOL to read a concatenation of GDGs

2016-11-18 Thread Burrell, Todd
I'd probably try to accomplish this by doing a LISTCAT of the GDG Base and then I would pass that into a REXX exec to parse out the GDG versions into a STEM variable. You could then generate the JCL out of the same REXX to run the COBOL program separate times for each GDG version - and you

Re: How to tell COBOL to read a concatenation of GDGs

2016-11-18 Thread John McKown
On Fri, Nov 18, 2016 at 8:54 AM, Lizette Koehler wrote: > List - > > I am a very basic Cobol programmer - openfile/read rec/write rec/close file > > What I need to understand is how to do the following > > I want to either pass a parm or a DD statement that contains a

Re: IBM FTPS connect

2016-11-18 Thread Mark Pace
Thanks, Mike, but we have a different problem. We connect and logon just fine. The problem comes when the GET is sent for the data. The Data connection fails with a TLS error. On Fri, Nov 18, 2016 at 10:04 AM, Ward, Mike S wrote: > We were having problems also. We took an

Re: IBM FTPS connect

2016-11-18 Thread Ward, Mike S
We were having problems also. We took an SSL trace and noticed that the IBM server was requesting the GeoTrust certificate. This was strange since we received service in September without any problems. You might be missing the GeoTrust Global CA from your keyring:

How to tell COBOL to read a concatenation of GDGs

2016-11-18 Thread Lizette Koehler
List - I am a very basic Cobol programmer - openfile/read rec/write rec/close file What I need to understand is how to do the following I want to either pass a parm or a DD statement that contains a GDG Base //S1 EXEC PGM=X,PARM='GDGBASE' Or //S1 EXEC PGM=X //GDGBASE DD

Re: Which STEPLIB concatenation is not authorized?

2016-11-18 Thread Walt Farrell
On Fri, 18 Nov 2016 13:24:01 +, Vernooij, Kees (ITOPT1) - KLM wrote: >Even so: the fact that AC(1) is on still does not mean that the library is APF >authorized and that the module will run authorized. Right. That's why I said I didn't think he could draw any

Re: IBM FTPS connect

2016-11-18 Thread Mark Pace
Great minds. I created an Shopz order for an RSU yesterday. Still having problems with Data connection. Customer tried several changes on their firewall without any luck. They are now going to the vendor to try to figure why it isn't working. On Fri, Nov 18, 2016 at 8:50 AM, Kurt Quackenbush

Re: Sftp implementation

2016-11-18 Thread Kirk Wolf
SSH SFTP and FTP/S are both valid standards. SSH SFTP is more popular because it already included and configured on all Unix/Linux distributions. Both protocols are included in z/OS. Co:Z SFTP works with IBM z/OS OpenSSH to add support for data sets, codepage and format conversions, spool

Re: IBM FTPS connect

2016-11-18 Thread Kurt Quackenbush
On 11/17/2016 11:07 AM, Mark Pace wrote: But when I connect and try to download with the sample JCL., now it says it cannot find the file. Also when I went to look at the sample JCL again from the link on ShopZ. It says the PDF containing that JCL can not be found. I'm wondering if the

Re: Which STEPLIB concatenation is not authorized?

2016-11-18 Thread Vernooij, Kees (ITOPT1) - KLM
Even so: the fact that AC(1) is on still does not mean that the library is APF authorized and that the module will run authorized. Kees. -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Walt Farrell Sent: 18 November, 2016 14:21 To:

Re: Which STEPLIB concatenation is not authorized?

2016-11-18 Thread Walt Farrell
On Fri, 18 Nov 2016 12:26:41 +0100, Charles Mills wrote: >Even simpler question: is it possible for a program to check (only) its own >AC(1) bit?" I'm not sure I understand what you mean by "its own AC(1) bit". AC(1) is a setting in the directory entry for the load module,

Re: Sftp implementation

2016-11-18 Thread Walt Farrell
On Fri, 18 Nov 2016 15:39:50 +0530, venkat kulkarni wrote: >We are doing sftp implementation but I am not able to find way to test this >scenarios. For ftp, i can test using window cmd prompt and try transferring >files from mainframe to local system. > >But how do I

Re: Sftp implementation

2016-11-18 Thread Donald J.
psftp is an sftp client available with the putty download. -- Donald J. dona...@4email.net On Fri, Nov 18, 2016, at 02:09 AM, venkat kulkarni wrote: > Hello, > > We are doing sftp implementation but I am not able to find way to test this > scenarios. For ftp, i can test using window cmd

Re: Which STEPLIB concatenation is not authorized?

2016-11-18 Thread Vernooij, Kees (ITOPT1) - KLM
Well, the 'easiest' way still seems to me: check the libraries against the output from 'D PROG,APF'. Kees. -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Charles Mills Sent: 18 November, 2016 12:27 To: IBM-MAIN@LISTSERV.UA.EDU

Re: Which STEPLIB concatenation is not authorized?

2016-11-18 Thread Binyamin Dissen
Use the normal services (SWAREQ, RDJFCB, etc.) to get the DSNAMES/VOLSERs of the STEPLIB libraries, and then CSVAPF REQUEST=QUERY on each one. The DEB applies to the entire DD statement. On Fri, 18 Nov 2016 12:26:41 +0100 Charles Mills wrote: :>While we're

Re: Sftp implementation

2016-11-18 Thread David Crayford
On 18/11/2016 8:10 PM, Bigendian Smalls wrote: z/OS sftp client supports ASCII. And I believe the Co:Z sftp server that runs on z/OS does too along with lots of other goodies like spool access. That's good to know, cheers! I rarely use it with a properly configured FTP/S being more useful

Re: Sftp implementation

2016-11-18 Thread Bigendian Smalls
z/OS sftp client supports ASCII. And I believe the Co:Z sftp server that runs on z/OS does too along with lots of other goodies like spool access. That's good to know, cheers! I rarely use it with a properly configured FTP/S being more useful imo. But the sftp is handy for binary transfers

Re: Sftp implementation

2016-11-18 Thread David Crayford
On 18/11/2016 7:52 PM, Bigendian Smalls wrote: Any Linux or unix or MacOS has sftp built in. I believe only binary transfers are possible with these, you'll have to character convert separately. But it'll be sufficient to test your implementation. z/OS sftp client supports ASCII. And I

Re: Sftp implementation

2016-11-18 Thread Bigendian Smalls
Any Linux or unix or MacOS has sftp built in. I believe only binary transfers are possible with these, you'll have to character convert separately. But it'll be sufficient to test your implementation. > On Nov 18, 2016, at 05:10, David Crayford wrote: > > I've googled

Which STEPLIB concatenation is not authorized?

2016-11-18 Thread Charles Mills
While we're discussing STEPLIB concatenations and APF authorization, is there any fairly straightforward way for a running program to determine "which STEPLIB concatenation[s] made me not APF-authorized?" (I suspect I know the answer and it is No ...) I totally get the reason APF-authorization

Re: Sftp implementation

2016-11-18 Thread David Crayford
I've googled that for you http://www.sftp.net/clients#windows ;) If you're seriously considering sftp check out https://www.dovetail.com/products/sftp.html On 18/11/2016 6:09 PM, venkat kulkarni wrote: Hello, We are doing sftp implementation but I am not able to find way to test this

Sftp implementation

2016-11-18 Thread venkat kulkarni
Hello, We are doing sftp implementation but I am not able to find way to test this scenarios. For ftp, i can test using window cmd prompt and try transferring files from mainframe to local system. But how do I test this new sftp. Also wanted to check that if we have any constraint on sftp that