Re: VISARA Consoles FICON Get 505, 510

2013-07-29 Thread Timothy Sipples
Ed Jaffe remarks:
It's been three years since the IBM's July 2010 SOD first warned
that z196/z114 would be the last generation to offer ESCON channels.

For the record, IBM announcement letter 109-230, issued on April 28, 2009,
contained the following statement:

ESCON® channels will be phased out. It is IBM's intent for ESCON channels
to be phased out.

The first sentence was helpfully bolded. IBM then progressively phased out
ESCON. The z10 EC/BC models were the last servers to support more than 240
directly attached ESCON channels. The z196/z114 were the last servers to
support direct ESCON connections in any number.

I think there are about three suggested solutions for the original poster
so far. In no particular order:

1. Use the Optica converter and take the ESCON Director(s) out of the loop.

2. Connect the tape library silo via Ethernet (TCP/IP), which the library
vendor evidently supports.

3. Use CHPID type OSC (OSA-ICC) via an OSA-Express 1000BASE-T adapter and
connect via that path. OSC is supported on the very latest OSA-Express5S
1000BASE-T and prior adapters.

Any other suggestions and/or discussions about these options?


Timothy Sipples
GMU VCT Architect Executive (Based in Singapore)
E-Mail: sipp...@sg.ibm.com
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN


Re: Migrate sysplex root from HFS to zFS

2013-07-29 Thread Jorge Garcia
Hello:

 Last Saturday we migrated our HFS sysplex root to zFS. We respond our own 
questions:

2 .- Is it necessary execute in step 4 a pax -wr -pe -XCM ./ /newroot command 
to populate the new filesystem? -- No, but the BPXWH2Z utility in batch didn't 
work fine. It' canceled with sysplex root in use. When we executed the utility 
in mode CLIST in ISPF worked fine.
3 .- Does ISPBTCH execute this populate function? -- Yes. In ISPF mode.

We executed an ipl after migration in all systems, but after migration finished 
OK and before IPL the system take the new zFS sysplex root.

Regards 

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


Re: PSO Dataspace of JES2

2013-07-29 Thread Mil Hashoul
Hi,
I know that I am doing something that IBM does not support.
My next question is how could I get the JES2AUX address space into ALE
table of my job? what is the STOKEN, at which control block does it exists?

Regards
Milard


On Mon, Jul 22, 2013 at 4:32 PM, Rob Scott rsc...@rocketsoftware.comwrote:

 Ouch.

 There are quite a few issues with what you are trying to do :

 (1) Adding the STOKEN of a foreign ASID to your PASN-AL or DU-AL using
 CHKEAX=NO is violating z/OS system integrity.
 (2) The ALET that a foreign ASID uses to address data in a non-common
 dataspace will be completely different to the ALET value that your PASN
 will have to use for the same dataspace.
 (3) The JES PSO dataspace is owned by the JES2AUX ASID and not the JES2
 address space.

 What are you attempting to achieve ?

 There is no real IBM-supported way of gathering private area data from an
 address space that you do not have a valid cross-memory bind - however the
 accepted safe way of doing it is via SRB/FRR rather than the AR-mode
 technique you have tried to use.

 I suggest that you take a look at the IEAMSCHD service and re-read the
 Auth ASM Services and Extended Addressability manuals.

 You might also want to search the IBM-Main archives as this has been
 discussed a few times over the years.

 Rob Scott
 Lead Developer
 Rocket Software
 77 Fourth Avenue . Suite 100 . Waltham . MA 02451-1468 . USA
 Tel: +1.781.684.2305
 Email: rsc...@rs.com
 Web: www.rocketsoftware.com

 -Original Message-
 From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
 Behalf Of Mil Hashoul
 Sent: 22 July 2013 14:04
 To: IBM-MAIN@LISTSERV.UA.EDU
 Subject: PSO Dataspace of JES2

 Hi,
 I would like to retrive information reside in the PSO dataspace of JES2, I
 have done the following:

  USING HCCT,R5
  MVC   WSAJTOK,CCTJSTKN
  ALESERV ADD, add STOKEN to ALET   X
STOKEN=WSAJTOK, X
ALET=WSAJESA,   X
CHKEAX=NO,  X
MF=(E,WSALL)

 So now I have the ALET of the JES address space.

 but the PSO datascape is related to the JES2 address space, I found that
 $PSOTOK have the ALET of the PSO dataspace but when I am doing the:

 LAM AR3,AR3,$PSOTOK
 SAC   512 GET INTO AR M
 L R3,CCTPAD  START OF PAD C
 L R1,$HCCT   GET THE HCCT B
 LAE   R3,CCTPAD-HCCT-(PADPAD-PAD)(R1,0)
 MVC   JTX_PROC_DD,PADNAME


 I got the S0E0-29 ABEND : An ALET specified an access list entry (ALE)
 that is not valid.

 I think that I should also do the ALESERV also for the PSO dataspace, but
 then I need to have the STOKN of it.

 Any one can help?

 Regards
 Milad

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

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




-- 
Look in My Eyes you will C the Devil Playin with My Soul
It depends who leads!!

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


Re: PSO Dataspace of JES2

2013-07-29 Thread Binyamin Dissen
On Mon, 29 Jul 2013 12:00:43 +0300 Mil Hashoul smil...@gmail.com wrote:

:Hi,
:I know that I am doing something that IBM does not support.
:My next question is how could I get the JES2AUX address space into ALE
:table of my job? what is the STOKEN, at which control block does it exists?

As it is an address space, the ASSBSTKN has the STOKEN (despite the warnings
on how it is only valid for the current address space).

Of course, you will need an appropriate AX to access it.


