Re: 21st Century Migrates Mainframe with Clerity

2012-01-05 Thread Denis Gäbler
Hi Tom,

if you click on the link it shows the following:
Up to 8 physical cores or 16 logical cores through Hyper-threading

 
The old Hyperthreading implementation was not really two logical cores per 
physical core (some things were shared such as the floating point unit), but 
Intel changed the implementation when AMD came up with the 6-12 physical cores, 
such that now Intel Hyperthreading logical core is performing much better and 
AMD comes not even close in termes of performance.

 
So if you calculate with an Hyperthreading enabled 6 core, you get 4,5 
instructions per clock cycle per core.

Denis.

 

-Original Message-
From: Tom Marchant m42tom-ibmm...@yahoo.com
To: IBM-MAIN IBM-MAIN@bama.ua.edu
Sent: Thu, Jan 5, 2012 8:21 pm
Subject: Re: 21st Century Migrates Mainframe with Clerity


On Thu, 5 Jan 2012 10:31:18 -0500, Anne  Lynn Wheeler wrote:



Intel Core i7 at 177,730 MIPs/sec

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



That's a six core processor running at a 3.3 GHz clock rate.  That 

translates to each core completing about 9 instructions per clock 

cycle.  I am skeptical.



-- 

Tom Marchant



--

For IBM-MAIN subscribe / signoff / archive access instructions,

send email to lists...@bama.ua.edu with the message: INFO IBM-MAIN


 

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


Re: Mixing XPLINK and Non-XPLINK

2011-06-30 Thread Denis Gäbler
The caller PL/I does not neccessarily have to be an XPLINK program, but you 
will require an LE enclave with XPLINK(ON). Then you are allowed to mix XPLINK 
and non-XPLINK modules.



 Denis.


 

 

-Original Message-
From: Bernd Oppolzer bernd.oppol...@t-online.de
To: IBM-MAIN@bama.ua.edu
Sent: Thu, Jun 30, 2011 6:21 pm
Subject: Mixing XPLINK and Non-XPLINK


I'm still fighting with the OPENSSL package. It works for me, 
if I'm calling it from my C main program, but it would be nicer, if 
I could call the functions from PL/1. But I have only a XPLINK version 
of the OPENSSL libraries which someone else built for me, and no 
sources available. 
 
So I first wanted to call a XPLINK C module from a Non-XPLINK 
C main program. According to the XPLINK red book, this should be 
possible by using the fetch() service. So I changed my main program 
to call the XPLINK module by fetch(). This worked fine. But when I then 
compiled my main program as Non-XPLINK (all compile and link steps 
without any errors), the fetch() service returned a NULL pointer instead 
of a valid function pointer. 
 
What might be the problem? I have no idea. Any hints? 
 
Kind regards 
 
Bernd 
 
-- 
For IBM-MAIN subscribe / signoff / archive access instructions, 
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO 
Search the archives at http://bama.ua.edu/archives/ibm-main.html 

 

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: Virginia DOT outage

2010-09-02 Thread Denis Gäbler
From the IMS-L listserver is the following link:
http://www.microsoft.com/casestudies/Microsoft-SQL-Server-2005-Enterprise-Edition/Virginia-Department-of-Motor-Vehicles/Virginia-DMV-Enhances-Decisions-Boosts-Safety-Through-Integration-with-Other-Agencies/404307

 

 They actually spend a lot of money to convert the mainframe to something else. 
The article above is about how great the new solution is.

Denis.


 

 

-Original Message-
From: Dave Kopischke dgkopisc...@oppenheimerfunds.com
To: IBM-MAIN@bama.ua.edu
Sent: Thu, Sep 2, 2010 12:43 am
Subject: Re: Virginia DOT outage


On Wed, 1 Sep 2010 18:18:19 EDT, Ed Finnell wrote:



In a message dated 9/1/2010 2:33:01 P.M. Central Daylight Time,

writes:



doesn't this say more about the disaster recovery

scenario than  anything else?





More like never been tested under  load.





In all those story links, there was no mention at all that their DR plan was 

even invoked.



Maybe it wasn't deemed to be a significant enough failure to warrant 

executing their DR plan ???



Maybe they don't have a DR plan ???



I don't live in Virginia, so it doesn't affect me personally. At least I don't 

think 

it does. If Northrup-Grumman has to pay for this, who are there other 

customers ??? They may have to raise their rates to make up for the loss, so I 

actually might end up paying for it. Hm



The Virginia Governor's office seems a little worried. Lot's of blame being 

aimed 

right at them. Do you think the outsourcer is feeling the same kind of heat ??? 

So what if they lose a client. They'll get another.



I'd be interested in reading details about the array failure. Some of the 

comments questioned the likelihood of a dual failure. So what failed and 

when ??? Maybe the first failure went unreported or was ignored ??? A dual 

failure is pretty unlikely...



There's a lot more to this than is being reported. I sure hope it's not buried.



--

For IBM-MAIN subscribe / signoff / archive access instructions,

send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO

Search the archives at http://bama.ua.edu/archives/ibm-main.html


 

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: can't get a valid JAVAENV file specified for DB2 WLM address space

2010-05-26 Thread Denis Gäbler
 Try ENVAR=(...)

 


 

 

-Original Message-
From: Jim McAlpine jim.mcalp...@gmail.com
To: IBM-MAIN@bama.ua.edu
Sent: Wed, May 26, 2010 6:27 pm
Subject: can't get a valid JAVAENV file specified for DB2 WLM address space


I'm trying to set up a DB2 WLM AE address space for Java and I have the
JAVAENV DD statement pointing to a file which currently contains -

XPLINK(ON),
ENVAR(JCC_HOME=/usr/lpp/db2/db2810,
JAVA_HOME=/u/Java6_31/J6.0,
JVMPROPS=/java/jvmprops)

which gives the following errors -

CEE3608I The following messages pertain to the invocation command run-time
options.
CEE3611I The run-time option  ENVAR was an invalid run-time option or is not
supported in this release of Language
 Environment.
CEE3605I The string ' ' was found where a delimiter was expected following
the suboptions for the run-time option
  ENVAR.

Entered PK83379 version of DSNX9JVM at time: Wed May 26 16:07:01 2010
One of DB2_HOME or JCC_HOME must be set; neither is currently set.
Return parm is -2

Can anyone see anything wrong with the JAVAENV file.  I've looked at till
I'm blue in the face but it looks valid to me.

Jim McAlpine

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

 

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: can't get a valid JAVAENV file specified for DB2 WLM address space

2010-05-26 Thread Denis Gäbler
 No, sorry, that was not correct.
I took the sample from a CEEUOPT assembly.

 CEEUOPT  CSECT  
CEEUOPT  AMODE ANY  
CEEUOPT  RMODE ANY  
 CEEXOPT XPLINK=(ON),  X
   POSIX=(ON), X
   ANYHEAP=(3M,128K,ANY,FREE), X
   HEAP=(180M,10M,ANY,KEEP,16K,8K),X
   HEAPPOOLS=(ON,8,10,32,10,128,10,256,10,1024,10,2048,10, X
   0,1,0,10,0,10,0,10,0,10,0,10),  X
   STACK=(64K,16K,ANY,KEEP,128K,128K), X
   STORAGE=(NONE,NONE,NONE,0K),X
   THREADSTACK=(OFF,64K,16K,ANY,KEEP,128K,128K),   X
   TERMTHDACT=(UADUMP),X
   ENVAR=('_CEE_ENVFILE=/u/impot60/ENVIMSDB2')  
 END


 But I used _CEE_ENVFILE and stored the CLASSPATH, LIBPATH, etc. there.

Denis.

 

-Original Message-
From: Jim McAlpine jim.mcalp...@gmail.com
To: IBM-MAIN@bama.ua.edu
Sent: Wed, May 26, 2010 6:27 pm
Subject: can't get a valid JAVAENV file specified for DB2 WLM address space


I'm trying to set up a DB2 WLM AE address space for Java and I have the
JAVAENV DD statement pointing to a file which currently contains -

XPLINK(ON),
ENVAR(JCC_HOME=/usr/lpp/db2/db2810,
JAVA_HOME=/u/Java6_31/J6.0,
JVMPROPS=/java/jvmprops)

which gives the following errors -

CEE3608I The following messages pertain to the invocation command run-time
options.
CEE3611I The run-time option  ENVAR was an invalid run-time option or is not
supported in this release of Language
 Environment.
CEE3605I The string ' ' was found where a delimiter was expected following
the suboptions for the run-time option
  ENVAR.

Entered PK83379 version of DSNX9JVM at time: Wed May 26 16:07:01 2010
One of DB2_HOME or JCC_HOME must be set; neither is currently set.
Return parm is -2

Can anyone see anything wrong with the JAVAENV file.  I've looked at till
I'm blue in the face but it looks valid to me.

Jim McAlpine

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

 

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: can't get a valid JAVAENV file specified for DB2 WLM address space

2010-05-26 Thread Denis Gäbler
 Isn't JAVAENV just the point where you would put:

JCC_HOME=/usr/lpp/db2/db2810
JAVA_HOME=/u/Java6_31/J6.0
JVMPROPS=/java/jvmprops


Java automatically does XPLINK(ON), there is no need to specify that.

 
Denis.


 

 

-Original Message-
From: Barkow, Eileen ebar...@doitt.nyc.gov
To: IBM-MAIN@bama.ua.edu
Sent: Wed, May 26, 2010 7:05 pm
Subject: Re: can't get a valid JAVAENV file specified for DB2 WLM address space


I am not sure if java even uses LE.
You can set the classpath, etc in the userids' unix profile .profile member.
This would be the userid of the address space in a hfs file like 
/u/userid/.profile.

JAVA_HOME=/u/eileen/j14/J1.4 
export   JAVA_HOME  
 
IBM_JAVA_OPTIONS=-Xmx64m   
export IBM_JAVA_OPTIONS 


export   CLASSPATH 
IBM_JAVA_OPTIONS=-Xmx64m   
export IBM_JAVA_OPTIONS  

-Original Message-
From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of 
Denis Gäbler
Sent: Wednesday, May 26, 2010 12:44 PM
To: IBM-MAIN@bama.ua.edu
Subject: Re: can't get a valid JAVAENV file specified for DB2 WLM address space

 No, sorry, that was not correct.
I took the sample from a CEEUOPT assembly.

 CEEUOPT  CSECT  
CEEUOPT  AMODE ANY  
CEEUOPT  RMODE ANY  
 CEEXOPT XPLINK=(ON),  X
   POSIX=(ON), X
   ANYHEAP=(3M,128K,ANY,FREE), X
   HEAP=(180M,10M,ANY,KEEP,16K,8K),X
   HEAPPOOLS=(ON,8,10,32,10,128,10,256,10,1024,10,2048,10, X
   0,1,0,10,0,10,0,10,0,10,0,10),  X
   STACK=(64K,16K,ANY,KEEP,128K,128K), X
   STORAGE=(NONE,NONE,NONE,0K),X
   THREADSTACK=(OFF,64K,16K,ANY,KEEP,128K,128K),   X
   TERMTHDACT=(UADUMP),X
   ENVAR=('_CEE_ENVFILE=/u/impot60/ENVIMSDB2')  
 END


 But I used _CEE_ENVFILE and stored the CLASSPATH, LIBPATH, etc. there.

Denis.

 

-Original Message-
From: Jim McAlpine jim.mcalp...@gmail.com
To: IBM-MAIN@bama.ua.edu
Sent: Wed, May 26, 2010 6:27 pm
Subject: can't get a valid JAVAENV file specified for DB2 WLM address space


I'm trying to set up a DB2 WLM AE address space for Java and I have the
JAVAENV DD statement pointing to a file which currently contains -

XPLINK(ON),
ENVAR(JCC_HOME=/usr/lpp/db2/db2810,
JAVA_HOME=/u/Java6_31/J6.0,
JVMPROPS=/java/jvmprops)

which gives the following errors -

CEE3608I The following messages pertain to the invocation command run-time
options.
CEE3611I The run-time option  ENVAR was an invalid run-time option or is not
supported in this release of Language
 Environment.
CEE3605I The string ' ' was found where a delimiter was expected following
the suboptions for the run-time option
  ENVAR.

Entered PK83379 version of DSNX9JVM at time: Wed May 26 16:07:01 2010
One of DB2_HOME or JCC_HOME must be set; neither is currently set.
Return parm is -2

Can anyone see anything wrong with the JAVAENV file.  I've looked at till
I'm blue in the face but it looks valid to me.

Jim McAlpine

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

 

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

 

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: What am I missing on XPLINK(OSCALL(N)) ?

2010-05-21 Thread Denis Gäbler
 You cannot call 24bit modules with XPLINK(ON), XPLINK forces ALL31(ON), it is 
documented here:

 
http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/CEEA31A0/1.2.4.2?SHELF=CEE2BKA0DT=20090608042151

Here is an except from the z/OS 1.11 Language Environment Programming Reference:


 1.2.4.2   Usage notes




Restrictions: You must specify ALL31(OFF) if your COBOL applications
   contain one of the following programs:

VS COBOL II NORES

