Re: MVS ROUTE command is a bad influence on DB2 ERLY code

2013-08-15 Thread Peter Relson
I checked with the consoles folks. Walt's surmise is correct.

The command will usually run in master or console address space (some do 
run elsewhere) , but it is sent over the SSI in the space that 
created/issued it (whether by MGCR(E) or via SDSF). 

A ROUTEd command will run in the system space since that is where it is 
nominally created/issued on the target system.

Peter Relson
rel...@us.ibm.com 

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


Re: C issue - 'struct stat'

2013-08-15 Thread Shmuel Metz (Seymour J.)
In 6448819105643178.wa.zatlas1yahoo@listserv.ua.edu, on
08/14/2013
   at 09:30 PM, Ze'ev Atlas zatl...@yahoo.com said:

limited by their sysprogs

I would have assumed that the systems programmers would be more
interested in PCRE than the applications developers.

HFS

Do you do anything that won't work with zFS?

-- 
 Shmuel (Seymour J.) Metz, SysProg and JOAT
 Atid/2http://patriot.net/~shmuel
We don't care. We don't have to care, we're Congress.
(S877: The Shut up and Eat Your spam act of 2003)

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


Re: C issue - 'struct stat'

2013-08-15 Thread Shmuel Metz (Seymour J.)
In
1324425089-1376535875-cardhu_decombobulator_blackberry.rim.net-1454793260-@b4.c1.bise6.blackberry,
on 08/15/2013
   at 03:04 AM, Ted MacNEIL eamacn...@yahoo.ca said:

NOT set arbitrary rules!

Nothing the OP were suggests that the rules were arbitrary, ore even
that the systems programmers were the ones making the decision to
impose the rules. It is quite common for systems to enforce rules
decreed from higher up.

-- 
 Shmuel (Seymour J.) Metz, SysProg and JOAT
 Atid/2http://patriot.net/~shmuel
We don't care. We don't have to care, we're Congress.
(S877: The Shut up and Eat Your spam act of 2003)

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


Re: C issue - 'struct stat'

2013-08-15 Thread Shmuel Metz (Seymour J.)
In 520c4685.2070...@gmail.com, on 08/15/2013
   at 11:09 AM, David Crayford dcrayf...@gmail.com said:

Well said! I've been lucky in that I've never worked at a customer
site  which had such stupid rules. In fact it's always been the other
way round where the application folks had the power. SYSPROGs and
service delivery were seen as money spenders, not money makers.

Applications and systems are *both* service centers; neither is a
money maker. Both are money spenders. Allowing applications to make
arbitrary unilateral decision is as bad as allowing systems to make
arbitrary unilateral decisions. In both cases, bad decisions impose
costs on others.

-- 
 Shmuel (Seymour J.) Metz, SysProg and JOAT
 Atid/2http://patriot.net/~shmuel
We don't care. We don't have to care, we're Congress.
(S877: The Shut up and Eat Your spam act of 2003)

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


Re: MVS ROUTE command is a bad influence on DB2 ERLY code

2013-08-15 Thread Shmuel Metz (Seymour J.)
In
ofe0653aee.3d63bcdb-on85257bc8.0047b8fd-85257bc8.00480...@us.ibm.com,
on 08/15/2013
   at 09:05 AM, Peter Relson rel...@us.ibm.com said:

whether by MGCR(E) or via SDSF

Doesn't SDSF issue an MGCR[E] to process /cmd?

-- 
 Shmuel (Seymour J.) Metz, SysProg and JOAT
 Atid/2http://patriot.net/~shmuel
We don't care. We don't have to care, we're Congress.
(S877: The Shut up and Eat Your spam act of 2003)

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


comparing binary file

2013-08-15 Thread Ron Thomas
Hello.

We have  bainary file that is send to unix box in that file there a mapping 
data in which each byte represent data for 8 unix  box.

The data defintion is of the below

01  IT2-REC.
03  IT2-LNG   PIC 9(4)  COMP.
--
   03   MAP-DATA OCCURS 0 TO 1500
DEPENDING ON IT2-LNG  PIC X.

Here now we are planning to increase from 1500 to 2000 , so here after 
modification how we can compare the files as this a binary data ( ie 1500 *8) 
information is embedded here.