:On Mon, Jul 22, 2013 at 4:32 PM, Rob Scott rsc...@rocketsoftware.comwrote:
:
: Ouch.
:
: There are quite a few issues with what you are trying to do :
:
: (1) Adding the STOKEN of a foreign ASID to your PASN-AL or DU-AL using
: CHKEAX=NO is violating z/OS system integrity.
: (2) The ALET that a foreign ASID uses to address data in a non-common
: dataspace will be completely different to the ALET value that your PASN
: will have to use for the same dataspace.
: (3) The JES PSO dataspace is owned by the JES2AUX ASID and not the JES2
: address space.
:
: What are you attempting to achieve ?
:
: There is no real IBM-supported way of gathering private area data from an
: address space that you do not have a valid cross-memory bind - however the
: accepted safe way of doing it is via SRB/FRR rather than the AR-mode
: technique you have tried to use.
:
: I suggest that you take a look at the IEAMSCHD service and re-read the
: Auth ASM Services and Extended Addressability manuals.
:
: You might also want to search the IBM-Main archives as this has been
: discussed a few times over the years.
:
: Rob Scott
: Lead Developer
: Rocket Software
: 77 Fourth Avenue . Suite 100 . Waltham . MA 02451-1468 . USA
: Tel: +1.781.684.2305
: Email: rsc...@rs.com
: Web: www.rocketsoftware.com
:
: -Original Message-
: From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
: Behalf Of Mil Hashoul
: Sent: 22 July 2013 14:04
: To: IBM-MAIN@LISTSERV.UA.EDU
: Subject: PSO Dataspace of JES2
:
: Hi,
: I would like to retrive information reside in the PSO dataspace of JES2, I
: have done the following:
:
:  USING HCCT,R5
:  MVC   WSAJTOK,CCTJSTKN
:  ALESERV ADD, add STOKEN to ALET   X
:STOKEN=WSAJTOK, X
:ALET=WSAJESA,   X
:CHKEAX=NO,  X
:MF=(E,WSALL)
:
: So now I have the ALET of the JES address space.
:
: but the PSO datascape is related to the JES2 address space, I found that
: $PSOTOK have the ALET of the PSO dataspace but when I am doing the:
:
: LAM AR3,AR3,$PSOTOK
: SAC   512 GET INTO AR M
: L R3,CCTPAD  START OF PAD C
: L R1,$HCCT   GET THE HCCT B
: LAE   R3,CCTPAD-HCCT-(PADPAD-PAD)(R1,0)
: MVC   JTX_PROC_DD,PADNAME
:
:
: I got the S0E0-29 ABEND : An ALET specified an access list entry (ALE)
: that is not valid.
:
: I think that I should also do the ALESERV also for the PSO dataspace, but
: then I need to have the STOKN of it.
:
: Any one can help?
:
: Regards
: Milad
:
: --
: For IBM-MAIN subscribe / signoff / archive access instructions, send email
: to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
:
: --
: For IBM-MAIN subscribe / signoff / archive access instructions,
: send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
:

--
Binyamin Dissen bdis...@dissensoftware.com
http://www.dissensoftware.com

Director, Dissen Software, Bar  Grill - Israel


Should you use the mailblocks package and expect a response from me,
you should preauthorize the dissensoftware.com domain.

I very rarely bother responding to challenge/response systems,
especially those from irresponsible companies.

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


Re: PSO Dataspace of JES2

2013-07-29 Thread Mil Hashoul
ASSBSTKN - has the STOKEN for the address itself, I need to reach the
address space before I get to this information, it has to be reserved in
JES primary address space in order to be reached.


On Mon, Jul 29, 2013 at 1:59 PM, Binyamin Dissen bdis...@dissensoftware.com
 wrote:

 On Mon, 29 Jul 2013 12:00:43 +0300 Mil Hashoul smil...@gmail.com wrote:

 :Hi,
 :I know that I am doing something that IBM does not support.
 :My next question is how could I get the JES2AUX address space into ALE
 :table of my job? what is the STOKEN, at which control block does it
 exists?

 As it is an address space, the ASSBSTKN has the STOKEN (despite the
 warnings
 on how it is only valid for the current address space).

 Of course, you will need an appropriate AX to access it.


 :On Mon, Jul 22, 2013 at 4:32 PM, Rob Scott rsc...@rocketsoftware.com
 wrote:
 :
 : Ouch.
 :
 : There are quite a few issues with what you are trying to do :
 :
 : (1) Adding the STOKEN of a foreign ASID to your PASN-AL or DU-AL using
 : CHKEAX=NO is violating z/OS system integrity.
 : (2) The ALET that a foreign ASID uses to address data in a non-common
 : dataspace will be completely different to the ALET value that your PASN
 : will have to use for the same dataspace.
 : (3) The JES PSO dataspace is owned by the JES2AUX ASID and not the JES2
 : address space.
 :
 : What are you attempting to achieve ?
 :
 : There is no real IBM-supported way of gathering private area data from
 an
 : address space that you do not have a valid cross-memory bind - however
 the
 : accepted safe way of doing it is via SRB/FRR rather than the AR-mode
 : technique you have tried to use.
 :
 : I suggest that you take a look at the IEAMSCHD service and re-read the
 : Auth ASM Services and Extended Addressability manuals.
 :
 : You might also want to search the IBM-Main archives as this has been
 : discussed a few times over the years.
 :
 : Rob Scott
 : Lead Developer
 : Rocket Software
 : 77 Fourth Avenue . Suite 100 . Waltham . MA 02451-1468 . USA
 : Tel: +1.781.684.2305
 : Email: rsc...@rs.com
 : Web: www.rocketsoftware.com
 :
 : -Original Message-
 : From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU]
 On
 : Behalf Of Mil Hashoul
 : Sent: 22 July 2013 14:04
 : To: IBM-MAIN@LISTSERV.UA.EDU
 : Subject: PSO Dataspace of JES2
 :
 : Hi,
 : I would like to retrive information reside in the PSO dataspace of
 JES2, I
 : have done the following:
 :
 :  USING HCCT,R5
 :  MVC   WSAJTOK,CCTJSTKN
 :  ALESERV ADD, add STOKEN to ALET
 X
 :STOKEN=WSAJTOK,
 X
 :ALET=WSAJESA,
 X
 :CHKEAX=NO,
  X
 :MF=(E,WSALL)
 :
 : So now I have the ALET of the JES address space.
 :
 : but the PSO datascape is related to the JES2 address space, I found
 that
 : $PSOTOK have the ALET of the PSO dataspace but when I am doing the:
 :
 : LAM AR3,AR3,$PSOTOK
 : SAC   512 GET INTO AR M
 : L R3,CCTPAD  START OF PAD C
 : L R1,$HCCT   GET THE HCCT B
 : LAE   R3,CCTPAD-HCCT-(PADPAD-PAD)(R1,0)
 : MVC   JTX_PROC_DD,PADNAME
 :
 :
 : I got the S0E0-29 ABEND : An ALET specified an access list entry (ALE)
 : that is not valid.
 :
 : I think that I should also do the ALESERV also for the PSO dataspace,
 but
 : then I need to have the STOKN of it.
 :
 : Any one can help?
 :
 : Regards
 : Milad
 :
 : --
 : For IBM-MAIN subscribe / signoff / archive access instructions, send
 email
 : to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
 :
 : --
 : For IBM-MAIN subscribe / signoff / archive access instructions,
 : send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
 :

 --
 Binyamin Dissen bdis...@dissensoftware.com
 http://www.dissensoftware.com

 Director, Dissen Software, Bar  Grill - Israel


 Should you use the mailblocks package and expect a response from me,
 you should preauthorize the dissensoftware.com domain.

 I very rarely bother responding to challenge/response systems,
 especially those from irresponsible companies.

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