OS/VS COBOL (non-CICS)

If the Language Environment environment was initialized using   
ILBOSTP0



PL/I considerations-- For PL/I MTF applications, Language Environment   
provides AMODE switching. Therefore, the first routine of a task can   
be in AMODE 24.

Fortran considerations--Use ALL31(ON) if all of the compile units in
   the enclave have been compiled with VS FORTRAN Version 1 or Version 2   
and there are no requirements for 24-bit addressing mode. Otherwise,   use 
ALL31(OFF).

XPLINK considerations--When an application is running in an XPLINK  
 environment (that is, either the XPLINK(ON) run-time option was   
specified, or the initial program contained at least one XPLINK   compiled 
part), the ALL31 run-time option is forced to ON. No AMODE 24   routines 
are allowed in an enclave that uses XPLINK. No message is   issued to 
indicate this action. If a Language Environment run-time   options report 
is generated using the RPTOPTS run-time option, the   ALL31 option is 
reported as Override under the LAST WHERE SET   column.

Guideline: ALL31 should have the same setting for all enclaves in a 
  process. Language Environment does not support the invocation of a   
nested enclave requiring ALL31(OFF) from an enclave running with   
ALL31(ON) in non-CICS environments.
Denis.


 

 

-Original Message-
From: Charles Mills charl...@mcn.org
To: IBM-MAIN@bama.ua.edu
Sent: Fri, May 21, 2010 8:01 pm
Subject: What am I missing on XPLINK(OSCALL(N)) ?


I've got some C++ code. The C++ code calls several functions written in

assembler. This all works non-XPLINK. I compile it with XPL(OSCALL(N)). I

bind into a PDSE. I run it z/OS batch. The C++ code takes off and runs. I

can see that it survives several C++ method calls. The first call to one of

the assembler functions it falls on its face somewhere after leaving the C++

code and before returning. Storage has been overlaid badly enough that the

save area trace and so forth is pretty much junk. I have desk-checked the

assembler function - it's only 50 lines including lots of comments - and as

I said, it works non-XPLINK. It makes no calls although it does do a STORAGE

OBTAIN,LOC=24



 



Am I doing things generally correctly? What should I be looking for?



 



The assembler routine is defined in the C++ code as



 



extern OS {



myStruct  *GETG24();



}



 



It begins GETG24   EDCPRLG DSALEN=CDSALEN,BASEREG=R12 and ends with  EDCEPIL

, and once again, it works non-XPLINK.



 



Charles Mills









--

For IBM-MAIN subscribe / signoff / archive access instructions,

send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO

Search the archives at http://bama.ua.edu/archives/ibm-main.html


 

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: REPLY DEVICE NAME OR 'CANCEL' for FTP to mainframe and SMS ACS routines

2010-04-29 Thread Denis Gäbler
 Hi,

have you tried to activate SMS for FTP:
;MGMTCLASS SMSMGMT ; sms mgmtclass name   
;DATACLASS SMSDATA ; sms data class name 

 in the TCPIP.FTP.DATA (or whatever name it has in your installation)?


 
Denis.


-Original Message-
From: Fred Schmidt fred.schm...@nt.gov.au
To: IBM-MAIN@bama.ua.edu
Sent: Thu, Apr 29, 2010 7:49 am
Subject: REPLY DEVICE NAME OR 'CANCEL' for FTP to mainframe and SMS ACS routines


Issued: Error! Unknown document property name.  iii



We are seeing...



IEF244I ZZZ STEP1 - UNABLE TO ALLOCATE 1 UNIT(S) 969

AT LEAST 1 OFFLINE UNIT(S) NEEDED.

IEF877E ZZZ NEEDS 1 UNIT(S) 970

FOR STEP1 SYS1

FOR VOLUME PRIVAT-   1

OFFLINE

1004-1007 1011-1012 1027-1028 102E-1033 1035-1039 103B-103D 1042-1049

IEF878I END OF IEF877E FOR ZZZ STEP1 SYS1

05 IEF238D ZZZ - REPLY DEVICE NAME OR 'CANCEL'.



... when FTP'ing from userid=ZZZ a file to the mainframe named ZZZ.TEST.DATA. 
It 

fails because the request is for a non-SMS allocation with no VOLSER specified 

and we do not have any volumes mounted STORAGE.



We want the allocation to fail, as we don't want these FTP userids to create 

datasets under their own HLQ, only transfer other files. But we don't want the 

WTOR.



I've tried setting a DFP segment for userid ZZZ, with STORCLAS= FAILALOC and in 

the STORCLAS routine coding ...



WHEN ((DSOWNER = '') OR (DEF_STORCLAS = 'FAILALOC'))

   DO

  SET STORCLAS = ''

  WRITE 'DATASET ALLOCATION FAILED'

  WRITE 'HIGH LEVEL QUALIFIER (HLQ) IS NOT DEFINED'

  WRITE 'PLEASE CONTACT YOUR SECURITY ADMINISTRATOR'

  EXIT CODE(0)

   END



This works as intended for allocations via TSO/Batch. But it does not prevent 

the WTOR for FTP's.



Is there some way that I can prevent the WTOR for FTP using SMS? Or do I have 
to 

use ALLOCxx to cancel all allocation requests? I would rather not, as this has 

implications for all allocations and it is only FTP that has the problem.



Regards,

Fred Schmidt

NT Government, Australia







--

For IBM-MAIN subscribe / signoff / archive access instructions,

send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO

Search the archives at http://bama.ua.edu/archives/ibm-main.html


 

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: REPLY DEVICE NAME OR 'CANCEL' for FTP to mainframe and SMS ACS routines

2010-04-29 Thread Denis Gäbler
 I had a similar idea with an exit replying cancel to all WTORs for unavailable 
volumes. But that might not be suitable.

 
Another thing could be to make the HFS directory the default when logging in 
with a FTP client.
But that does not reject ZZZ. datasets to be created. Its just that you have to 
issue a cd commend cd 'ZZZ.' first in order to be able to create such a 
dataset. But for all jobs that just logon and start with put, you could set the 
HFS home directory rights such as that any ftp client which just puts any file 
without cd would fail.

Denis.


 

 

-Original Message-
From: Terry Sambrooks terry.sambro...@btclick.com
To: IBM-MAIN@bama.ua.edu
Sent: Thu, Apr 29, 2010 1:33 pm
Subject: Re: REPLY DEVICE NAME OR 'CANCEL' for FTP to mainframe and SMS ACS 
routines


Hi Fred,

It might be a sledge hammer approach, but is the ALLOCnn member of PARMLIB
any use.

It can contain a statement ALLC_OFFLN POLICY(CANCEL) but be aware that this
will affect all device allocation attempts.   

Kind Regards - Terry
 
Director
KMS-IT Limited
228 Abbeydale Road South
Dore
Sheffield
S17 3LA
UK
 
Reg : 3767263
 
Outgoing e-mails have been scanned, but it is the recipients responsibility
to ensure their anti-virus software is up to date.
 
 


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

 

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: REPLY DEVICE NAME OR 'CANCEL' for FTP to mainframe and SMS ACS routines

2010-04-29 Thread Denis Gäbler
 You are right, but quoting his initial post, I assumed that those FTP userids 
do not use USS.


We want the allocation to fail, as we don't want these FTP userids to create 
datasets under their own HLQ, only transfer other files. But we don't want the 
WTOR.



 


 

 

-Original Message-
From: Paul Gilmartin paulgboul...@aim.com
To: IBM-MAIN@bama.ua.edu
Sent: Thu, Apr 29, 2010 3:44 pm
Subject: Re: REPLY DEVICE NAME OR 'CANCEL' for FTP to mainframe and SMS ACS 
routines


On Thu, 29 Apr 2010 09:20:20 -0400, Denis Gäbler wrote:
 
Another thing could be to make the HFS directory the default when logging in 
with a FTP client.
... But for all jobs that just logon and start with put, you could set the HFS 
home directory rights such as that any ftp client which just puts any file 
without cd would fail.

How would you do this without crippling the users' routine use of
z/OS Unix System Services?

-- gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

 

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Germany: Free IMS Open Database and IMS Java Workshop March 18th 2010 IBM Forum Ehningen

2010-02-16 Thread Denis Gäbler
Hi List,

for those who might be interested and also to be routed to interested parties 
in your companies...

Just in case there is interest on trying out the new IMS Universal JDBC Driver 
to access IMS databases and to write your first IMS Java Batch and/or Online 
program, here is a free one day workshop to start with.
Attached is the web page for enrollments to the IMS Open Database and IMS Java 
Workshop on March 18th in Ehningen.
http://www-05.ibm.com/de/events/ad/agenda.html

Please note that this Workshop is part of the AD days in Ehningen which take 
place from March 16th thru 18th.
If you like to enroll for the IMS Open Database and IMS Java Workshop only, 
please select the breakout session on March 18th.

Thanks.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: COBOL v4.2 Books?

2010-02-15 Thread Denis Gäbler
Use:
http://www-03.ibm.com/systems/z/os/zos/bkserv/

Click on Link:
Search Bookshelf Titles and Filenames, which is similar to directly opening:
http://www-03.ibm.com/systems/z/os/zos/bkserv/find_shelves.html

 
Enter:
COBOL 

click Find.
Scroll down to the very end and the second entry from the bottom is:



Enterprise COBOL for z/OS V4R2
IGY3SH50
08/24/09 06:51:52

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/Shelves/IGY3SH50


 
Hope that helps.
Denis.

 

-Original Message-
From: John P. Baker jbaker...@comporium.net
To: IBM-MAIN@bama.ua.edu
Sent: Mon, Feb 15, 2010 9:31 pm
Subject: Re: COBOL v4.2 Books?


No idea.

However, I have all of the documentation in a ZIP file, which I can send to
you if you need it.

John P. Baker

-Original Message-
From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf
Of Chase, John
Sent: Monday, February 15, 2010 3:08 PM
To: IBM-MAIN@bama.ua.edu
Subject: COBOL v4.2 Books?

Noticed the books for Enterprise COBOL v4r2 are not available via the
public documentation URI http://www.ibm.com/systems/z/os/zos/bkserv.  Is
that omission intentional?  Enterprise COBOL v4r2 went GA last
August...

   -jc-

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

 

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: Java Batch und JCL (DSN Disposition)

2009-09-17 Thread Denis Gäbler
 
I don't understand.The scheduling software and the operations
people look at the return code and respond.   But instead of poring
through a dump, the displays tell them exactly what happened, making
it easier and quicker to find out what they should do as a result of
the failure.
 Thats the theory. How would you do that at 1000 tx/sec? 

And how would that work with the poor programming that sometimes comes
from the cheaper programmers that are initially hired these days?

Examples from experience:
10 return codes for 25 error reasons.
Untested software paths.
Software not regression tested, but put into production.
A return code not being documented, because the documentation is out of date or 
not updated.

Why default to the standard ABEND when I can give specific information
and ABEND in a controlled manner?
If the specific information is provided. Thats only the case with expected 
(caught) errors, not with unexpected errors.
I would say, a dump cannot lie. A return code could. What if the return code 
comes from generated code and you don't have the documentation of those APIs 
handy as operator?
And what do you do with the return code in that case?

When failure *does* matter, I like to give the best information I can,
and I like to make the failure as controlled as I can.
The project plan for software development does not give you the time to 
implement that, so what?



Too much uncertainty relying on programmers ;-) *you can now start beating me*

Denis.


-Original Message-
From: Howard Brazee howard.bra...@cusys.edu
To: IBM-MAIN@bama.ua.edu
Sent: Wed, Sep 16, 2009 4:58 pm
Subject: Re: Java Batch und JCL (DSN Disposition)










On 16 Sep 2009 07:41:27 -0700, don.le...@leacom.ca (Don Leahy) wrote:

Rollback is an option, but what do you do after that? ? Fail silently?

 Use the Return Code that has been established for the condition.


Sure, but that works only in those cases where the failure doesn't matter.


I don't understand.The scheduling software and the operations
people look at the return code and respond.   But instead of poring
through a dump, the displays tell them exactly what happened, making
it easier and quicker to find out what they should do as a result of
the failure.

Why default to the standard ABEND when I can give specific information
and ABEND in a controlled manner?

When failure *does* matter, I like to give the best information I can,
and I like to make the failure as controlled as I can.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



 


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: Java Batch und JCL (DSN Disposition)

2009-09-17 Thread Denis Gäbler
 
This is just poor man's control of processing.  I fail to see why 
savepoint, rollback and commit are less effective than abending and 
forcing a rollback.  I am sure that the shop has access to some sort of 
notification system (i.e. e-mail).  Save off the offending stuff, send out 
a processing exception to be remediated and continue.  While I did cede 
that abends may be useful, some actual programming logic would be more 
useful.  Basics are documented in DB2 SQL manuals.
I agree for the ideal software, but in reality who pays for return codes and 
error handling routines or testing?

As for:
This is just poor man's control of processing.  I fail to see why 
savepoint, rollback and commit are less effective than abending and 
forcing a rollback.
You rely on the programmer to take the appropriate actions. Would you?
You turn on autocommit for JDBC clients, because you don't want deadlocks or 
long database locks. You turn it off and leave control to the programmers, you 
earn long locks, deadlocks and slow processing/low parallelism.