Thanks
Ron T

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


Re: comparing binary file

2013-08-15 Thread John McKown
What sort of output do you want from your compare? If you just want to know
if the two files have identical contents, then the UNIX cmp command will
tell you that. If you want to compare what would be logical records on
z/OS, they you'll need to write a program to do it. If it were me, I write
it in C or maybe Java. But what sort of output would be appropriate? Simply
saying something like record #5 differs. Or do you want something more
complicated which would be more like the output from the UNIX diff
command? In this latter case, I would probably have my program do some sort
of encoding of the binary data into lines of text which diff could then
compare.


On Thu, Aug 15, 2013 at 8:56 AM, Ron Thomas ron5...@gmail.com wrote:

 Hello.

 We have  bainary file that is send to unix box in that file there a
 mapping data in which each byte represent data for 8 unix  box.

 The data defintion is of the below

 01  IT2-REC.
 03  IT2-LNG   PIC 9(4)  COMP.
 --
03   MAP-DATA OCCURS 0 TO 1500
 DEPENDING ON IT2-LNG  PIC X.

 Here now we are planning to increase from 1500 to 2000 , so here after
 modification how we can compare the files as this a binary data ( ie 1500
 *8) information is embedded here.

 Thanks
 Ron T

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




-- 
As of next week, passwords will be entered in Morse code.

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: comparing binary file

2013-08-15 Thread Itschak Mugzach
Or sort with omit duplicates...
ITschak
בתאריך 15 באוג 2013 17:22, מאת John McKown john.archie.mck...@gmail.com:

 What sort of output do you want from your compare? If you just want to know
 if the two files have identical contents, then the UNIX cmp command will
 tell you that. If you want to compare what would be logical records on
 z/OS, they you'll need to write a program to do it. If it were me, I write
 it in C or maybe Java. But what sort of output would be appropriate? Simply
 saying something like record #5 differs. Or do you want something more
 complicated which would be more like the output from the UNIX diff
 command? In this latter case, I would probably have my program do some sort
 of encoding of the binary data into lines of text which diff could then
 compare.


 On Thu, Aug 15, 2013 at 8:56 AM, Ron Thomas ron5...@gmail.com wrote:

  Hello.
 
  We have  bainary file that is send to unix box in that file there a
  mapping data in which each byte represent data for 8 unix  box.
 
  The data defintion is of the below
 
  01  IT2-REC.
  03  IT2-LNG   PIC 9(4)  COMP.
  --
 03   MAP-DATA OCCURS 0 TO 1500
  DEPENDING ON IT2-LNG  PIC X.
 
  Here now we are planning to increase from 1500 to 2000 , so here after
  modification how we can compare the files as this a binary data ( ie 1500
  *8) information is embedded here.
 
  Thanks
  Ron T
 
  --
  For IBM-MAIN subscribe / signoff / archive access instructions,
  send email to lists...@listserv.ua.edu with the message: INFO IBM-MAIN
 



 --
 As of next week, passwords will be entered in Morse code.

 Maranatha! 
 John McKown

 --
 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: comparing binary file

2013-08-15 Thread Paul Gilmartin
On Thu, 15 Aug 2013 08:56:52 -0500, Ron Thomas wrote:

Hello.

We have  bainary file that is send to unix box in that file there a mapping 
data in which each byte represent data for 8 unix  box. ... , so here after 
modification how we can compare the files as this a binary data ( ie 1500 *8) 
information is embedded here.
 
cmp file1 file2

-- gil

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


Re: comparing binary file

2013-08-15 Thread Paul Gilmartin
On Thu, 15 Aug 2013 17:24:43 +0300, Itschak Mugzach wrote:

Or sort with omit duplicates...
 
Ummm ...  Suppose File 1 is:

A
B

And File 2 is:

B
A

Merged and sorted is:

A
A
B
B

Eliminating duplicates gives:

(nothing!)

-- gil

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


Re: C issue - 'struct stat'

2013-08-15 Thread Ze'ev Atlas
Shmuel daid:
Do you do anything that won't work with zFS?

No, fldata treat them the same, so do I.
ZA

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