-- 
Look in My Eyes you will C the Devil Playin with My Soul
It depends who leads!!

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


Re: PSO Dataspace of JES2

2013-07-29 Thread Rob Scott
The OP seems to be under the impression that adding an foreign ASID STOKEN to 
the home PASN-AL will magically grant access to all spaces on the foreign 
ASID's PASN-AL.

Using the STOKEN for JES2AUX address space and adding it to the OP's job 
PASN-AL using CHKEAX=NO will not grant access to the PSO dataspace. 

All it will achieve is (unsupported) access to the JES2AUX private storage as 
long as the JES2AUX address space is non-swapable or the storage in swapped in. 

This technique should be discouraged - using an SRB is the least-worst 
solution. 

Rob Scott
Lead Developer
Rocket Software
77 Fourth Avenue . Suite 100 . Waltham . MA 02451-1468 . USA
Tel: +1.781.684.2305
Email: rsc...@rs.com
Web: www.rocketsoftware.com


-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Binyamin Dissen
Sent: 29 July 2013 11:59
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: PSO Dataspace of JES2

On Mon, 29 Jul 2013 12:00:43 +0300 Mil Hashoul smil...@gmail.com wrote:

:Hi,
:I know that I am doing something that IBM does not support.
:My next question is how could I get the JES2AUX address space into ALE 
:table of my job? what is the STOKEN, at which control block does it exists?

As it is an address space, the ASSBSTKN has the STOKEN (despite the warnings on 
how it is only valid for the current address space).

Of course, you will need an appropriate AX to access it.


:On Mon, Jul 22, 2013 at 4:32 PM, Rob Scott rsc...@rocketsoftware.comwrote:
:
: Ouch.
:
: There are quite a few issues with what you are trying to do :
:
: (1) Adding the STOKEN of a foreign ASID to your PASN-AL or DU-AL using : 
CHKEAX=NO is violating z/OS system integrity.
: (2) The ALET that a foreign ASID uses to address data in a non-common : 
dataspace will be completely different to the ALET value that your PASN : 
will have to use for the same dataspace.
: (3) The JES PSO dataspace is owned by the JES2AUX ASID and not the JES2 : 
address space.
:
: What are you attempting to achieve ?
:
: There is no real IBM-supported way of gathering private area data from an 
: address space that you do not have a valid cross-memory bind - however the 
: accepted safe way of doing it is via SRB/FRR rather than the AR-mode : 
technique you have tried to use.
:
: I suggest that you take a look at the IEAMSCHD service and re-read the : 
Auth ASM Services and Extended Addressability manuals.
:
: You might also want to search the IBM-Main archives as this has been : 
discussed a few times over the years.
:
: Rob Scott
: Lead Developer
: Rocket Software
: 77 Fourth Avenue . Suite 100 . Waltham . MA 02451-1468 . USA : Tel: 
+1.781.684.2305 : Email: rsc...@rs.com : Web: www.rocketsoftware.com : 
: -Original Message- : From: IBM Mainframe Discussion List 
[mailto:IBM-MAIN@LISTSERV.UA.EDU] On : Behalf Of Mil Hashoul : Sent: 22 
July 2013 14:04 : To: IBM-MAIN@LISTSERV.UA.EDU : Subject: PSO Dataspace of 
JES2 : : Hi, : I would like to retrive information reside in the PSO 
dataspace of JES2, I : have done the following:
:
:  USING HCCT,R5
:  MVC   WSAJTOK,CCTJSTKN
:  ALESERV ADD, add STOKEN to ALET   X
:STOKEN=WSAJTOK, X
:ALET=WSAJESA,   X
:CHKEAX=NO,  X
:MF=(E,WSALL)
:
: So now I have the ALET of the JES address space.
:
: but the PSO datascape is related to the JES2 address space, I found that 
: $PSOTOK have the ALET of the PSO dataspace but when I am doing the:
:
: LAM AR3,AR3,$PSOTOK
: SAC   512 GET INTO AR M
: L R3,CCTPAD  START OF PAD C
: L R1,$HCCT   GET THE HCCT B
: LAE   R3,CCTPAD-HCCT-(PADPAD-PAD)(R1,0)
: MVC   JTX_PROC_DD,PADNAME
:
:
: I got the S0E0-29 ABEND : An ALET specified an access list entry (ALE) : 
that is not valid.
:
: I think that I should also do the ALESERV also for the PSO dataspace, but 
: then I need to have the STOKN of it.
:
: Any one can help?
:
: Regards
: Milad
:
: --
: For IBM-MAIN subscribe / signoff / archive access instructions, send email 
: to lists...@listserv.ua.edu with the message: INFO IBM-MAIN : : 
--
: For IBM-MAIN subscribe / signoff / archive access instructions, : send 
email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN :

--
Binyamin Dissen bdis...@dissensoftware.com http://www.dissensoftware.com

Director, Dissen Software, Bar  Grill - Israel


Should you use the mailblocks package and expect a response from me, you should 
preauthorize the dissensoftware.com domain.

I very rarely bother responding to challenge/response systems, especially those 
from irresponsible companies.


Re: Establishing and using Unix file system and USS under z/OS

2013-07-29 Thread Ze'ev Atlas
Gentlemen
I have access to most relevant file types/systems except of ZFS (I have HFS)

I would like somebody who has both C license and ZFS files to compile the below 
code and run it with PARM='/some/ZFS/file' and send me or post the results.  I 
need to know exactly how fldata sees that stuff.

Thanks
ZA

[code]
#include stdio.h
#include string.h
#include stdlib.h
#define _XOPEN_SOURCE
#include fnmatch.h
#define _POSIX_SOURCE
#include sys/stat.h
#include dirent.h

int displayzosfileattributes (FILE * file);


 main(int argc, char *argv[])
 {
int c;
int d;
int i;
FILE * mypds;

for ( c = 1 ; c  argc ; c++)
{
   if (c  0)
   {
   mypds =  fopen(argv[c],rb);
if (mypds == NULL)
{
fprintf(stderr, XX-XXX - could not open 
%s\n, argv[c]);
fclose (mypds);
continue;
};
   printf (FILE %s openned successfuly\n, argv[c]);
   i = displayzosfileattributes (mypds);
   fclose (mypds);
   }

}
return 0;
 }