Other example:
I believe the advantage of abend and rollback is, that the rollback takes place 
immediatly after abend. So the database locking time is short.
It is unpredictable how long the time between error and rollback is if you 
leave control to the programmer. A program might do other things before issuing 
rollback.
Keep a 1000tx/sec system in the back of your mind. It might (based on the 
database access requirements - locking) immediatly stall due to deadlocks as 
soon as a crucial database record is locked longer than 100ms.
Who of the new hires will keep that in mind with database and application 
design in times of we draw a model or persist objects by mapping those into a 
database using an object-relational framework?

Abend processing may have been popular.. but does it still need to be as a 
normal course of action?

Rob Schramm



 In todays world, the way that programming is done today (insufficient and not 
enough testing), I would not rely on return codes.

There are cases where a 20+ years programmer is cheaper than the new hire, 
because they don't reinvent the wheel in terms of error processing, error 
recovery, high volume transaction processing etc.

Denis.


-Original Message-
From: Rob Schramm rob.schr...@siriuscom.com
To: IBM-MAIN@bama.ua.edu
Sent: Wed, Sep 16, 2009 5:01 pm
Subject: Re: Java Batch und JCL (DSN Disposition)










This is just poor man's control of processing.  I fail to see why 
savepoint, rollback and commit are less effective than abending and 
forcing a rollback.  I am sure that the shop has access to some sort of 
notification system (i.e. e-mail).  Save off the offending stuff, send out 
a processing exception to be remediated and continue.  While I did cede 
that abends may be useful, some actual programming logic would be more 
useful.  Basics are documented in DB2 SQL manuals.

Abend processing may have been popular.. but does it still need to be as a 
normal course of action?

Rob Schramm

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



 


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: Java Batch und JCL (DSN Disposition)

2009-09-16 Thread Denis Gäbler
Some sub-systems have an implicit COMMIT at end of programme.
And this for a very good reason, or would you like your programmer to decide 
whether to commit or rollback if an unexpected error occurs and let them ruin 
your databases data integrity?
What if the error is such as that the program will never receive control? Who 
will then issue the commit or rollback or set the return code?

I really like concepts like autocommit and explicit commits in applications, 
that will keep us busy with the manual cleanup.

Denis.


 

-Original Message-
From: Ted MacNEIL eamacn...@yahoo.ca
To: IBM-MAIN@bama.ua.edu
Sent: Wed, Sep 16, 2009 1:05 pm
Subject: Re: Java Batch und JCL (DSN Disposition)










Wouldn't it be sufficient, then, simply to exit with whatever return code, 
without issuing a COMMIT?

Some sub-systems have an implicit COMMIT at end of programme.
-
Too busy driving to stop for gas!

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



 


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: Java Batch und JCL (DSN Disposition)

2009-09-16 Thread Denis Gäbler
Create a contract, application commits, the application to retrieve the money 
via electronic fund transfer fails, but the contract is there, because already 
commited.
Your DBMS with ACID is of full integrity. But that does not help you to get the 
money.

So the point is, from an ACID or DBMS point of view you have integrity, from a 
data perspective not. If you are forced to end a program to commit, there are 
less choices for the application programmer to ruin logical data integrity.

This is my personal opinion and I accept that others have other opinions and 
they might disagree about it.

Denis.


 

-Original Message-
From: David Andrews d...@lists.duda.com
To: IBM-MAIN@bama.ua.edu
Sent: Wed, Sep 16, 2009 2:10 pm
Subject: Re: Java Batch und JCL (DSN Disposition)










On Wed, 2009-09-16 at 07:35 -0400, Denis Gäbler wrote:
 would you like your programmer to decide whether to commit or rollback
 if an unexpected error occurs and let them ruin your databases data
 integrity?

What does either have to do with data integrity?  Your DBMS is ACID
compliant, yes?

-- 
David Andrews
A. Duda and Sons, Inc.
david.andr...@duda.com

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



 


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: Java Batch und JCL (DSN Disposition)

2009-09-15 Thread Denis Gäbler
 Hi,

I know for IMS, that in case e.g. a class is not found, there will be an U101 
abend.
So in order to force an U101 Abend in IMS you could do a:
Class.forName(my.non.exisiting.Class);
But I am not sure if that will create an abend in all environments such as JZOS 
and BPXBATCH?!

Nevertheless its ugly coding.


 
Denis.


 

-Original Message-
From: Daniel Erdmann daniel.erdman...@googlemail.com
To: IBM-MAIN@bama.ua.edu
Sent: Tue, Sep 15, 2009 3:51 pm
Subject: Re: Java Batch und JCL (DSN Disposition)










2009/9/15 Steve Comstock st...@trainersfriend.com

 Daniel Erdmann wrote:

 Our development staff is going to develop new programs in Java instead of
 COBOL.


 Using the same staff of programmers that wrote the COBOL code?


No, most of the Java programmers developed programs for application servers
before, respectively they're still doing.

At all we're currently just testing Java for batch programs, and it's not
the application development who wants to abend, but the operating - and so
the development staff was directed to program in a way as described above,
means 'let the program abend instead of returning RC != 0'.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



 


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: Any Utilities to Archive Members of a PDS/PDSE - Load Libraries, Not Source

2009-08-18 Thread Denis Gäbler
 I once heard about a product called SYSChange from Pristine Software.
http://www.pristineusa.com/index.html


 However, I never tried it.

Denis.


 

-Original Message-
From: King, Jeffrey E jeffrey.k...@ca.com
To: IBM-MAIN@bama.ua.edu
Sent: Tue, Aug 18, 2009 7:13 pm
Subject: Re: Any Utilities to Archive Members of a PDS/PDSE - Load Libraries, 
Not Source










CA PDSMAN offers a wide range of archiving and recovery options for
members in both PDS and PDSE libraries. This includes maintaining
multiple versions of a member within a library, establishing a Journal
(or shadow) library setup, or using a more conventional archiving system
to sequential data sets.


Jeffrey King
CA
PDSMAN Principle Software Engineer
Columbus, Ohio USA
tel: +1 614 785 2743 or x62743
jeffrey.k...@ca.com


-Original Message-
From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On
Behalf Of Mark Zelden
Sent: Monday, August 17, 2009 10:31 AM
To: IBM-MAIN@bama.ua.edu
Subject: Re: Any Utilities to Archive Members of a PDS/PDSE - Load
Libraries, Not Source