JES2 Destination Node Change Question

2013-08-15 Thread Hansen, Dave L - Eagan, MN
Dear JES2 experts,

   I am not well versed in JES2.  Node AB will no longer have printers.  I 
need to direct the output to node CD for DESTs of U*.  Wild cards can be 
fun.  These printers are not defined to JES2 as DESTIDs == 
/$ADDDEST(JSV458),DEST=N1.U113

   So $TOJQ,/DEST=AB.U*,QUEUE=X will select NODE AB and DEST U*.

   Q).  Will $TOJ,/DEST=AB,U*,/DEST=CD.U* change AB.U1234 to CD.U1234 and 
AB.U6789 to CD.U6789?

   Q).  Would there be a better way to point all the U* DESTs to NODE CD?


  Thank you,  Dave

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


Re: comparing binary file

2013-08-15 Thread John Gilmore
Eliminating duplicates gives

  A
  B

Eliminating all duplicated values is a different and rare requirement.
  Eliminating duplicate values ordinarily means that if there are d =
1 instances of a value v in a list, file, whatever,  then d - 1 of
these values v are eliminated.

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: comparing binary file

2013-08-15 Thread Itschak Mugzach
John,

Sort, at least on distibuted platforms, enables you to compare in a JOIN
like syntax where you can decide to keep OUTER (of the join) only. If all
records are duplicated, you'll get an empty file. else you'll get 1 or more
records in the outer condition. So, if the files goes to Unix, sort can
help.


ITschak


On Thu, Aug 15, 2013 at 7:11 PM, John Gilmore jwgli...@gmail.com wrote:

 Eliminating duplicates gives

   A
   B

 Eliminating all duplicated values is a different and rare requirement.
   Eliminating duplicate values ordinarily means that if there are d =
 1 instances of a value v in a list, file, whatever,  then d - 1 of
 these values v are eliminated.

 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: Nested Clists

2013-08-15 Thread Shmuel Metz (Seymour J.)
In 4987517241938904.wa.rdigestanigmail@listserv.ua.edu, on
08/15/2013
   at 02:58 PM, Raul Digestani rdigest...@gmail.com said:

It is possible call a Clist in the form %Clistname from other (main)
Clist?

Well, examples in z/OS TSO/E CLISTs, SA22-7781-05 do so, e.g., 5.4.3 
SYSPROC:

 IF STR(SYSPROC) = SMPROC THEN +
  %horzntl
 ELSE +
  DO
   WRITE Your screen cannot be reformatted.
   WRITE Log on using SMPROC as logon proc.
  END
 
-- 
 Shmuel (Seymour J.) Metz, SysProg and JOAT
 ISO position; see http://patriot.net/~shmuel/resume/brief.html 
We don't care. We don't have to care, we're Congress.
(S877: The Shut up and Eat Your spam act of 2003)

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


Re: Nested Clists

2013-08-15 Thread Ted MacNEIL
You can call CLIST from CLIST with %clist.
Or EXEC from, etc.
Just with REXX it must be: %EXEC (or, %CLIST).
-
Ted MacNEIL
eamacn...@yahoo.ca
Twitter: @TedMacNEIL

-Original Message-
From: Paul Gilmartin paulgboul...@aim.com
Sender:   IBM Mainframe Discussion List IBM-MAIN@LISTSERV.UA.EDU
Date: Thu, 15 Aug 2013 23:20:50 
To: IBM-MAIN@LISTSERV.UA.EDU
Reply-To: IBM Mainframe Discussion List IBM-MAIN@LISTSERV.UA.EDU
Subject: Re: Nested Clists

On Thu, 15 Aug 2013 14:58:17 -0500, Raul Digestani wrote:

It is possible call a Clist in the form %Clistname from other (main) Clist? Or 
only we can use EXEC command?
The implicit call seems more versatile than EXEC cmd. so it scans all sysproc 
library.
Thanks in advance - Raul.
 
OTOH, there arguments it's syntactically possible to pass with EXEC but
not with call (such as '(').  So I wish for EXEC *(MEMBER) to search
SYSEXEC/SYSPROC, even as CALL *(MEMBER) searches TASKLIB.

-- gil

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