int displayzosfileattributes (FILE * file)
{
   fldata_t fileinfo;
   int rc;
   char local_fname [FILENAME_MAX];
   char decipher [20];
   rc = fldata(file, local_fname, fileinfo);
   if (rc != 0)
   {
   fprintf(stderr, XX-XXX - fldata failed %d\n, rc);
   return rc;
   }
printf (FILE NAME: %s\n, local_fname);
printf (PDS GROUP: PO %d MEM %d DIR %d PDSE %d\n, 
fileinfo.__dsorgPO,fileinfo.__dsorgPDSmem,fileinfo.__dsorgPDSdir,fileinfo.__dsorgPDSE);
if(fileinfo.__vsamRLS == __NORLS)
 {strcpy (decipher, __NORLS); }
else if(fileinfo.__vsamRLS == __RLS)
  {strcpy (decipher, __RLS); }
else if(fileinfo.__vsamRLS == __TVS)
  {strcpy (decipher, __TVS); }
else
 {strcpy (decipher, );   }
printf (VSAM GROUP: VSAM %d RLS %s\n, fileinfo.__dsorgVSAM,decipher);
if(fileinfo.__vsamtype == __NOTVSAM)
 {strcpy (decipher, __NOTVSAM);}
else if(fileinfo.__vsamtype == __ESDS)
  {strcpy (decipher, __ESDS); }
else if(fileinfo.__vsamtype == __KSDS)
  {strcpy (decipher, __KSDS); }
else if(fileinfo.__vsamtype == __RRDS)
  {strcpy (decipher, __RRDS); }
else if(fileinfo.__vsamtype == __ESDS_PATH)
  {strcpy (decipher, __ESDS_PATH); }
else if(fileinfo.__vsamtype == __KSDS_PATH)
  {strcpy (decipher, __KSDS_PATH); }
else
  {strcpy (decipher, ); }
  printf (VSAM TYPE: %s\n, decipher);
printf (PS GROUP: PS %d F %d V %d U %d S %d\n, 
fileinfo.__dsorgPS,fileinfo.__recfmF,fileinfo.__recfmV,fileinfo.__recfmU,fileinfo.__recfmS);
printf (HFS GROUP: HFS %d\n, fileinfo.__dsorgHFS);
}
[/code]

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


Any clues on fwrite_unlocked()

2013-07-29 Thread Charles Mills
Anyone using fwrite_unlocked() successfully? Per TFM I have 

#define _XOPEN_SOURCE_EXTENDED 1

ahead of any #includes (including stdio.h, of course).

Still, I am getting

CCN5274 (S) The name lookup for fwrite_unlocked did not find a
declaration.

Anyone have any clues?

Thanks,
Charles 

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


Re: Any clues on fwrite_unlocked()

2013-07-29 Thread Sam Siegel
On Mon, Jul 29, 2013 at 7:49 AM, Charles Mills charl...@mcn.org wrote:

 Anyone using fwrite_unlocked() successfully? Per TFM I have

 #define _XOPEN_SOURCE_EXTENDED 1


I think the following define is required prior to including stdio.h

#define _OPEN_SYS_UNLOCKED_EXT 1

Sam



 ahead of any #includes (including stdio.h, of course).

 Still, I am getting

 CCN5274 (S) The name lookup for fwrite_unlocked did not find a
 declaration.

 Anyone have any clues?

 Thanks,
 Charles

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


--
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 Charles Mills
Sorry, yes, that is what I meant. Cut-and-pasted the wrong line from the
source file. Correct paste follows:

#define _OPEN_SYS_UNLOCKED_EXT 1

Charles