I haven't seen anyone mention CA-PDSMAN yet.  Or doesn't that work with
LMODs?   (I haven't worked with this product since the early 90s.)

Mark
--
Mark Zelden
Sr. Software and Systems Architect - z/OS Team Lead
Zurich North America / Farmers Insurance Group - ZFUS G-ITO
mailto:mark.zel...@zurichna.com
z/OS Systems Programming expert at
http://expertanswercenter.techtarget.com/
Mark's MVS Utilities: http://home.flash.net/~mzelden/mvsutil.html

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



 


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: Java question

2009-08-17 Thread Denis Gäbler
 Hi Peter,

sorry for the delay, but I have been traveling.


 
For all the statements I did, one of the thoughts behind it was, that HPJ 
compiled code does not run in a JVM as HPJ was implemented years ago. So the 
whole JVM runtime was replaced by PDS members that are load modules just like 
any other languages load module. So with HPJ there was no JVM during execution.

According to your reply:
1. Thats correct, however as I stated, you loose all the standard stuff that 
comes with a JVM and you loose the capability to have a runtime (JVM) that 
behaves similar and can be tuned and parameterized similar to other platforms.

You are right, that HLL languages can use memory management too, but there must 
be some overhead in doing that or switching it on, so that was basically what I 
was refering too. The compiled code must implement functions etc. to do the 
memory managment, because it does not use the JVM and its garbage collection 
mechanisms anymore.
Or as a prereq, the whole compiling stuff would not make sense, if you still 
run in a JVM, because of the options that todays JVMs provide.

2. I recall from the implementation of the High Performance Java Compiler, that 
the compiled application is a statically linked huge load module (think of a 
50MB classpath). In addition, if you have many Java classes with a Java main 
Method, which is executable as a starting point, each of these Java Main 
Programms will be its own statically linked huge module and also has all 
classes from the classpath compiled into it. So HPJ produced huge load modules 
and was very inflexible, not only in terms of reusing compiled code. If it were 
enhanced to support dynamic calls, you would have a need to have a 1:1 
relationship between Java class and load module, thus a lot of members in the 
load PDS.

3. Because of the fact, that you cannot really influence the behaviour of the 
JIT compiler, we only test with all optimizations switched on, that works 
pretty well. Once in while there are applications which do not work with the 
highest JVM Optimization level and there are switches to force a certain 
optimization level or to restrict optimization up to a specific level.
Yes we trust the compiler, however if something goes wrong, you still get an 
exception, traces, etc., which you do not get with the compiled version, 
because the JIT compiler is somehow part of the whole JVM construct and in the 
compiled version you do not have the JVM anymore.
Basically when there are tuning advices for WebSphere z/OS or for a distributed 
JDK, most of the recommendations also apply to the JVM on z/OS, so getting rid 
of the JVM in favour of just having compiled code would also make the execution 
environment on z/OS incompatible to all other Java environments in terms of 
behaviour, problem determination, tuning and customization.

Nevertheless I admit, that there would be some benefit, if the JVM on z/OS 
could save JIT compiled code into datasets or HFS image, once the compiled code 
reached a higher level of optimization. This could be enhanced to load a JIT 
image during JVM startup which has the most used classes already compiled.
Or when classes are used among multiple JVMs, in addition to the shared 
classloader cache having a shared JIT cache would likely have its benefits. But 
reading the documentation, these are not there nor planned.

4. I recall that transmeta had a processor, which loaded a Millicode on 
startup, so basically a RISC processor with that capability could easily load 
the newest JRE version on every IPL.

5. Yes it could, but it never did, by the time the HPJ was there, we had no 
zAAP. And HPJ code never run on a zAAP.

Hope that helps.
Denis.


 

-Original Message-
From: Hunkeler Peter (KIUP 4) peter.hunke...@credit-suisse.com
To: IBM-MAIN@bama.ua.edu
Sent: Wed, Aug 12, 2009 12:47 pm
Subject: Re: Java question










Denis,
Thanks for the excellent argumentation. I basically concur with you.

I'd like to reply to a few arguments, though:

1. Today's JVMs offer the option to have the byte code compiled on the 
fly when certain conditions are met. So, these JVMs already have the
capability to run machine code instead of byte code. This is the
runtime environment you'd need to run Java code that has been compiled
at the will of the programmer instead of at the will of the JVM. All 
you need is an option to tell the JVM where to find and/or how to 
recognize pre-compiled java class files.

No need for a new runtime environment, no need for application
programmers
to care any more about memory management as they need to care about with
today's Java environment. You still instantiate a JVM and tell it which
Java class file to run.

BTW, programmer's don't need to care about memory management in other
HLL languages, do they? It's the HLL's runtime that manages this.

2. Why do you think that compiled Java class code needs to fill PDSs?
The
JVM does *not* create PDS members when the JIT 

Re: Java question

2009-08-06 Thread Denis Gäbler
 I believe one of the reasons is, that you need a JVM as runtime in order to 
get 100% Java certified. In addition your runtime components would have to 
implement the standard Java configuration switches, such as -classpath -cp or 
memory settings such as -mx in order to be standard. The runtime would have to 
produce the standard traces, support will likely ask you for a verbose or 
verbose:gc trace or runhprof file, if an application does not perform or has 
memory leaks, how would you create that with compiled code?
Java is known as a memory managed runtime, which means that the application 
programmer does not care about memory and the runtime will have to manage it 
(that is the reason for garbage collection in Java), so running a poorly 
programmed Java application as compiled code, will give the runtime environment 
a hard time, since it would have to log all the getmains and do the freemains, 
since the Java application is not designed to do that (Although good 
programming practice would be to reuse as much objects as possible). So there 
are a couple of things which would add overhead to the native java code 
runtime, so that the difference to running the JVM would be rather small.

I just tested ILOG JRULES ISV application (which allows to create business 
rules on a GUI and generate Java class implementations of the created rules) 
and the jexcel API (open source project which allows you to create Excel files 
from Java - we used a sample to create Excel Files out of IMS databases) 
nativly in z/OS by just putting the jar files to an HFS and adding it to the 
IMS Java regions classpath, for ILOG these are about 50MB of .jar files. Given 
that the compile will not fail it would create a huge PDS and a huge amount of 
load modules, so I am not sure if in the end you would have much benefit of 
compiled code. Basically you loose a lot of flexibility and you would have to 
test an application twice - once in your development environment and once as 
compiled code. There is also cost associated with that, not only MLC based on 
MSUs.

Since JDK 1.5 the JVMs have a codecache, which caches the native code which was 
generated by the Just in Time compiler (JIT) out of static methods. So if a JVM 
lives for 10 days, the benefit of compiled code would be that the first 10 
calls would probably be faster with compiled code (given that all the required 
load modules are preloaded and you don't need IOs. For the JDKs from 1.5. you 
have the shared classloader cache (and you can have multiple of it for 
different application workloads, e.g. IMS Java regions 1-4 are for App A and 
use the same shared classloader cache and IMS Java regions 5-10 are for App B 
and use a different shared classloader cache - similar to having different 
Proclib member with lists of modules to be preloaded) which saves IOs once the 
classes are loaded. In addition the newer JVMs are able to optimize the native 
code as needed, so when a java method is heavily used, the JVM will try harder 
to optimize the created native code.



 I always wondered why the concept of having a pure Java processor or 
co-processor (a processor that implements the Java Byte code nativly or in 
millicode) never arrived on the market, although everybody would expect that to 
be more powerful than executing JVMs on general purpose processors. But having 
a native Java processor or compiled code alone will not address all the 
associated stuff that comes with an application life cycle and not to forget 
the operational aspects of running an application. It rather seams to be more 
practical and cheaper to have loads of processor cores (look at SUNs last Sparc 
processors) which are capable to run a huge amount of JVM threads in parallel 
with one thread associated with one processor core
.
Another thing that comes into mind, think of the Java releases and versions 
coming out on a monthly base, how men power consuming it would be to keep your 
compiler in sync with the current Java versions.

And last but not least, there is a big chance that the pure Java stuff can be 
offloaded to zAAPs.

So given some of the facts above, I cannot really understand what the benefit 
of compiling shall be. ;-)

Denis.


 

-Original Message-
From: Hunkeler Peter (KIUP 4) peter.hunke...@credit-suisse.com
To: IBM-MAIN@bama.ua.edu
Sent: Thu, Aug 6, 2009 8:39 am
Subject: Re: Java question










High Performance Java (HPJ) [snip]
It was discontinued, for a number of reasons, when Java 1.2 was
released.

Out of curiosity: What were those reasons? 

I for one cannot understand what the advantage of not compiling shall
be, 
especially on a platform everybody is screaming for MSU reduction.

--
Peter Hunkeler
CREDIT SUISSE

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

Re: Authenticate with RACF from Web App

2009-07-17 Thread Denis Gäbler
 Hi,

the easiest approach I have ever seen works like this:

The web server on distributed redirects (easy to implement in distributed 
http.conf) to the HTTP Server on z/OS (this is the free one, not WebSphere 
Application Server).
I recall the ITSO wrote a simple CGI program/Exit, which allows to autenticate 
with RACF and even change the RACF password, if it is expired. On successful 
authentication the z/OS HTTP Server can redirect back to the distributed web 
server and it can proceed working with the request.

Nevertheless there are some additonal considerations, e.g. what data to send 
with the redirect (e.g. generated 128 byte hex token send to z/OS and back and 
of course by using SSL/HTTPS) in order to make sure that this authentication 
cannot be bypassed. But this is not rocket sience and the CGI programs for HTTP 
Server on z/OS can be REXX, so any additional logic would be easy to implement.

Denis.


 


 

-Original Message-
From: Bob Bonhard rbonh...@ups.com
To: IBM-MAIN@bama.ua.edu
Sent: Fri, Jul 17, 2009 12:10 am
Subject: Authenticate with RACF from Web App










Thanks in advance for all/any advice, direction, samples, expertise related to 
my question.  I was approached by one of our distributed application folks with 
a request that I believe should be very possible to accommodate based on my 
experiences with zOS system sftwr/hdwr, WAS, etc.   
 
The app is web-based running on non-zOS platform.  They would likebe able to 
connect to the mainframe to authenticate a RACF ID/password; if the ID and 
password are OK, continue with the app (possibly return a RC=0 or any 
other OK);  if ID unknown, pswd wrong, pswd revoked or expired, provide a 
non-zero return code or not OK msg with explicit reason, even routing user 
to a web page where they can update an expiring password, correct an invalid 
password.  I'm hoping to find something that is *easy* and *cheap* to 
implement (free being the key word), and generic enough to be used by any 
subsequent apps.  I figure there has to be an easy way to do this but I don't 
know what that way is, whether a direct call to RACF or USS, some kind of 
non-html call to the IBM HTTP server, WebSphereAS, MQ ... something simple 
and free. 
 
Thank you,
Bob Bonhard/UPS I.S.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



 


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: Offload work to zIIP with zPRIME

2009-07-17 Thread Denis Gäbler
 Thats true, but recent lawsuits in the distributed area had no luck forcing 
users to run only specific work on bought (owned) hardware, e.g. you can do 
number crunching on graphic chips, which were initially only intended for 
graphics work.
It would be interesting to see, if there is any way to force somebody to only 
use certified software on specific owned hardware?
Another example that comes into mind is the uncertified use of OpenWRT on any 
router (DSL/Wireless) in the world. Linksys/Cisco has no way of preventing me 
from running this linux distribution on my own bought or rented router and make 
use of whatever the chips on the hardware may provide.


 
But, time will tell.

Denis.


 

-Original Message-
From: Edward Jaffe edja...@phoenixsoftware.com
To: IBM-MAIN@bama.ua.edu
Sent: Fri, Jul 17, 2009 9:25 am
Subject: Re: Offload work to zIIP with zPRIME







 IBM software pricing terms are careful to use the term eligible 
workloads. This deliberate use of the language suggests that their 
pricing terms might *not* apply to zIIPs and zAAPs running anything 
other than IBM-specified eligible workloads. Time will tell...?
?

-- 
Edward E Jaffe?

Phoenix Software International, Inc?

5200 W Century Blvd, Suite 800?

Los Angeles, CA 90045?

310-338-0400 x318?

edja...@phoenixsoftware.com?

http://www.phoenixsoftware.com/?
?

--?

For IBM-MAIN subscribe / signoff / archive access instructions,?

send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO?

Search the archives at http://bama.ua.edu/archives/ibm-main.html?



 


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: Offload work to zIIP with zPRIME

2009-07-17 Thread Denis Gäbler
 Taking the electric meter example. What if I install solar electicity panels? 
Am I stealing ressources and bypass the power companies meter? Am I not allowed 
to use the electricity that the panels produce, just because I have a contract 
with the power company? Or am I not allowed to replace the old lamps with 
energy saver lamps, just because I have a contract with the power company?
Thats difficult. But I am not a lawyer. Just comparing.

By that definition any attempt to rewrite a CICS transaction to run parts of 
the work as SRB would be a violation, since that piece of software would likely 
not be eligable by the definition of IBM?! So with a PC example, do I have to 
ask Microsoft to write a software that speeds up the Windows bootup process and 
sell it?
Or assuming that a software tweeks an operating systems control block to e.g. 
allow to run as zxxP eligable is considered violating some agreement, any 
software (e.g. delta VT or Omegamon or Mainview) that manipulates control 
blocks for ease of use or saving an IPL (which burns CPU and ressources) would 
be also considered unauthorized software, because rather than using documented 
APIs it changes bits in control? blocks of licensed IBM software and it might 
over a period of 12 months save you buying one additional CP?


Denis.

 

-Original Message-
From: Bob Shannon bshan...@rocketsoftware.com
To: IBM-MAIN@bama.ua.edu
Sent: Fri, Jul 17, 2009 2:26 pm
Subject: Re: Offload work to zIIP with zPRIME










After all, customer are charged for software on LPAR where it is not used ( 
RACF, RMM , CTG are some examples) So it is a bit weird that customers should 
be prevented to defend their own interest and try to use fully their owned 
hardware.

No, you're not. You're charged for the capacity of the box, and more 
importantly 
someone in your company agreed to it. IBM has a variety of pricing options and 
anyone who wants a better deal should speak to their account representative.

A complete set of PUs, 10, 12, 16 or whatever the current number is, is shipped 
with the processor. If you pay for one should be able to hot-wire the others so 
that you can use them? Specialty engines were sold to run eligible work. From 
IBM's standpoint eligible work is a subset of all the work on the machine. If 
you decide to expand the definition of eligible work without IBM's agreement, 
in my opinion you are staling resources.
This is no different than bypassing the electric meter in your house. 

Bob Shannon

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



 


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: Offload work to zIIP with zPRIME

2009-07-17 Thread Denis Gäbler
 I agree, the electrical meter sample with medical plug sounds reasonable, but 
I unfortunatly I found it after posting my statement.



Denis.




-Original Message-
From: P S zosw...@gmail.com
To: IBM-MAIN@bama.ua.edu
Sent: Fri, Jul 17, 2009 3:10 pm
Subject: Re: Offload work to zIIP with zPRIME










On Fri, Jul 17, 2009 at 8:57 AM, Denis Gäbler denisgaeb...@netscape.netwrote:

  Taking the electric meter example. What if I install solar electicity
 panels? Am I stealing ressources and bypass the power companies meter? Am I
 not allowed to use the electricity that the panels produce, just because I
 have a contract with the power company? Or am I not allowed to replace the
 old lamps with energy saver lamps, just because I have a contract with the
 power company?
 Thats difficult. But I am not a lawyer. Just comparing.


No, but that's not a good analogy. The solar panels are more like offloading
work to an Intel or AIX box than running it on a processor that you were
sold at a reduced price under certain TCs.

I like the medical power socket analogy very much!


 By that definition any attempt to rewrite a CICS transaction to run parts
 of the work as SRB would be a violation, since that piece of software would
 likely not be eligable by the definition of IBM?! So with a PC example, do I
 have to ask Microsoft to write a software that speeds up the Windows bootup
 process and sell it?
 Or assuming that a=2
0software tweeks an operating systems control block to
 e.g. allow to run as zxxP eligable is considered violating some agreement,
 any software (e.g. delta VT or Omegamon or Mainview) that manipulates
 control blocks for ease of use or saving an IPL (which burns CPU and
 ressources) would be also considered unauthorized software, because rather
 than using documented APIs it changes bits in control? blocks of licensed
 IBM software and it might over a period of 12 months save you buying one
 additional CP?


The courts will (presumably) look at the result, which is pretty simple:
non-eligible work is running on a box that was explicitly sold *at a reduced
price* with TsCs defining eligible work. The zPRIME users are plugging
their TVs (or more likely their space heaters) into the medical socket.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html






--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: Batch Process Calling a Web Service

2009-05-14 Thread Denis Gäbler
 
Quoting:

But before everyone gets carried away with the idea that that's the one,
best option... I'm not so sure. Consider that Web Services are a
reasonably fast moving target and a family of specifications, and it's
probably not a good idea to go into the private business of having to
maintain your own Web Services implementation, especially as a one-off. (Is
this requirement likely to come up again? And again?) If you can omit
needless coding, you can avoid committing to burdensome maintenance.


 I am not talking about coding a Web Service Client in Java by hand or using a 
self written implementation. There is a reasonable amount of tooling available 
that generates a Java Client for a given WSDL (e.g. Rational Application 
Developer).
Thats it. This generated Java Client is then wrapped by COBOL and you can call 
it. With mixed mode COBOL (it is not really an OO COBOL Class, its just a 
procedural COBOL program with a Repository) you can instanciate the Java class 
and run the methods of that class. This limits the interaction between the 
COBOL and Java people to providing the Java class.
And the COBOL programmer who is aware of the mainframe interfaces can do the 
mapping from COBOL to Java.

Denis.


 

-Original Message-
From: Timothy Sipples timothy.sipp...@us.ibm.com
To: IBM-MAIN@bama.ua.edu
Sent: Thu, 14 May 2009 8:44 am
Subject: Re: Batch Process Calling a Web Service










Yes, you could use Java and invoke Java from COBOL.

But before everyone gets carried away with the idea that that's the one,
best option... I'm not so sure. Consider that Web Services are a
reasonably fast moving target and a family of specifications, and it's
probably not a good idea to go into the private business of having to
maintain your own Web Services implementation, especially as a one-off. (Is
this requirement likely to come up again? And again?) If you can omit
needless coding, you can avoid committing to burdensome maintenance.

Hence my opening question about what middleware the original poster has
already. The answer very well might be, Use that.

Now, there is JAX-WS support in Java 6, and presumably it'll be maintained
and enhanced in reasonably timely fashion as Java evolves. That's good --
great, even. Is JAX-WS enough? It depends. There are a lot of WS-*
standards that aren't in Java Standard Edition (JSE).

There are also security and performance considerations to think about (at
least). It depends again.

- - - - -
Timothy Sipples
IBM Consulting Enterprise Software Architect
Based in Tokyo, Serving IBM Japan / Asia-Pacific
E-Mail: timothy.sipp...@us.ibm.com
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



 


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: Batch Process Calling a Web Service

2009-05-13 Thread Denis Gäbler
Hi Bill,

tell your Java programmers to write an Java Client for the Web Service.
Then create a COBOL wrapper for that Java program with Enterprise COBOL.
Call that COBOL as subroutine from your Batch COBOL. Enterprise COBOL will 
create the JVM in the same address space and reuse it.

An example on how to call a Java class from Enterprise COBOL can be found here:
http://www.ims-society.org/board/viewtopic.php?t=79
The sample is how to do it for an IMS online program. However, its a compiler 
function so you can do that in any z/OS address space!
This way you do not have to deal with 404. In addition COBOL can also get 
control when there are Java Exceptions and act accordingly (e.g. rerun the 
request).


 
Denis Gaebler.


 

-Original Message-
From: George.William william.geo...@ftb.ca.gov
To: IBM-MAIN@bama.ua.edu
Sent: Tue, 12 May 2009 7:49 pm
Subject: Batch Process Calling a Web Service










This is just an initial concept question.
In general, what mechanism could;

*   a batch job, most likely an Enterprise COBOL batch program, 
*   connect with a web service and request information from some 
application the web service connects with outside of the mainframe world
*   receive a response back from said application
or if no response, be able to deal with a 404 
(timeout, service not available, basically no response) type situation
*   and then go about it batch processing with the returned information

We are at the pre-pre-concept of this and just looking for ideas.
Thanks
Bill George

__
CONFIDENTIALITY NOTICE: This email from the State of California is for the sole 
use of the intended recipient and may contain confidential and privileged 
information. Any unauthorized review or use, including disclosure or 
distribution, is prohibited. If you are not the intended recipient, please 
contact the sender and destroy all copies of this email.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



 


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: COBOL and dynamic allocation (my two cents)

2009-03-17 Thread Denis Gäbler
 I personally think its also a matter of setting standards.
If there is no standard like always code destination in JCL or like always code 
destination in parameter dataset or there is no force to always use the 
parameter dataset both approaches will never be successful.
I find the setting of standards and enforcing their usage is usually a bigger 
problem than the implementation itself.


 
Denis.


 

-Original Message-
From: Elardus Engelbrecht elardus.engelbre...@sita.co.za
To: IBM-MAIN@bama.ua.edu
Sent: Tue, 17 Mar 2009 8:00 am
Subject: Re: COBOL and dynamic allocation (my two cents)










Ed Gould wrote:

Personally I find it abhorrent to hard code anything like destination in any 
programs. JCL is the ONLY way to go. It can be searched with multiple utilities 
(FILEAID and others) rather easily. This issue is that when (I did not say IF) 
a 

destination changes you must remember to recompile the program. 


What about writing the COBOL (or any other language) program so that 
destination(s) and other variable changes can be read from a dataset instead 
of hardcoding it or writing such things in JCL?

There is thus only one compile/test action and many changes in 
the 'parameter' dataset on as needed base.

Any better ideas?

Groete / Greetings
Elardus Engelbrecht

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



 


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


How to redirect IMS MFS (3270P/SCS1) printers to File?

2009-01-15 Thread Denis Gäbler
 Hi List,



I am posting this question here, because I think it is more VTAM related than 
it has anything to do with IMS.

I was wondering if there is a way to redirect IMS MFS (3270P/SCS1) printers to 
a file or spool without loosing the formatting?



There is a connection between the SNA node and an IMS LTERM but I don't have 
good enough knowledge to have an insight about the details, now I was wondering 
if there is a way to tell Communication Server that an SNA node (or PTERM) is 
to be redirected, e.g. to JES SPOOL or to a file, or are there any tools on the 
market which allow to redirect output for an MFS Printer to a PDF or file?





Thanks in advance.
Denis.








--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: How to redirect IMS MFS (3270P/SCS1) printers to File?

2009-01-15 Thread Denis Gäbler
 Hi,

thanks for the info thats great. Because I only found a german based company 
called XPS-Software, which has a software called PrintEx, that in addition to 
emulating VTAM printers, can generate PDFs and send them out as email 
attachments.
But having a US based company makes it easier.

Thank you very much.
Denis.


 


 

-Original Message-
From: Cebell, David cebe...@aafes.com
To: IBM-MAIN@bama.ua.edu
Sent: Thu, 15 Jan 2009 6:48 pm
Subject: Re: How to redirect IMS MFS (3270P/SCS1) printers to File?










Yes there is a way.

We use VVP ( VTAM VIRTUAL PRINTER ) to emulate the VTAM printer.
VVP is from MacKaenny Systems.
The output from IMS gets queued to the JES Spool and then we define
A VPS node to redirect output to an IP printer.

-Original Message-
From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On Behalf Of 
Denis Gäbler
Sent: Thursday, January 15, 2009 10:13 AM
To: IBM-MAIN@bama.ua.edu
Subject: How to redirect IMS MFS (3270P/SCS1) printers to File?


 Hi List,



I am posting this question here, because I think it is more VTAM related than 
it 
has anything to do with IMS.

I was wondering if there is a way to redirect IMS MFS (3270P/SCS1) printers to 
a 
file or spool without loosing the formatting?



There is a connection between the SNA node and an IMS LTERM but I don't have 
good enough knowledge to have an insight about the details, now I was wondering 
if there is a way to tell Communication S
erver that an SNA node (or PTERM) is to 
be redirected, e.g. to JES SPOOL or to a file, or are there any tools on the 
market which allow to redirect output for an MFS Printer to a PDF or file?





Thanks in advance.
Denis.








--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



 


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: AIX gets 64 bit COBOL but still none for Z/os ...

2009-01-09 Thread Denis Gäbler
 For video on demand databases are too slow.
You would use a streaming server, for which I don't know any available for 
System z OS except VM Stairs.
In addition, a streaming server would serve a stream, so you need a small 
buffer (e.g. 128MB) and fast DASD for 1000 Users.

For the 64Bit discussion, as long as LE cannot mix 64Bit and 31Bit modules, 
what is the benefit?


 

-Original Message-
From: Schneiderwent, Craig - DOT craig.schneiderw...@dot.state.wi.us
To: IBM-MAIN@bama.ua.edu
Sent: Fri, 9 Jan 2009 3:36 pm
Subject: Re: AIX gets 64 bit COBOL but still none for Z/os ...










  Is there any reason to have 64-bit COBOL on z/OS ?

Parsing or generating _really_ _big_ XML data streams?

In a CICS Web Services provider scenario, one could posit a very large 01 
level, 
only some of which gets filled in for any one request...

 01  Work-Areas.
 05  Some-Table-NbPIC 9(008) COMP-5.
 05  Some-Other-Table-Nb  PIC 9(008) COMP-5.
 05  Marks-Nb PIC 9(008) COMP-5.

 01  Response.
 05  Personal-Info.
 10  Given-Name   PIC N(80) USAGE NATIONAL.
 10  Family-Name  PIC N(80) USAGE NATIONAL.
 05  Some-Table Occurs 0 To 200 Depending Some-Table-Nb.
 10  Photo-Base-64-JPEG   PIC X(20480).
 10  Fingerprint-base-64-JPEG PIC X(40960).
 10  Scars-Marks-Tattoos Occurs 0 To 100 Depending Marks-Nb PIC 
X(20480).
 05  Some-Other-Table Occurs 0 To 10 Depending Some-Other-Table-Nb.
 10  MPEG4-encoded-somehowPIC X(1024000).
 05  [more big-ish data here]


But I'm just making this up, AFAIK we don't have anything like this.

One could also posit a video rental business that keeps the videos in DB2 BLOBs 
and serves them via CICS Web Services COBOL applications.  But I don't know of 
any such business.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



 


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: SV: Survey says...

2009-01-07 Thread Denis Gäbler
 Thats true, but with truly mixing and dynamic calls you need a DLL and a 
no-DLL version of all modules, which is highly inconvenient and causes a lot of 
grief.
LE supports mixing of XPLINK and non-XPLINK modules, why the heck it doesn't 
support mixing of DLL and no-DLL modules? That would make life in mixing COBOL 
and Java a lot easier.

Denis.


 

-Original Message-
From: Steve Comstock st...@trainersfriend.com
To: IBM-MAIN@bama.ua.edu
Sent: Wed, 7 Jan 2009 3:02 pm
Subject: Re: SV: Survey says...









Thomas Berg wrote:?

 But can You intermix non-DDLs and DLLs ??

 In the same linkedit step ??

 Or in the same load module ??

 
 (Thats our problem !)?

 
 ;)?

 
 Regards,?

 Thomas Berg 
 __?

 Thomas Berg   Specialist   IT-U   SWEDBANK?
?

No. From a single module, dynamic calls are either?

all DLL or all non-DLL. But you can combine dynamic?

calls and static calls from a single module. or?

you can dynamically call a module that in turn can?

do DLL calls and dynamically call a different module?

that can do non-DLL calls. It all depends on your?

application.?
?


Kind regards,?
?

-Steve Comstock?

The Trainer's Friend, Inc.?
?

303-393-8716?

http://www.trainersfriend.com?
?

? z/OS Application development made easier?

?   * Our classes include?

?  + How things work?

?  + Programming examples with realistic applications?

?  + Starter / skeleton code?

?  + Complete working programs?

?  + Useful utilities and subroutines?

?  + Tips and techniques?
?

== Check out the Trainer's Friend Store to purchase z/OS  ==?

== application developer toolkits. Sample code in four==?

== programming languages, JCL to Assemble or compile, ==?

== bind and test. ==?

==   http://www.trainersfriend.com/TTFStore/index.html==?
?

--?

For IBM-MAIN subscribe / signoff / archive access instructions,?

send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO?

Search the archives at http://bama.ua.edu/archives/ibm-main.html?



 


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: DLL and PDS(E) (was: Survey says...)

2009-01-07 Thread Denis Gäbler
 The prelink step is for resolving the long name issues. I did not work with 
C++ but it works for PL/I and COBOL DLLs.


 


 

-Original Message-
From: Farley, Peter x23353 peter.far...@broadridge.com
To: IBM-MAIN@bama.ua.edu
Sent: Wed, 7 Jan 2009 4:10 pm
Subject: Re: DLL and PDS(E) (was: Survey says...)










Interesting statement.  Mea culpa if I have mis-remembered or mis-read
the FM's on DLL implementation.  I will have to go back and re-read
those FM's for my own (re)education.

But don't any DLL's dealing with long-name elements or interfaces need
to be stored in a PDSE?  Or does the pre-link step always resolve that
issue?

And does your statement also apply to C++ DLL's or only to PL/1 or COBOL
DLL's?

TIA for decreasing my ignorance quotient.

Peter

 -Original Message-
 From: IBM Mainframe Discussion List [mailto:ibm-m...@bama.ua.edu] On
 Behalf Of Jan MOEYERSONS
 Sent: Wednesday, January 07, 2009 6:09 AM
 To: IBM-MAIN@bama.ua.edu
 Subject: Re: DLL and PDS(E) (was: Survey says...)
 
 On Tue, 6 Jan 2009 10:28:18 -0500, Farley, Peter x23353
 peter.far...@broadridge.com wrote:
 
 6) Cannot do that here.  DLL requires PDSE,
 
 I don't belief that to be true... We are using DLLs (a lot) and have
 stored the corresponding load modules (because in the end, that is 
 what it becomes at the end of the compile/pre-link/link chain) in 
 regular PDS as well as in PDSE.
 
 Makes no difference; works either way.
 
 Cheers,
 
 Jantje.
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...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



 


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to lists...@bama.ua.edu with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: Storage usage of Java-Applications

2008-11-18 Thread Denis Gäbler
Hi,

I had similar observations on one of my test systems and it seams that during 
garbage collection, although -mx was used to set a limit, up to 3 times the 
amount of storage was being used for a short period of time, causing out of 
memory conditions.
One other observation we had was that with REGION=0M actually less storage was 
used than using e.g. REGION=392M.
I don't have the knowledge to explain that, but maybe someone on the list has.

Denis.


 


 

-Original Message-
From: Arthur Brack [EMAIL PROTECTED]
To: IBM-MAIN@BAMA.UA.EDU
Sent: Tue, 18 Nov 2008 7:23 pm
Subject: Storage usage of Java-Applications










Hello everybody,

I have a Java-Application running in JCL that reads and writes datasets in
several threads using the JZOS library.

The REGION Parameter of the step is set to 256M and the Java-GC-Heap is
limitted with -Xmx to 200M. However, the application abends in some
assembler routines while closing files due to an out-of-storage error
(GETMAIN). If I limit the Java-GC-Heap to 180M and keep the REGION size,
everything works fine.

Then I have analyzed the java-application with RMFMON and IBM Application
Performance Analyzer, and I could find out, that only about 150M real
storage is used and no paging occured. But why do I get
out-of-storage-errors, although I have a REGION size with 256M? Who is
using the remaining 106M storage of the region??


Thanks in advance!

Arthur Brack

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html




 


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



Re: Comparing Mainframe and Windows Server CICS Transactions per kWh

2008-10-30 Thread Denis Gäbler
 z/10 Announcement probably is based on a specific usage pattern, that most of 
PC processors are idle.


The microsoft study misses some points.
I can hardly believe that the power consumption is equal with all different 
workloads. It is not clear if the mainframe also had just 2x73GB harddrives and 
just one OSA card, just one FICON card, etc.

I think it is invalid to compare a power consumption of a system that runs 984 
transactions per second with a system that runs 354 transactions per second 
(see page 9), because if the throughput is not the same, this is similar to 
claiming that a car running 200km/h needs more gas than a car with 80km/h.

Or looking at the Java throughput that seams to be better on a PC is like 
claiming that a truck cannot run with 200km/h.