-Original Message-
From: IBM Mainframe Discussion List [mailto: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 charl...@mcn.org wrote:

 Anyone using fwrite_unlocked() successfully? Per TFM I have

 #define _XOPEN_SOURCE_EXTENDED 1


I think the following define is required prior to including stdio.h

#define _OPEN_SYS_UNLOCKED_EXT 1

Sam



 ahead of any #includes (including stdio.h, of course).

 Still, I am getting

 CCN5274 (S) The name lookup for fwrite_unlocked did not find a 
 declaration.

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


Re: Any clues on fwrite_unlocked()

2013-07-29 Thread Sam Siegel
On Mon, Jul 29, 2013 at 8:19 AM, Charles Mills charl...@mcn.org wrote:

 Sorry, yes, that is what I meant. Cut-and-pasted the wrong line from the
 source file. Correct paste follows:

 #define _OPEN_SYS_UNLOCKED_EXT 1


very odd ... I looked in sys1.cee.sceeh.h(stdio) and found
_OPEN_SYS_UNLOCKED_EXT.  It seems to be controlling the visibilty of
fwrite_unlocked.  However, fwrite_unlocked is wrapped in a macro called
__new410A that I'm not familiar with.  Not sure what impact that has.


 Charles

 -Original Message-
 From: IBM Mainframe Discussion List [mailto: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 charl...@mcn.org wrote:

  Anyone using fwrite_unlocked() successfully? Per TFM I have
 
  #define _XOPEN_SOURCE_EXTENDED 1
 

 I think the following define is required prior to including stdio.h

 #define _OPEN_SYS_UNLOCKED_EXT 1

 Sam


 
  ahead of any #includes (including stdio.h, of course).
 
  Still, I am getting
 
  CCN5274 (S) The name lookup for fwrite_unlocked did not find a
  declaration.

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


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


Regex (was: ... Unix file system ...)

2013-07-29 Thread Paul Gilmartin
On Sun, 28 Jul 2013 09:40:43 -0400, Shmuel Metz (Seymour J.) wrote::

o Make the product comfortable to those accustomed to Perl.

o Make the product comfortable to those accustomed to MVS.

In other contexts, I've referred to the options as horizontal and
vertical consistency. ...
 
And I wonder further, if I have autoconversion enabled, and I'm
processing an ASCII (tagged) file with sed or awk and my
purportedly portable script has \nnn octal escape sequences
to match nondisplayable code points, will those match ASCII
code points or EBCDIC code points?

I'm pessimistic.

-- gil

--
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 Charles Mills
Yes, I saw that also.

Charles

-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
Behalf Of Sam Siegel
Sent: Monday, July 29, 2013 11:35 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Any clues on fwrite_unlocked()

On Mon, Jul 29, 2013 at 8:19 AM, Charles Mills charl...@mcn.org wrote:

 Sorry, yes, that is what I meant. Cut-and-pasted the wrong line from 
 the source file. Correct paste follows:

 #define _OPEN_SYS_UNLOCKED_EXT 1


very odd ... I looked in sys1.cee.sceeh.h(stdio) and found
_OPEN_SYS_UNLOCKED_EXT.  It seems to be controlling the visibilty of
fwrite_unlocked.  However, fwrite_unlocked is wrapped in a macro called
__new410A that I'm not familiar with.  Not sure what impact that has.

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


Mainframe vs Server - The Debate Continues

2013-07-29 Thread Lizette Koehler
This was posted on the VM newsgroup and l thought I would pass it along

http://searchdatacenter.techtarget.com/opinion/Evolving-IT-needs-and-capabil
ities-restart-mainframe-vs-server-debate?asrc=EM_NLT_22746667utm_medium=EM
utm_source=NLTutm_campaign=20130729_Intel%20shifts%20focus%20to%20micro%20s
ervers_ewatkinstrack=NL-1811ad=887900


or Tinyurl:http://tinyurl.com/moxp5k8



One comment from the article:

A mainframe is like one very large server that can do anything that
multiple servers in a rack are able to do. It's a virtualization platform;
its hardware is highly redundant, so it replaces a cluster of servers. And,
compared to all the x64 servers, it's not even that expensive, said the
data center architect.

Happy days

Lizette

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


Re: Mainframe vs Server - The Debate Continues

2013-07-29 Thread Peter Eggebeen
Nobody is going to want higher availability for less money!  That is just
silly :)

Pete Eggebeen
Senior Systems Engineer
Mainframe Storage Management
Kohl's Corporation
(920) 207-0108 (Cell)


On Mon, Jul 29, 2013 at 11:04 AM, Lizette Koehler
stars...@mindspring.comwrote:

 This was posted on the VM newsgroup and l thought I would pass it along


 http://searchdatacenter.techtarget.com/opinion/Evolving-IT-needs-and-capabil

 ities-restart-mainframe-vs-server-debate?asrc=EM_NLT_22746667utm_medium=EM

 utm_source=NLTutm_campaign=20130729_Intel%20shifts%20focus%20to%20micro%20s
 ervers_ewatkinstrack=NL-1811ad=887900


 or Tinyurl:http://tinyurl.com/moxp5k8



 One comment from the article:

 A mainframe is like one very large server that can do anything that
 multiple servers in a rack are able to do. It's a virtualization platform;
 its hardware is highly redundant, so it replaces a cluster of servers. And,
 compared to all the x64 servers, it's not even that expensive, said the
 data center architect.

 Happy days

 Lizette

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

CONFIDENTIALITY NOTICE:
This is a transmission from Kohl's Department Stores, Inc.
and may contain information which is confidential and proprietary.
If you are not the addressee, any disclosure, copying or distribution or use of 
the contents of this message is expressly prohibited.
If you have received this transmission in error, please destroy it and notify 
us immediately at 262-703-7000.

CAUTION:
Internet and e-mail communications are Kohl's property and Kohl's reserves the 
right to retrieve and read any message created, sent and received. Kohl's 
reserves the right to monitor messages by authorized Kohl's Associates at any 
time
without any further consent.

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


Re: Mainframe vs Server - The Debate Continues

2013-07-29 Thread AbsKerneels

Just for the academically inclined among us ?

a) The article was written by Sander van Vugt
b) Sander van Vlugt went to a University exactly  TWENTY years ago...
c) He earns his bread money by running around and training people how to 
implement LINUX


http://www.linkedin.com/pub/sander-van-vugt/2/aa8/b61

My point ?
He sounds like somebody that can also solve the Euro zone crisis .. and 
the Arab Spring .. and maybe help the Republicans to get back the 
popular vote in the USA too :


http://en.wikipedia.org/wiki/Arab_Spring

Kerneels

On 7/29/2013 10:15 AM, AbsKerneels wrote:

Hi,

Not sure this article was written by anybody that attended a university
in the last 20 years and I am extracting from the article :

Even if mainframes are a tough sell, it is clear that a comeback is in
the works. Large companies can even save money on IT infrastructure by
replacing hundreds of servers with one huge -- if expensive -- mainframe
computer.

Summary/Conclusion :

Have any of you look at or used anything from GOOGLE lately ex.  GOOGLE
APPS ?

Google APPS are FREE for all educational institution and I just finished
an assignment for an Educational institution but the old world can not
compete with FREE.

Note: On the back of the last weeks Economist ? Oracle claims they can
give you TWICE the performance at 33% of the cost of an IBM true BLUE
solution.

http://www.youtube.com/watch?v=8nVdCNFD7hM

Kerneels



On 7/29/2013 10:04 AM, Lizette Koehler wrote:

This was posted on the VM newsgroup and l thought I would pass it along

http://searchdatacenter.techtarget.com/opinion/Evolving-IT-needs-and-capabil

ities-restart-mainframe-vs-server-debate?asrc=EM_NLT_22746667utm_medium=EM

utm_source=NLTutm_campaign=20130729_Intel%20shifts%20focus%20to%20micro%20s

ervers_ewatkinstrack=NL-1811ad=887900


or Tinyurl:http://tinyurl.com/moxp5k8



One comment from the article:

A mainframe is like one very large server that can do anything that
multiple servers in a rack are able to do. It's a virtualization
platform;
its hardware is highly redundant, so it replaces a cluster of servers.
And,
compared to all the x64 servers, it's not even that expensive, said the
data center architect.

Happy days

Lizette

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



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



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


Re: Mainframe vs Server - The Debate Continues

2013-07-29 Thread Anne Lynn Wheeler
kerne...@absoftwareconsultants.com (AbsKerneels) writes:
 Note: On the back of the last weeks Economist ? Oracle claims they can
 give you TWICE the performance at 33% of the cost of an IBM true BLUE
 solution.