In addition Microsoft used NETCOBOL Compiler on the mainframe and I have no 
clue how the resulting machine code compares to other mainframe compilers. 
Based on the paper its not even clear if unoptimized COBOL was compared to 
optimized .NET code?!







This comparision lacks all fundamental statistical methods and although some of 
the results count for PCs and some results count for a mainframe, it cannot be 
considered a basis for decisions.



Just my 2 cent.





 



-Original Message-

From: Vernooy, C.P. - SPLXM [EMAIL PROTECTED]

To: IBM-MAIN@BAMA.UA.EDU

Sent: Thu, 30 Oct 2008 9:06 am

Subject: Re: Comparing Mainframe and Windows Server CICS Transactions per kWh

















Fred Schmidt [EMAIL PROTECTED] wrote in message

news:[EMAIL PROTECTED]..

.

 The latest z/Journal has a study by Microsoft comparing Windows

against

 the mainframe in terms of electrical power usage for CICS web-based

 applications. It claims that Windows is many times more efficient. 

 

 You can find the PDF document at

 http://www.zjournal.com/redir.cfm?rid=939 

 

 Comments?

 



I read in an IBM z/10 annoucement that 1 z/10 has the power of (iirc)

2500 Windows servers, but uses 1/18th of their power. Can two similar

investigations have more contradiction results?



Kees.

**

For information, services and offers, please visit our web site:

http://www.klm.com. This e-mail and any attachment may contain

confidential and privileged material intended for the addressee

only. If you are not the addressee, you are notified that no part

of the e-mail or any attachment may be disclosed, copied or

distributed, and that any other action related to this e-mail or

attachment is strictly prohibited, and may be unlawful. If you have

received this e-mail by error, please notify the sender immediately

by return e-mail, and delete this message. 



Koninklijke Luchtvaart Maatschappij NV (KLM), its subsidiaries

and/or its employees shall not be liable for the incorrect or

incomplete transmission of this e-mail or any attachments, nor

responsible for any delay in receipt.

Koninklijke Luchtvaart Maatschappij N.V. (also known as KLM Royal

Dutch Airlines) is registered in Amstelveen, The Netherlands, with

registered number 33014286 

**



--

For IBM-MAIN subscribe / signoff / archive access instructions,

send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO

Search the archives at http://bama.ua.edu/archives/ibm-main.html







 


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



Re: TN3270 for iPhone

2008-10-27 Thread Denis Gäbler
 My point is, that Ebay sent me a secure id card which can be used instead of a 
fixed password.
Userid password is not state of the art security these days.
State of the art banks use smartcards in combination with userid and password 
in addition to indexed TANs for each transaction.
When I wrote diploma thesis the suggested rule was posess something (smartcard, 
key, certificate) and know something (password, if not written down) provides 
good security.

By the way, most web shops (not sure about Ebay) do not revoke userids after 3 
wrong passwords. Web Shops usually have a password question to get a new 
password, which is not implemented in RACF. So one might say, a missing 
function will keep RACF administrators busy, although additional tooling can 
provide a similar way to resume RACF Userids. We used to have a VM application 
that could be used to resume a RACF user without any admin intervention, this 
has been expanded to a web interface about 5 years ago.

A z/OS exposed to the web should also make sure that nobody can guess Started 
Task Userids, when they are revoked after 3 false passwords that has nice 
impacts to your z/OS (Happened to me once due to a user using the first userid 
that he found in syslog for some testing).

Just my 2 cent.
Denis.


 

-Original Message-
From: R.S. [EMAIL PROTECTED]
To: IBM-MAIN@BAMA.UA.EDU
Sent: Mon, 27 Oct 2008 4:04 pm
Subject: Re: TN3270 for iPhone









Paul Gilmartin wrote: 

[...] 

 How have eBay and PayPal addressed this problem?  If client certificates 

 or secondary authentication prevent D-o-S attacks which would keep 

 their administrators pretty busy, can't those techniques be adapted 

 to TSO logons? 
 

Good point. 

However I strongly doubt wether eBay or PayPal userids are kept in RACF 
db. As far as I know such solutions, customer db and user (technical) db 
are completely separate. So, the example of eBay is inapplicable. 
 

-- 
Radoslaw Skorupka 

Lodz, Poland 
 


-- 

BRE Bank SA 

ul. Senatorska 18 

00-950 Warszawa 

www.brebank.pl 
 

Sąd Rejonowy dla m. st. Warszawy 
XII Wydział Gospodarczy Krajowego Rejestru Sądowego, 
nr rejestru przedsiębiorców KRS 025237 

NIP: 526-021-50-88 

Według stanu na dzień 01.01.2008 r. kapitał zakładowy BRE Banku SA  wynosi 
118.642.672 złote i został w całości wpłacony. 
 

-- 

For IBM-MAIN subscribe / signoff / archive access instructions, 

send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO 

Search the archives at http://bama.ua.edu/archives/ibm-main.html 
 



 


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



Re: TN3270 for iPhone

2008-10-27 Thread Denis Gäbler
 
And the user may then need to carry a smartcard for each account.


 My bank has the concept of combining multiple accounts to one login, so only 
one smartcard is enough.

However, according the cost of smartcards?
Wasn't it the US, UK and also parts of eastern Europe that use lots of Pay TV? 
There should be standard software for smartcard management in place (lost, 
stolen, defect cards, etc.), a smart company (ISV) should be able to write an 
agent for RACF and connect to it. Many banks already have call centers to 
handle that and usually contracts to logistic companies for credit cards, 
maestro cards, etc. to handle card send and return.
I cannot believe that actually Pay TV seams to be more important (in terms of 
protection, encryption algorithms, etc.) than retail bank accounts or TSO 
logons?!
But I can imagine, that a Pay TV smartcard being out of order 2h before the NFL 
finals is more hurting than 1 day without TSO access ;-)

Denis.


 

-Original Message-
From: Paul Gilmartin [EMAIL PROTECTED]
To: IBM-MAIN@BAMA.UA.EDU
Sent: Mon, 27 Oct 2008 6:07 pm
Subject: Re: TN3270 for iPhone










On Mon, 27 Oct 2008 17:59:27 +0100, R.S. wrote:

 State of the art banks use smartcards in combination with userid and 
 password 
in addition to indexed TANs for each transaction.

Such banks have to pay for millions of smartcards ,including
replacement, secure distribution, lost/stolen cards, cards out of order,
etc.

And the user may then need to carry a smartcard for each account.

-- gil

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html




 


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



Re: Favorite Way(s) for COBOL as HTTP Client?

2008-10-23 Thread Denis Gäbler
 Hi Timothy,

you could use a mix of 1 und 2 and code/embedd the Java statements in a mixed 
mode COBOL application. Enterprise COBOL compiler allows that without the need 
to create a java class file.
For IMS as runtime you could use the ICAL DL/I call which allows synchronous 
outbound calls, it will be available very soon for IMS V10.

Denis.


 


 

-Original Message-
From: Roland Schiradin [EMAIL PROTECTED]
To: IBM-MAIN@BAMA.UA.EDU
Sent: Thu, 23 Oct 2008 8:02 am
Subject: Re: Favorite Way(s) for COBOL as HTTP Client?










Hi Timothy, 

use the TCP/IP socket API to connect to port 80 or whatever the HTTP server 
listenen and send the HTTP request and receive the data back. In case of XML 
use the Cobol XML parser to extract the data. 

Roland

I got a question asking for recommendations on how to write a COBOL
application (on z/OS) to act as an HTTP client. That is, the COBOL program
makes an outbound HTTP request, provides some input data, and receives 
some
data back. The data format is arbitrary -- could be XML, could be just
simple strings.

Further assumptions: there's only Enterprise COBOL (compiler) and base z/OS
(including any standard and no charge features). Also, there are
significant bonus points awarded for high service quality attributes (RAS,
security, performance, etc.) It broke! is not adequate diagnostic
information if something fails, like the network or authentication to the
remote HTTP server. :-)

The same method could be used with Enterprise PL/I programs without any
material differences.

Anyway, with those conditions, here's the list of options I came up with:

1. Java application written using standard java.net HTTP client logic and
JZOS record conversion classes. Invoked as a JZOS job step.
2. Same as #1, but invoked via COBOL INVOKE.
3. CBT tape 556 (REXX HTTP client sample).
4. Via cURL for z/OS, part of the z/OS Ported Tools.

Options #2 and #4 are currently my favorite (again, given these
restrictions). Along the lines of #1 and #2 there are probably Perl and
Python avenues as well.

Anybody got any better (or at least different) ideas?

Yes, I know this is rather easy in CICS Transaction Server (EXEC CICS
WEB ...), for example.


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html




 


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



Re: Acessing LDAP data on other servers from z/OS

2008-10-15 Thread Denis Gäbler
 Hi Andy,

there are C and Java based samples on the web, which can be used to create a 
Module or Java class that runs on z/OS and connects to LDAP on other plattform.
No LDAP Server on z/OS and RACF is required for this, because you simply have 
LDAP client code running on z/OS.
You can then call the module or execute the Java class from your existing 
applications, Java might require a wrapper module depending on your runtime 
environment and compilers you have available.
Maybe this is what you are looking for.

Denis.


 


 

-Original Message-
From: Andy Robertson [EMAIL PROTECTED]
To: IBM-MAIN@BAMA.UA.EDU
Sent: Wed, 15 Oct 2008 1:16 pm
Subject: Acessing LDAP data on other servers from z/OS










We have some LDAP servers running under Lotus Notes on AIX boxes and we
want to check/validate some data held on z/OS against them.  The validation
process must run on z/OS.

I've no real experience of using LDAP.

I'm aware that z/OS can run a LDAP server but that is not quite what we
want.

Is it possible to access LDAP data on another box from the USS side of z/OS
and how would one start??   Any pointers or manuals to read??







  Andy Robertson   telephone mobile 0777 214 9545 home 01273
 488272

**
This email is confidential and may contain copyright material of the John Lewis 
Partnership. 
If you are not the intended recipient, please notify us immediately and delete 
all copies of this message. 
(Please note that it is your responsibility to scan this message for viruses). 
Email to and from the
John Lewis Partnership is automatically monitored for operational and lawful 
business reasons.
**

John Lewis plc
Registered in England 233462
Registered office 171 Victoria Street London SW1E 5NN
 
Websites: http://www.johnlewis.com 
http://www.waitrose.com 
http://www.greenbee.com
http://www.johnlewispartnership.co.uk
 
**

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html




 


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



Re: Korean insurer retires 7,000 MIPS mainframes

2008-08-27 Thread Denis Gäbler
 I think this has been posted before...and is pretty old.

By Matt Stansberry, Site Editor
06 Sep 2006 | SearchDataCenter.com

Denis.


 


 

-Original Message-
From: Mark Zelden [EMAIL PROTECTED]
To: IBM-MAIN@BAMA.UA.EDU
Sent: Wed, 27 Aug 2008 3:12 pm
Subject: Korean insurer retires 7,000 MIPS mainframes










Korean insurer Samsung Life Insurance shut down its IBM zSeries
mainframes, shifting a 7,000 MIPS workload, including loan,
contract and payment systems to two HP Itanium 2-based Superdomes
running HP-UX.

http://searchdatacenter.techtarget.com/news/article/0,289142,sid80_gci1214459,00.html

--
Mark Zelden
Sr. Software and Systems Architect - z/OS Team Lead
Zurich North America / Farmers Insurance Group - ZFUS G-ITO
mailto:[EMAIL PROTECTED]
z/OS Systems Programming expert at http://expertanswercenter.techtarget.com/
Mark's MVS Utilities: http://home.flash.net/~mzelden/mvsutil.html

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html




 


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



Re: XPLINK

2008-06-16 Thread Denis Gäbler
 Hi,

I am not 100% sure, but I recall that coding //STEP1 
PGM=JAVACALL,PARM='XPLINK(ON)' once worked for me. 

I prefer a CEEUOPT Module linked with the application, similar like the SYSIN 
below as input to assembler:
//SYSIN??? DD *
 TITLE 'CEEUOPT'
CEEUOPT? CSECT
CEEUOPT? AMODE ANY
CEEUOPT? RMODE ANY
 CEEXOPT XPLINK=(ON),? X
?? POSIX=(ON), X
?? ENVAR=('_CEE_ENVFILE=/u/gaebler/hello/ENV')
 END
//*

The file /u/gaebler/hello/ENV can then contain USS Variables, but there are 
also DD Statements to achieve this:
LIBPATH=/usr/lpp/java/J5.0/bin
PATH=/usr/lpp/java/J5.0/bin
...

Hope that helps.


 Denis.


 

-Original Message-
From: Magen Margalit [EMAIL PROTECTED]
To: IBM-MAIN@BAMA.UA.EDU
Sent: Mon, 16 Jun 2008 2:42 pm
Subject: XPLINK










Hi List,

We are Z/OS 1.7 with Enterprise cobol 3.4 and SDK 1.4

I'm trying to run an OO Cobol program which invokes a Java method
and I'm having problems with the LE runtime option XPLINK

The compilation and linkage work find.

I'm trying to run the program using the BPXBATCH utility 
with PGM myprog and STDENV DD which contains 
_CEE_RUNOPTS=XPLINK(ON)

Even so I get the following error code:

CEE3555S A call was made from a NOXPLINK-compiled application to an 
XPLINK-compiled exported function in DLL libjvm.so
and the XPLINK(ON) runtime option was not specified.   
From entry point GetJVMPtr at compile unit offset +00B8 at entry offset 
+00B8 at address 3E8AB618.


Any Ideas?

thanks

Magen

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html




 


--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



Re: Import Connect:Direct self-signed certificate into RACF?

2008-03-25 Thread Denis Gäbler
Hi Brian,

the following once worked for me:

//?? EXEC PGM=IKJEFT01??? ?
//SYSTSPRT DD SYSOUT=*??? ?
//SYSABEND DD SYSOUT=*??? ?
//SYSTSIN DD *??? ?
**?? LABELS FROM SSLRING AND DELETE THE KEY.?? ?
RACDCERT ID(userid) REMOVE(LABEL('CONNECT') RING(SSLRING)) ?
RACDCERT ID(userid) DELETE(LABEL('CONNECT'))?? ?
RACDCERT CERTAUTH DELETE(LABEL('CERTAUTH'))??? ?
RACDCERT ID(userid) DELRING(SSLRING)?? ?
RACDCERT ID(userid) LIST(LABEL('CONNECT')? ?
RACDCERT ID(userid) LIST(LABEL('CERTAUTH') ?
RACDCERT ID(userid) LISTRING(SSLRING)? ?
** CREATE SSLRING. ?
RACDCERT ID(userid) ADDRING(SSLRING)?? ?
** CREATE CERTAUTH CERTIFICATE, EXPORT TO DATASET AND CONNECT TO SSLRING
RACDCERT CERTAUTH GENCERT-? ?
?SUBJECTSDN(CN('CERTAUTH') OU('IMS') O('IBM') C('US'))-??? ?
?KEYUSAGE(CERTSIGN) WITHLABEL('CERTAUTH')? ?
RACDCERT CERTAUTH EXPORT(LABEL('CERTAUTH')) -? ?
?DSN(CERTAUTH.CERT)??? ?
RACDCERT ID(userid) CONNECT(CERTAUTH LABEL('CERTAUTH') RING(SSLRING))? ?
** CREATE CONNECT CERTIFICATE, EXPORT TO DATASET AND CONNECT TO SSLRING.
RACDCERT ID(userid) GENCERT-? ?
?SUBJECTSDN(CN('CONNECT') OU('IMS') O('IBM') C('US'))-??? ?
?WITHLABEL('CONNECT')-??? ?
?SIGNWITH(CERTAUTH LABEL('CERTAUTH')) ?
RACDCERT ID(userid) EXPORT(LABEL('CONNECT')) DSN(CONNECT.CERT)??? ?
RACDCERT ID(userid) CONNECT(LABEL('CONNECT') DEFAULT RING(SSLRING))?? ?
** JUST LIST EVERYTHING?? ?
RACDCERT ID(userid) LISTRING(SSLRING) ?
RACDCERT ID(userid) LIST(LABEL('CONNECT') ?
RACDCERT ID(userid) CERTAUTH LIST(LABEL('CERTAUTH')?? ?
SETROPTS RACLIST(DIGTCERT) REFRESH??? ?
//
 
Important: If the certificates are generated using another userid than IMS 
Connect is running under, you will get RC 202 errors, when trying to connect to 
the key database.

You can then do an ASCII download (e.g. FTP) and create a keystore on the 
client. This can be done with the keytool, which is part of every Java SDK.

cd 'USERID.'
ascii
get CERTAUTH.CERT

This is how to create a keystore, which can be used with Java:

keytool -import -trustcacerts -noprompt -keystore IMSKeyStore -file 
CERTAUTH.CERT -alias CA

Hope that helps.
Denis.


 

-Original Message-
From: [EMAIL PROTECTED]
To: IBM-MAIN@bama.ua.edu
Sent: Tue, 25 Mar 2008 5:19 pm
Subject: Import Connect:Direct self-signed certificate into RACF?










Hi folks

Has anyone managed to successfully import into RACF a self-signed server 
certificate generated by Sterling Commerce's Windows-based Certificate 
Wizard? 


I've been sent one by one of our customers; they use it on their Windows-based 
C:D server, apparently quite successfully on their other C:D sessions from that 
server. However I can't import the certificate into RACF as a Certificate 
Signing Authority (CERTAUTH) as it issues message:

IRRD126I The certificate contains either a key usage or basic constraint 
extension indicating that it may not be used as a Certificate Authority 
certificate.  The certificate is not added.

This seems fairly reasonable since the attributes of the certificate only 
specify HANDSHAKE and DATAENCRYPT (not CERTAUTH), however, this is the standard 
for a self-signed server certificate coming out of the Certificate Wizard - in 
fact you can neither add nor remove attributes in this case.

I've tried importing it as a personal certificate for our C:D server, and it 
accepts that. I've tried putting it in the keyring as USAGE(PERSONAL), and 
USAGE(CERTAUTH) but either way C:D fails to negotiate the session, instead 
issuing message:

CSPA202E SSL handshake failure, reason=GSK_ERR_SELF_SIGNED 

I've had a call open for some time now with Sterling's support and although 
they're being very attentive and helpful, we're not managing to fix this, and 
the suggestion now is that we need to find out why RACF is not accepting the 
certificate, since Windows seems quite happy to do so.

Hopefully someone out there has done this (Windows C:D - z/OS C:D) 
successfully and can tell me where I'm going wrong?

Cheers

Brian


-
Email sent from www.virginmedia.com/email
Virus-checked using McAfee(R) Software and scanned for spam


Re: Can a pdf document be create using COBOL?

2008-01-11 Thread Denis Gäbler
 Another Idea, there is a PHP (programmig language just like ASP, Perl, etc.) 
port for z/OS running under Apache for z/OS. PHP has PDF routines.
I don't know if PHP (running under z/OS Unix) can be called out of COBOL.
Nevertheless PHP is open source, so there must be open source libraries with 
PDF creation functionality.
Sometimes they are easier to compile than one thinks, but sometimes it doesn't 
work at all.
Maybe this is worth a try too.


 
Denis.


 

-Original Message-
From: Gary Green [EMAIL PROTECTED]
To: IBM-MAIN@BAMA.UA.EDU
Sent: Fri, 11 Jan 2008 8:03 pm
Subject: Re: Can a pdf document be create using COBOL?










I am asking this because I do not know the answer and have not tried it...
Do you have SAS?

I know it can produce a PDF file, supposedly with ease using ODS.  The part
I do not know is, can it produce a PDF type file on the host.  Worse case,
have SAS write it to a directory on a workstation/LAN, I've used SAMBA for
the mounting.  Then the PDF file would be sitting there ready to do
whatever...

-Original Message-
From: IBM Mainframe Discussion List [mailto:[EMAIL PROTECTED] On Behalf
Of Warner Mach
Sent: Friday, January 11, 2008 1:49 PM
To: IBM-MAIN@BAMA.UA.EDU
Subject: Re: Can a pdf document be create using COBOL?

I have played around with XMITIP and TXT2PDF to some extent.
I have also discussed the DATA21 PDF product with one of the representatives
of that company.
  .
The problem with the XMITIP system (from our perspective) is that it does
not have an 'overlay' feature (which we could really use for W-2s). The
problem with the DATA21 product is that the PDF portion requires going to a
PC as intermediary; which introduces security problems, along with political
issues.
  .
The ideal situation would be an add-on to XMITIP which would provide the
free product with overlays and no need to use a PC ... One can dream.

--
For IBM-MAIN subscribe / signoff / archive access instructions, send email
to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO Search the
archives at http://bama.ua.edu/archives/ibm-main.html


--
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.516 / Virus Database: 269.19.0/1218 - Release Date: 1/10/2008
1:32 PM



  http://e-mail-servers.com/efd8f46c8641f67a92fcaf97810002f3worker.jpg 

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html



 



More new features than ever.  Check out the new AIM(R) Mail ! - 
http://webmail.aim.com

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Directions to IBM-Link 3270?

2007-07-30 Thread Denis Gäbler
Hi,

IBMLink is currently not working for me, I am unable to upload a CSI Profile.
I heard the list talking about the 3270 access to IBMLink, but could not find 
any instructions.

Thanks in advance.
Denis.


Check Out the new free AIM(R) Mail -- Unlimited storage and industry-leading 
spam and email virus protection.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: DB2 for z/OS version 7 - accessing an Oracle database from CICS and batch

2007-04-16 Thread Denis Gäbler
 Hi Jim,
 
 the easiest way is probably to write a Java Stored Procedure for DB2 on z/OS 
that uses JDBC to access the Oracle DB. Then its fairly easy to call that 
stored proc from CICS and batch.
 Another solution could be to write a Java Class that does the JDBC to Oracle, 
wrap that class with Enterprise COBOL for z/OS V3R3 or higher and call that 
COBOL module from CICS or Batch (any language, just a CALL MODULE, but requires 
special CEEUOPTs e.g. XPLINK(ON) and POSIX(ON)).
 
 Just my 2 cent.
 Denis.

 -Original Message-
 From: [EMAIL PROTECTED]
 To: IBM-MAIN@BAMA.UA.EDU
 Sent: Mon, 16 Apr 2007 5:45 PM
 Subject: DB2 for z/OS version 7 - accessing an Oracle database from CICS and 
batch
 
  Cross posted to the DB2 listserv. 
 
 Is there a way to accomplish the above. We need to be able to do a SELECT 
 statement from CICS and batch to an Oracle database which resides on a Unix 
 box. 
 
 Jim McAlpine 
 
 -- 
 For IBM-MAIN subscribe / signoff / archive access instructions, 
 send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO 
 Search the archives at http://bama.ua.edu/archives/ibm-main.html 
   

Check Out the new free AIM(R) Mail -- 2 GB of storage and industry-leading spam 
and email virus protection.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: DB2 for z/OS version 7 - accessing an Oracle database from CICS and batch

2007-04-16 Thread Denis Gäbler
 Hi Jim,
 
 I never tried it with a version earlier than V3R3, so that was the reason for 
saying so. However, I am not sure from what version of COBOL on, there was no 
need for OO COBOL anymore, just mixed case COBOL can be used these days, not a 
COBOL class.
 
 In addition, what came into my mind after posting the reply, there are also 
vendor products which might be able to access Oracle, e.g. IBMs Information 
Integrator.
 
 Denis.

 -Original Message-
 From: [EMAIL PROTECTED]
 To: IBM-MAIN@BAMA.UA.EDU
 Sent: Mon, 16 Apr 2007 6:35 PM
 Subject: Re: DB2 for z/OS version 7 - accessing an Oracle database from CICS 
and batch
 
  On 4/16/07, Denis Gäbler [EMAIL PROTECTED] wrote: 
  
  Hi Jim, 
  
  the easiest way is probably to write a Java Stored Procedure for DB2 on 
  z/OS that uses JDBC to access the Oracle DB. Then its fairly easy to call 
  that stored proc from CICS and batch. 
  Another solution could be to write a Java Class that does the JDBC to 
  Oracle, wrap that class with Enterprise COBOL for z/OS V3R3 or higher and 
  call that COBOL module from CICS or Batch (any language, just a CALL MODULE, 
  but requires special CEEUOPTs e.g. XPLINK(ON) and POSIX(ON)). 
  
  Just my 2 cent. 
  Denis. 
 
 Denis, thanks for your suggestions. As it happens we have recently been 
 playing with calling Java classes from COBOL and have managed to get that to 
 work. One question, why do you say Enterprise COBOL 3.3 or higher. We have 
 3.1 installed here and that seemed to work fine. 
 
 Jim McAlpine 
 
 -- 
 For IBM-MAIN subscribe / signoff / archive access instructions, 
 send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO 
 Search the archives at http://bama.ua.edu/archives/ibm-main.html 
   

Check Out the new free AIM(R) Mail -- 2 GB of storage and industry-leading spam 
and email virus protection.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


CEEUOPT Unresolved?

2007-03-12 Thread Denis Gäbler
 Hi List,
 
 I've created a CEEUOPT Member to be able to make a call to a XPLINK DLL. 
However, If I link the main program with INCLUDE(CEEUOPT) the linker reference 
shows CEEUOPT UNRESOLVED. Any ideas?
 It worked on another test system but not at my current z/OS. What do I need to 
check?
 
 Here is the JCL used to create the CEEUOPT Member:
 //STEP1 EXEC PGM=ASMA90,PARM='DECK,NOOBJECT' 
 //SYSPRINT DD SYSOUT=* 
 //SYSUT1 DD UNIT=SYSDA,SPACE=(CYL,(1,1)) 
 //SYSUT2 DD UNIT=SYSDA,SPACE=(CYL,(1,1)) 
 //SYSUT3 DD UNIT=SYSDA,SPACE=(CYL,(1,1)) 
 //SYSPUNCH DD DSN=TEMPOBJ(CEEUOPT),DISP=(,PASS),UNIT=SYSDA, 
 // SPACE=(TRK,(1,1,1)),DCB=(BLKSIZE=3120,LRECL=80,DSORG=PO) 
 //SYSLIB DD DSN=CEE.SCEEMAC,DISP=SHR 
 // DD DSN=SYS1.MACLIB,DISP=SHR 
 //SYSIN DD * 
 CEEUOPT CSECT 
 CEEUOPT AMODE ANY 
 CEEUOPT RMODE ANY 
 CEEXOPT HEAP=(32K,32K,ANYWHERE,FREE,8K,4K), X
 STACK=(128K,128K,BELOW,FREE), X
 STORAGE=(NONE,NONE,NONE,8K), X
 TRAP=(OFF), X
 XPLINK=(ON), X
 TERMTHDACT=(UADUMP) 
 END 
 /* 
 //STEP2 EXEC PGM=IEWL, 
 // PARM='NCAL,RENT,LIST,XREF,LET,MAP,SIZE=(K,96K)' 
 //SYSPRINT DD SYSOUT=* 
 //SYSUT1 DD UNIT=SYSDA,SPACE=(TRK,(5,5)) 
 //SYSLMOD DD DSNAME=HLQ.TEST.LOAD,DISP=SHR 
 //SYSLIB DD DSN=TEMPOBJ,DISP=(OLD,PASS) 
 //SYSLIN DD * 
 INCLUDE SYSLIB(CEEUOPT) 
 ENTRY CEEUOPT 
 ORDER CEEUOPT 
 NAME CEEUOPT(R) 
 /* 
 
 Here is the Linking SYSIN that was used:
 //COBOL EXEC IGYWCL,PARM.COBOL='RENT,NODYNAM,NODLL',REGION=1400K,
 // PARM.LKED='LIST,XREF,LET,MAP' 
 //COBOL.SYSIN DD DSN=HLQ.TEST.SOURCE(ABCMAIN), 
 // DISP=SHR 
 //LKED.SYSLMOD DD DSN=HLQ.TEST.LOAD(WTXTEST),DISP=SHR 
 //LKED.SYSLIB DD DSN=HLQ.TEST.RUNLIB,DISP=SHR 
 // DD DSN=CEE.SCEELKED,DISP=SHR 
 // DD DSN=HLQ.TEST.LOAD,DISP=SHR 
 //LKED.SYSIN DD * 
 INCLUDE SYSLIB(CEEUOPT) 
 NAME ABCTEST(R) 
 /* 
 
 
 
 Thanks in advance.
 Denis.
  

Check Out the new free AIM(R) Mail -- 2 GB of storage and industry-leading spam 
and email virus protection.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: Time Zone query for remote users API in LE or z/OS for PL/I programs?

2007-02-15 Thread Denis Gäbler
 Hi Dave,
 
 that would be great. I'd really like to have a look at that subroutine.
 
 Thanks in advance.
 Denis Gäbler.

 -Original Message-
 From: [EMAIL PROTECTED]
 To: IBM-MAIN@BAMA.UA.EDU
 Sent: Thu, 15 Feb 2007 3:20 PM
 Subject: Re: Time Zone query for remote users API in LE or z/OS for PL/I 
programs?
 
  Hi, Denis.

Did you ever get a solution to your problem of getting time zone information
from a time zone name in PL/I applications? If you have not, I can send you
a PL/I subroutine that we have here that does exactly that.

Have a good one.

DJ 


On Fri, 2 Feb 2007 04:05:10 -0500, Denis Gäbler [EMAIL PROTECTED]
wrote:

 Hi,
 
 in e.g. Linux there is a way to calculate the timezone for a remote user
based on definitions such as Europe/Berlin, North Amerika/Atlanta and so on.
 This is also possible with Java on z/OS. We would like to eliminate the
maintenance of our current DB2 table, which we query with e.g. Tokyo and
the result of the query tells us the offset.
 Is there any other API than Java that supports that mechanism on z/OS? We
need this service in our IMS regions and it would be memory eater to enable
all regions for Java processing just for the sake of running a single statement.
 
 Thanks in advance
 Denis Gäbler.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html
   

Check Out the new free AIM(R) Mail -- 2 GB of storage and industry-leading spam 
and email virus protection.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Time Zone query for remote users API in LE or z/OS for PL/I programs?

2007-02-02 Thread Denis Gäbler
 Hi,
 
 in e.g. Linux there is a way to calculate the timezone for a remote user based 
on definitions such as Europe/Berlin, North Amerika/Atlanta and so on.
 This is also possible with Java on z/OS. We would like to eliminate the 
maintenance of our current DB2 table, which we query with e.g. Tokyo and the 
result of the query tells us the offset.
 Is there any other API than Java that supports that mechanism on z/OS? We need 
this service in our IMS regions and it would be memory eater to enable all 
regions for Java processing just for the sake of running a single statement.
 
 Thanks in advance
 Denis Gäbler.
  

Check Out the new free AIM(R) Mail -- 2 GB of storage and industry-leading spam 
and email virus protection.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: Time Zone query for remote users API in LE or z/OS for PL/I

2007-02-02 Thread Denis Gäbler
 Hi List,



 Here is what we are going to do. We'll write a Java Stored Procedure for DB2 
to use the Java API for the timezone and whenever application needs this 
service (IMS, CICS, Batch) it should call the DB2 Stored Procedure and we are 
done.

 If there were any changes in the timezone database, they will be applied by 
Java Maintenance, espessially for the daylight savings time changes which might 
be different and in different parts of the world this change might be on 
different days.



Thanks.

Denis Gäbler.

 -Original Message-From: [EMAIL PROTECTED]
   As you have observed, most UNIX systems, other than the atavistic z/OS
Unix System Services, employ the zoneinfo database, described in

   Linkname: Sources for Time Zone and Daylight Saving Time Data
URL: http://www.twinsun.com/tz/tz-link.html

This database is distributed with the z/OS DCE product; you may
find it in:

/usr/lpp/dce/etc/zoneinfo

AFAIK, only DCE uses this, and Java uses whatever it uses.  Ignoring
zoneinfo is a more serious problem with the changes in the Daylight
Saving Time schedule legislated in the U.S.: once the LE APAR 
(PK24076 ?) is applied, time zone offsets for some dates on Fall,
2006 will be wrong; without the APAR time zone offsets for some
dates in Spring, 2007 will be wrong.  Once we have the APAR applied
I'll start a PMR on the Fall, 2007, problem, and attempt this into
a Requirement for zoneinfo in z/OS Unix System Services.

-- gil
-- 
StorageTek
INFORMATION made POWERFUL

 

Check Out the new free AIM(R) Mail -- 2 GB of storage and industry-leading spam 
and email virus protection.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: setting LE runtime options programatically.

2007-01-29 Thread Denis Gäbler
  Hi,
 
 I had the same problem. This could be easily solved, by using a CEEUOPT 
Module. But that means that the LE Runtime Options that should be used by the 
module, have to be defined as being overridable by an CEEUOPT module. An 
example is appended. In addition, this scenario is supported under IMS too, but 
it is not required to run in anll IMS Java Region. Could be a normal COBOL, 
PL/I program, IMS region requires more working storage and JVM can be reused 
while being scheduled and looping reaching sub-second response time and zAAP 
can be utilized.
 
 If anyone is interested in a presentation covering this topic, drop me an 
email and I'll send you a PDF document. Its about the IMS implementation, but 
the Java Sample code used has nothing to do with IMS, you could easily leave 
the IMS specifics out (In fact a simple caller COBOL transaction) and it still 
does work. In fact, the sample is designed to be called not only from COBOL 
also Assembler, PL/I and other languages could be Java caller.
 
 Create a CEE Sample Member:
 
 //HLASM EXEC PGM=ASMA90,PARM='LINECOUNT(0)' 
 //SYSPRINT DD SYSOUT=* 
 //SYSUT1 DD UNIT=SYSDA,SPACE=(CYL,(1,1)) 
 //SYSUT2 DD UNIT=SYSDA,SPACE=(CYL,(1,1)) 
 //SYSUT3 DD UNIT=SYSDA,SPACE=(CYL,(1,1)) 
 //SYSLIN DD DSN=GAEBLER.LOAD(DENISCEE),DISP=SHR 
 //SYSLIB DD DSN=CEE.SCEEMAC,DISP=SHR 
 // DD DSN=SYS1.MACLIB,DISP=SHR 
 //SYSIN DD * 
 TITLE 'CEEUOPT' 
 CEEUOPT CSECT 
 CEEUOPT AMODE ANY 
 CEEUOPT RMODE ANY 
 CEEXOPT XPLINK=(ON), X
 POSIX=(ON), X
 STACK=(512K,512K,ANYWHERE,KEEP,512K,512K), X
 ENVAR=('_CEE_ENVFILE=/u/gaebler/hello/ENV') 
 END 
 //* 
 
 

 -Original Message-
 From: [EMAIL PROTECTED]
 To: IBM-MAIN@BAMA.UA.EDU
 Sent: Mon, 29 Jan 2007 8:01 PM
 Subject: Re: setting LE runtime options programatically.
 
  On 29 Jan 2007 08:14:32 -0800, in bit.listserv.ibm-main you wrote:

We have just started down the road of trying to invoke java classes from
batch COBOL but have hit a problem with the 100 character PARM field length
because we need to specify several runtime options such as ENVAR=,
POSIX(ON) AND XPLINK(ON) on top of our own parameters.  Is there a way to
change the runtime options dynamically from a COBOL program which is already
running in an LE environment.
Since I would think that the POSIX environment and use of XPLINK (new
world linkage conventions) determine how the COBOL program is compiled
and issues calls, I don't see how a run-time change of this option
could work.

Jim McAlpine

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html
   

Check Out the new free AIM(R) Mail -- 2 GB of storage and industry-leading spam 
and email virus protection.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


TCPIP Racf Protection for application?

2006-11-22 Thread Denis Gäbler
 Hi,
 
 there is a COBOL application which is supposed to do TCP/IP calls nowadays. 
When starting the application (TCPIPAPP) it requests READ access to the 
following datasets:
 SYS1.TCPIP.HOSTS.SITEINFO
 SYS1.TCPPARMS
 The application is started with the callers Userid.
 
 RACF people don't like to grant generic READ permission to all users. Is there 
any other solution?
 Could something like that be used to only allow that specific program access 
to TCP/IP?
 PERMIT 'SYS1.TCPPARMS' CLASS(DATASET) ID(*) ACCESS(READ) 
WHEN(PROGRAM(TCPIPAPP))
 
 Are there better solutions, ideas for that?
 
 Thanks, Denis.
  

Check Out the new free AIM(R) Mail -- 2 GB of storage and industry-leading spam 
and email virus protection.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: P390

2006-11-17 Thread Denis Gäbler
 Hi,
 
 I have a question regarding developing z/OS Software education. Is that 
considered to be development or production use?
 
 Thanks.
 Denis Gaebler. 

 -Original Message-
 From: [EMAIL PROTECTED]
 To: IBM-MAIN@BAMA.UA.EDU
 Sent: Fri, 17 Nov 2006 7:25 AM
 Subject: Re: P390
 
  On Friday, 11/17/2006 at 02:37 ZE9, Timothy Sipples/Chicago/[EMAIL PROTECTED] 
wrote:
 Yes, a z800 is eligible for PWD, or so I've been told.

Discounts on h/w in PWD require that you have an active interest in 
developing a software product, and provide to IBM a plan that shows when 
you expect to GA it.  That means you need have an active business.  You 
also may not sublease or use the hardware for production.

Likewise, the s/w you obtain via PWD is also not for production use.

Alan Altmark
z/VM Development
IBM Endicott

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html
   

Check Out the new free AIM(R) Mail -- 2 GB of storage and industry-leading spam 
and email virus protection.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html


Re: P390

2006-11-15 Thread Denis Gäbler
 Hi,
 
 It would more interesting to have a z/OS (not z/OS.e) calculation with IMS and 
DB2, because thats what would be required by most developers I know.
  Are we still talking about 30.000 USD? And what monthly charges at the lowest 
level?
 
 Denis Gaebler.
 
 -Original Message-
 From: [EMAIL PROTECTED]
 To: IBM-MAIN@BAMA.UA.EDU
 Sent: Wed, 15 Nov 2006 9:10 AM
 Subject: Re: P390
 
  I posted an item at The Mainframe Blog (http://mainframe.typepad.com) today
with a discussion of what's currently involved in obtaining a home
mainframe (which might be personal or might be shared among a group of
developers). The post might spur some interesting comments, and anyone is
welcome to comment.

- - - - -
Timothy Sipples
IBM Consulting Enterprise Software Architect
Specializing in Software Architectures Related to System z
Based in Tokyo, Serving IBM Japan and IBM Asia-Pacific
E-Mail: [EMAIL PROTECTED]
--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html
   

Check Out the new free AIM(R) Mail -- 2 GB of storage and industry-leading spam 
and email virus protection.

--
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [EMAIL PROTECTED] with the message: GET IBM-MAIN INFO
Search the archives at http://bama.ua.edu/archives/ibm-main.html