note that tpc benchmarks include total cost numbers per operation ... if
the mainframe cost claims are other than marketing hype ... find a
mainframe tpc benchmark (btw, there are large number of ibm tpc
benchmarks ... so it isn't a corporation issue).
http://www.tpc.org/
top ten tpc-c by price/performance
http://www.tpc.org/tpcc/results/tpcc_price_perf_results.asp
top ten tpc-c by performance
http://www.tpc.org/tpcc/results/tpcc_perf_results.asp

tpc-c transactions include acid properaties ... aka both tpc and
acid largely attributed to Jim Gray after he left ibm research
http://www.tpc.org/information/who/gray.asp

I've mentioned before when Jim was leaving SJR ... he pawned off a bunch
of stuff on me ... consulting with the IMS DBMS group, interface to
early relational customers, etc.

-- 
virtualization experience starting Jan1968, online at home since Mar1970

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


IBMUSS,USS_PARMLIB Health Check Quandry

2013-07-29 Thread Mark Jacobs
I'm getting a few Changed File Systems messages in this health check 
where I changed the mount parm in BPXPRMxx after the file system was 
already mounted. Without unmounting and remounting the file systems is 
there any way to clear the health check?


--
Mark Jacobs
Time Customer Service
Tampa, FL


The quiet ones are the ones that change the universe...
The loud ones only take the credit.

Londo Mollari - Babylon 5

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


Re: RMM CDS utilization vs 3.4 utilization

2013-07-29 Thread Schroeder, Wayne
Mike,
I really appreciate your response. I am someone that was asked to oversee RMM 
and am not completely familiar with the workings of RMM and with that said I 
would like to see an example supplied and discussed in the I  C manual under 
the chapter titled Monitoring the Space Used by the Control Data Set to run jcl 
like the one supplied in the Moving the Control Data Set that uses the 
Backup(DSS) example to copy the cds to a new cds. Your example could include a 
Backup(DSS) step and a then a step to RENAMEU the old cds to a new cds name 
then discuss the HURBA/HARBA * 100 calculation to show the programmer the 
percentage of free space actually inside the working cds. We do not regularly 
reorganize our CDS but we are I the process of moving it and found out that we 
are only using 25% of 41000 tracks (in 5 extents) in our working CDS. That is a 
lot of wasted space that I did not find out about until I HAD to move our CDS. 
This will all be a moot point once we turn on CA RECLAIM. Sorry for the rant.

Thank you,

Wayne Schroeder
MAINFRAME STORAGE ADMINISTRATOR

T  254.399.5070
M 254.644.8534
E wschroe...@txfb-ins.com

7420 Fish Pond Rd.
Waco, TX 76710

-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of Mike Wood
Sent: Wednesday, July 17, 2013 4:17 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: RMM CDS utilization vs 3.4 utilization

Wayne, It is best to follow the recommendations in the DFSMSrmm Implementation 
 Customization Guide. They were written based on lots of experience with many 
different installation.
The CDS utilization is simply HURBA/HARBA * 100 It makes no account for empty 
space in CIs or CAs, nor for the potential to grow the CDS into multiple 
extents.

To determine really what space is actually used, you could define a VSAM KSDS 
like the CDS and repro the records from the CDS to the new KSDS and see what 
the HURBA/HARBA is then.

VSAM is now very good at reusing empty space within already used CAs and CIs 
(CAs with R12+).

Mike Wood   rmm expert

--
For IBM-MAIN subscribe / signoff / archive access instructions, send email to 
lists...@listserv.ua.edu with the message: INFO IBM-MAIN
[http://infonet.txfb-ins.com//images//email-signature-image.jpg]
WWW.TXFB-INS.COMhttp://www.txfb-ins.com

CONFIDENTIALITY STATEMENT: The foregoing message (including attachments) is 
covered by the Electronic Communication Privacy Act, 18 U.S.C. sections 
2510-2521, and is CONFIDENTIAL. If you believe that it has been sent to you in 
error, do not read it. If you are not the intended recipient, you are hereby 
notified that any retention, dissemination, distribution, or copying of this 
communication is strictly prohibited. Please reply to the sender that you have 
received the message in error, then delete it. Thank you.

Texas Farm Bureau Insurance Companies received the highest numerical score 
among auto insurance providers in Texas in the proprietary J.D. Power 2013 U.S. 
Auto Insurance Study(SM). Study based on 45,521 total responses measuring 8 
providers in Texas and measures opinions of consumers with their auto insurance 
provider. Proprietary study results are based on experiences and perceptions of 
consumers surveyed March –April 2013. Your experiences may vary. Visit 
jdpower.com.

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


Re: Mainframe vs Server - The Debate Continues

2013-07-29 Thread Duffy Nightingale, SSPI
I predict that one day everyone on Earth will be connected to one giant IBM
Mainframe and all share in the payment!  Of course, I passed on a job at
Microsoft when there were 18 people working there because I didn't think
PC's going anywhere

Duf

-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
Behalf Of Lizette Koehler
Sent: Monday, July 29, 2013 9:05 AM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Mainframe vs Server - The Debate Continues

This was posted on the VM newsgroup and l thought I would pass it along

http://searchdatacenter.techtarget.com/opinion/Evolving-IT-needs-and-capabil
ities-restart-mainframe-vs-server-debate?asrc=EM_NLT_22746667utm_medium=EM
utm_source=NLTutm_campaign=20130729_Intel%20shifts%20focus%20to%20micro%20s
ervers_ewatkinstrack=NL-1811ad=887900


or Tinyurl:http://tinyurl.com/moxp5k8



One comment from the article:

A mainframe is like one very large server that can do anything that
multiple servers in a rack are able to do. It's a virtualization platform;
its hardware is highly redundant, so it replaces a cluster of servers. And,
compared to all the x64 servers, it's not even that expensive, said the
data center architect.

Happy days

Lizette

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

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


Re: Establishing and using Unix file system and USS under z/OS

2013-07-29 Thread John McKown
On a z/OS 1.13 system (not mine, but a friend's who will rename unnamed). I
can't do a cut and paste from there, but I will accurately transcribe what
I see.

On a zFS filesystem

FILE /u/joarmc/ openned successfully
FILE NAME: /u/joarmc
PDS GROUP: PO 0 MEM 0 DIR 0 PDSE 0
VSAM GROUP: VSAM 0 RLS __NORLS
VSAM TYPE __NOTVSAM
PS GROUP: PS 0 F 0 V 0 U 1 S 0
HFS GROUP: HFS 1

On an HFS filesystem:

FILE /u openned successfully
FILE NAME: /u
PDS GROUP: PO 0 MEM 0 DIR 0 PDSE 0
VSAM GROUP: VSAM 0 RLS __NORLS
VSAM TYPE: __NOTVSAM
PS GROUP: PS 0 F 0 V 0 U 1 S 0
HFS GROUP: HFS 1




On Mon, Jul 29, 2013 at 8:54 AM, Ze'ev Atlas zatl...@yahoo.com wrote:

 Gentlemen
 I have access to most relevant file types/systems except of ZFS (I have
 HFS)

 I would like somebody who has both C license and ZFS files to compile the
 below code and run it with PARM='/some/ZFS/file' and send me or post the
 results.  I need to know exactly how fldata sees that stuff.

 Thanks
 ZA

 [code]
 snip
 [/code]

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




-- 
This is a test of the Emergency Broadcast System. If this had been an
actual emergency, do you really think we'd stick around to tell you?

Maranatha! 
John McKown

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


Re: Regex (was: ... Unix file system ...)

2013-07-29 Thread Paul Gilmartin
On Mon, 29 Jul 2013 10:50:30 -0500, Paul Gilmartin wrote:
 
And I wonder further, if I have autoconversion enabled, and I'm
processing an ASCII (tagged) file with sed or awk and my
purportedly portable script has \nnn octal escape sequences
to match nondisplayable code points, will those match ASCII
code points or EBCDIC code points?

I'm pessimistic.
 
ISPF has pleasantly surprised me.  When I OEDIT a file tagged
ASCII and set HEX ON, I see ASCII code points.  When I do
FIND X'...', it finds the string according to the ASCII code points.

I had feared it would perform the translation between the file
and the edit buffer.  The doc makes it clear that the translation
is performed between ISPF and the 3270, but such things
always bear testing.

-- gil

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


Re: Mainframe vs Server - The Debate Continues

2013-07-29 Thread Mike Schwab
Umm, isn't that the Internet?  Mainframes, Servers, and PCs able to
access almost anything.

On Mon, Jul 29, 2013 at 1:42 PM, Duffy Nightingale, SSPI
du...@soundsoftware.us wrote:
 I predict that one day everyone on Earth will be connected to one giant IBM
 Mainframe and all share in the payment!  Of course, I passed on a job at
 Microsoft when there were 18 people working there because I didn't think
 PC's going anywhere

 Duf

-- 
Mike A Schwab, Springfield IL USA
Where do Forest Rangers go to get away from it all?

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


Re: Mainframe vs Server - The Debate Continues

2013-07-29 Thread Mike Schwab
On Mon, Jul 29, 2013 at 11:04 AM, Lizette Koehler
stars...@mindspring.com wrote:
 This was posted on the VM newsgroup and l thought I would pass it along

 http://searchdatacenter.techtarget.com/opinion/Evolving-IT-needs-and-capabil
 ities-restart-mainframe-vs-server-debate?asrc=EM_NLT_22746667utm_medium=EM
 utm_source=NLTutm_campaign=20130729_Intel%20shifts%20focus%20to%20micro%20s
 ervers_ewatkinstrack=NL-1811ad=887900


 or Tinyurl:http://tinyurl.com/moxp5k8

 One comment from the article:

 A mainframe is like one very large server that can do anything that
 multiple servers in a rack are able to do. It's a virtualization platform;
 its hardware is highly redundant, so it replaces a cluster of servers. And,
 compared to all the x64 servers, it's not even that expensive, said the
 data center architect.

 Happy days

 Lizette

Just make sure your boss knows the server room will be almost empty.

http://www.youtube.com/watch?v=rmxPfZtV6w0
-- 
Mike A Schwab, Springfield IL USA
Where do Forest Rangers go to get away from it all?

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


Re: Establishing and using Unix file system and USS under z/OS

2013-07-29 Thread Ze'ev Atlas
Thanks John
ZA

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


Re: Establishing and using Unix file system and USS under z/OS

2013-07-29 Thread retired mainframer
:: -Original Message-
:: From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
:: Behalf Of Ze'ev Atlas
:: Sent: Monday, July 29, 2013 6:55 AM
:: To: IBM-MAIN@LISTSERV.UA.EDU
:: Subject: Re: Establishing and using Unix file system and USS under z/OS

snip

::  main(int argc, char *argv[])
::  {
:: int c;
:: int d;
:: int i;
:: FILE * mypds;
::
:: for ( c = 1 ; c  argc ; c++)
:: {
::if (c  0)

Can this ever be false?

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


Re: Establishing and using Unix file system and USS under z/OS

2013-07-29 Thread John McKown
I don't think that it can if the code is invoked from the shell itself. But
it could be if someone did an exec() passing in a 0. Why would they do
that? I don't know of any reason.

On Mon, Jul 29, 2013 at 5:01 PM, retired mainframer 
retired-mainfra...@q.com wrote:

 :: -Original Message-
 :: From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU]
 On
 :: Behalf Of Ze'ev Atlas
 :: Sent: Monday, July 29, 2013 6:55 AM
 :: To: IBM-MAIN@LISTSERV.UA.EDU
 :: Subject: Re: Establishing and using Unix file system and USS under z/OS

 snip

 ::  main(int argc, char *argv[])
 ::  {
 :: int c;
 :: int d;
 :: int i;
 :: FILE * mypds;
 ::
 :: for ( c = 1 ; c  argc ; c++)
 :: {
 ::if (c  0)

 Can this ever be false?

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




-- 
This is a test of the Emergency Broadcast System. If this had been an
actual emergency, do you really think we'd stick around to tell you?

Maranatha! 
John McKown

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


Re: Establishing and using Unix file system and USS under z/OS

2013-07-29 Thread Farley, Peter x23353
Because the for statement parameters initialize c to 1, there is actually 
no way for c to ever be 0 at that point.  c is not an argument to the 
program, it is just a local variable.

Of course, a good optimizer will eliminate the superfluous test as always 
true and generate no code for it.

If someone invokes the program (from wherever) with no arguments, argc will 
be zero and the for loop will not execute at all, so the if statement will 
never be executed in that case.

HTH

Peter

-Original Message-
From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf 
Of John McKown
Sent: Monday, July 29, 2013 6:28 PM
To: IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Establishing and using Unix file system and USS under z/OS

I don't think that it can if the code is invoked from the shell itself. But
it could be if someone did an exec() passing in a 0. Why would they do
that? I don't know of any reason.

On Mon, Jul 29, 2013 at 5:01 PM, retired mainframer 
retired-mainfra...@q.com wrote:

 :: -Original Message-
 :: From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU]
 On
 :: Behalf Of Ze'ev Atlas
 :: Sent: Monday, July 29, 2013 6:55 AM
 :: To: IBM-MAIN@LISTSERV.UA.EDU
 :: Subject: Re: Establishing and using Unix file system and USS under z/OS

 snip

 ::  main(int argc, char *argv[])
 ::  {
 :: int c;
 :: int d;
 :: int i;
 :: FILE * mypds;
 ::
 :: for ( c = 1 ; c  argc ; c++)
 :: {
 ::if (c  0)

 Can this ever be false?
--

This message and any attachments are intended only for the use of the addressee 
and may contain information that is privileged and confidential. If the reader 
of the message is not the intended recipient or an authorized representative of 
the intended recipient, you are hereby notified that any dissemination of this 
communication is strictly prohibited. If you have received this communication 
in error, please notify us immediately by e-mail and delete the message and any 
attachments from your system.

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


Re: Establishing and using Unix file system and USS under z/OS

2013-07-29 Thread John Gilmore
If the question

| Can this ever be false?

is really ellipsis for the question: Can this ever be false the first
time it is tested?

the answer is no.  If not, not.

John Gilmore, Ashland, MA 01721 - USA

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


Re: Mainframe vs Server - The Debate Continues

2013-07-29 Thread Anne Lynn Wheeler
mike.a.sch...@gmail.com (Mike Schwab) writes:
 Umm, isn't that the Internet?  Mainframes, Servers, and PCs able to
 access almost anything.

re:
http://www.garlic.com/~lynn/2013j.html#59 Mainframe vs Server - The Debate 
Continues

major forces attempted to prevent it from happening ... and when they
couldn't completely stop it ... they attempted to co-op it and reframe
it 

Grid Computing; Hook enough computers together and what do you get? A
new kind of utility that offers supercomputer processing on tap.
http://www.technologyreview.com/featuredstory/401444/grid-computing/

from above: 

Back in the 1980s, the National Science Foundation created the
NSFnet: a communications network intended to give scientific researchers
easy access to its new supercomputer centers. Very quickly, one smaller
network after another linked in-and the result was the Internet as we
now know it. The scientists whose needs the NSFnet originally served are
barely remembered by the online masses.

... snip ...

we were originally suppose to get $20M to hook together the NSF
supercomputer centers ... then congress cut the budget, several other
things happened ... and then NSF finally releases RFP. Internal politics
prevented us from bidding ... director of NSF tried to help
... including writting a letter to the company, copying the CEO ... but
that just made the internal politics worse (as did comments that what we
already had running was at least 5yrs ahead of all RFP responses). some
old email working with NSF leading up to NSFNET
http://www.garlic.com/~lynn/lhwemail.html#nsfnet

the communication group was spreading lots of misinformation internally
... even claims that it could run NSFNET over VTAM/SNA. One of the
people on the distribution list collected up a lot of the misinformation
emails and forwarded it to us ... heavily redacted copy of what he
forwarded
http://www.garlic.com/~lynn/2006w.html#email870109

I had hsdt project with T1 and faster links ... some past posts
http://www.garlic.com/~lynn/subnetwork.html#hsdt

recent discussion in a.f.c. of HSDT project where 1960s 2701 was last
mainframe product supporting T1 ... and that condition of some of the
HSDT funding ... I had to also install some series/1 with zirpel cards
(special FSD T1 support developed for the federal market)
http://www.garlic.com/~lynn/2013j.html#37

otherwise there wasn't any standard T1 product support.

The NSFNET RFP called for T1 links (in large part because I was already
running T1 and faster links). The winning RFP response didn't actually
install T1 links ... it installed 440kbit/sec links ... and then
somewhat to create facade of meeting the letter of the RFP ... they had
T1 trunks with telco multiplexors. I made snide remarks that if they
went on the basis of the faster trunk that might carry a NSFNET
440kbit/sec link ... they might possibly even claim it was T5.

past posts mentioning NSFNET
http://www.garlic.com/~lynn/subnetwork.html#nsfnet

another way of co-opting the infrastructure was that the first mainframe
TCP/IP product ... got approx. 44kbytes/sec aggregate sustained using
nearly 3090 CPU. I did the software changes for RFC1044 support and in
some tuning tests at Cray Research got sustained channel speeds between
4341 and Cray ... using only modest amount of 4341 cpu (possibly 500
times improvement in number of bytes moved per instruction executed).

-- 
virtualization experience starting Jan1968, online at home since Mar1970

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


Re: Establishing and using Unix file system and USS under z/OS

2013-07-29 Thread Ze'ev Atlas
snip

::  main(int argc, char *argv[])
::  {
:: int c;
:: int d;
:: int i;
:: FILE * mypds;
::
:: for ( c = 1 ; c  argc ; c++)
:: {
::if (c  0)

Can this ever be false?

I copied it from a code that started from zero and shortened it for the simple 
thing I needed; and forgot to eliminate the if statement... sorry
ZA

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


Re: Establishing and using Unix file system and USS under z/OS

2013-07-29 Thread retired mainframer
What does If not, not mean?  Can the answer sometimes not be no?  That
would mean the test evaluates to false.

The code sets the value to 1 and then increments the value some number of
times.  Nowhere in the code is the value reset or decremented.  How does
that allow any condition other than the test will always be true?  What
difference does it make whether it is the first test or the 100th?

:: -Original Message-
:: From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On
:: Behalf Of John Gilmore
:: Sent: Monday, July 29, 2013 3:45 PM
:: To: IBM-MAIN@LISTSERV.UA.EDU
:: Subject: Re: Establishing and using Unix file system and USS under z/OS
::
:: If the question
::
:: | Can this ever be false?
::
:: is really ellipsis for the question: Can this ever be false the first
:: time it is tested?
::
:: the answer is no.  If not, not.
::
:: John Gilmore, Ashland, MA 01721 - USA
::
:: --
:: For IBM-MAIN subscribe / signoff / archive access instructions,
:: send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN

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


Re: Establishing and using Unix file system and USS under z/OS

2013-07-29 Thread Ze'ev Atlas
On a zFS filesystem

FILE /u/joarmc/ openned successfully
FILE NAME: /u/joarmc
PDS GROUP: PO 0 MEM 0 DIR 0 PDSE 0
VSAM GROUP: VSAM 0 RLS __NORLS
VSAM TYPE __NOTVSAM
PS GROUP: PS 0 F 0 V 0 U 1 S 0
HFS GROUP: HFS 1

This means that fldata sees ZFS the same way it sees HFS which is what I'd 
thought it would be.  In that case I probably could treat both of them the same 
and let the z/OS Unix deal them.

On an HFS filesystem:

FILE /u openned successfully
FILE NAME: /u
PDS GROUP: PO 0 MEM 0 DIR 0 PDSE 0
VSAM GROUP: VSAM 0 RLS __NORLS
VSAM TYPE: __NOTVSAM
PS GROUP: PS 0 F 0 V 0 U 1 S 0
HFS GROUP: HFS 1

Yeah, I've got the same results.
Thanks again
ZA

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