How to get IBM Personal Communications to send IBM-DYNAMIC as device type?

2006-03-28 Thread Hunkeler Peter (KRDO 4)
I've been trying to get IBM Personal Communications (PCOM) to send 
IBM-DYNAMIC as the device type instead of one of the legacy
models IBM-3278-x-E but haven't had luck so far.

We've changed to use the Express-Logon-Feature (ELF) and ever since 
then, I cannot logon using Logmode D4C32XX3 which allows non-standard
terminal sizes.

The TN3270 server has some entries for the legacy models, like
  TELNETDEVICEIBM-3279-2-E  LM2 ,LM2  
  ...
  TELNETDEVICEIBM-3279-5-E  LM5 ,LM5  
  TELNETDEVICEIBM-3279-5LM5N,LM5N 

and also one which would direct me to D4C32XX3
  TELNETDEVICEIBM-DYNAMIC   D4C32XX3,D4C32XX3

PCOM seems to revert to IBM-3279-2-E whenever I code some non-std
screen sizte in the .WS file.

Does anyone know if it is possible to tell PCOM to send IBM-DYNAMIC
when opening the TN3270 session?



Peter Hunkeler
CREDIT SUISSE

--
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: How to get IBM Personal Communications to send IBM-DYNAMIC as device type?

2006-03-28 Thread Hunkeler Peter (KRDO 4)
Thanks a zillion, Tomas and Chris.  Works like a champ.

Tonni, I read TD102151 before but it does not mention neither
TerminalType nor TerminalTypeString.

Peter Hunkeler
CREDIT SUISSE

--
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: JES2 Start Options

2006-03-22 Thread Hunkeler Peter (KRDO 4)
Yet another option: Put a line like this at the bottom of your parm
deck:

$vs,'$s'

This will ask JES to issue the $s command once it is ready. You can then
respond with nn,WARM or nn,COLD or whatever to the SPECIFY OPTIONS
prompt
and JES will eventually start itself.


Peter Hunkeler
CREDIT SUISSE

--
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: amode rmode problem

2006-03-21 Thread Hunkeler Peter (KRDO 4)
And presumably the EODAD address has to be a 24 bit address also since 
the DCB has other info in the leftmost byte of that word. 

No. There are fullword fields in the DCBE to hold EOEAD and SYNAD
routine
addresses. DCBE fields take preprecedence over the corresponding DBC
fields.


Peter Hunkeler
CREDIT SUISSE

--
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: amode rmode problem

2006-03-20 Thread Hunkeler Peter (KRDO 4)
When the COBOL program is linked AMODE(ANY) RMODE(24) it runs 
fine, but when the COBOL program is linked AMODE(31) RMODE(ANY) 
the assembler subroutine abends with a 0C4 abend on the first 
BSM instruction above.

The first BSM instruction switches the AMODE to 24. However,
the code is resident above the line (RMODE=ANY almost always
means the module is loaded above), so the fetch of the next
sequential instruction (NSI) (L 1,R5) propbably fails. (If 
you're unlucky, there is some storage allocated at the 
24-bit NSI address and s few more instructions might execute
before strange things happen.

Although the ASM routine was programmed to deal with different 
AMODEs, switching forth and back as needed, it is not able to
run above the line. The RMODE of any code switching to AMODE24
MUST BE 24.


Peter Hunkeler
CREDIT SUISSE

--
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: amode rmode problem

2006-03-20 Thread Hunkeler Peter (KRDO 4)
Peter, the assembler routine IS linked AMODE(24) and is called
dynamically.

Jim,
you wrote it the other way around:
subroutine which is called by a COBOL main program.  Here is a 
snippet from the assembler routine which is linkied AMODE(31) RMODE(24)


Peter Hunkeler
CREDIT SUISSE

--
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: amode rmode problem

2006-03-20 Thread Hunkeler Peter (KRDO 4)
Just guessing: doesn't the LA of DOGETS set the high-order bit?
Thus, the adressing mode will not be set to 24-bit... 

LA does never set the high order bit. It always clears all high
order bits not being used in the current addressing mode (only
in the low half of the 64 general purpose register, to be precise).


Peter Hunkeler
CREDIT SUISSE

--
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: amode rmode problem

2006-03-20 Thread Hunkeler Peter (KRDO 4)
Any reason why you cannot use the SAM24 and SAM31 instructions 
instead of BSM ? 

Code predates the advent of the pre-z/Architecture. 
SAMs are only available on z/Architecture machines.

Peter Hunkeler
CREDIT SUISSE

--
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: amode rmode problem

2006-03-20 Thread Hunkeler Peter (KRDO 4)
A purist might disagree and say that LA sets the high order 
bit to  zero.   

I love it! Made my day.
Believe it or not, I did read the PoP (well a summary I once wrote)
before posting, I just didn't change my wording. (BTW, my summary
says ...set to zero, indeed).


Peter Hunkeler
CREDIT SUISSE

--
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: amode rmode problem

2006-03-20 Thread Hunkeler Peter (KRDO 4)
You are aware that all addresses passed from the COBOL to the
ASM routine must point to 24bit addressable storage, aren't you?

Peter Hunkeler
CREDIT SUISSE

--
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: amode rmode problem

2006-03-20 Thread Hunkeler Peter (KRDO 4)
Need to be more precise:

You are aware that all addresses passed from the COBOL to the
ASM routine must point to 24bit addressable storage if the ASM
code uses them while in AMODE24.


Peter Hunkeler
CREDIT SUISSE

--
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: amode rmode problem

2006-03-20 Thread Hunkeler Peter (KRDO 4)
Like you, I suggest he delete that obsolete code and just stay in 
31-bit mode. 

The DCB still needs to be in 24bit addressable storage, doesn't it?

Peter Hunkeler
CREDIT SUISSE

--
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: UID(0) and concurrent processes

2006-03-19 Thread Hunkeler Peter (KRDO 4)
[snip]..., or the 'need' to have the abilty to have beyond the
limit of concurrent processes set forth by MAXPROC(USER/SYS)

If this product will be serving a lot of users in parallel, it will
nees a lot of processes or threads in parallel. Depending on what
those tasks are going to do and how the programmer chose to implement
this in the code, the server will need a number of processes or threads.
Either PROCUSERMAX or THREADSMAX will have to be set correspondingly.

This alone is not strange. You need to think about how many concurrent
user tasks your system can cope with and how you can limit this
number. If the server tries to go beyond the limit it may have code 
to deal with this situation, it may seem not to work or it may simply
abend (JAVA is known to stupidly abend with S0C4 if it runs ouit of
virtual memory). Take this into consideration when choosing the
maximum to set.

Peter Hunkeler
CREDIT SUISSE

--
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: UID(0) and concurrent processes

2006-03-17 Thread Hunkeler Peter (KRDO 4)
I have a very hard time accepting anything *needs* to have 
UID(0). 

From a UNIX design point of view cron needs uid=0. This is one
of the few servers I meant and I can live with that. 


Peter Hunkeler
CREDIT SUISSE

--
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: UID(0) and concurrent processes

2006-03-17 Thread Hunkeler Peter (KRDO 4)
Sorry Peter, my comment was directed at applications rather 
than system processes.

I absolutely agree when it comes to applications: Zero is the
target number of uid=0 userids. z/OS has plenty of possibilites
to grant special rights w/o the need for uid=0.


Peter Hunkeler
CREDIT SUISSE

--
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: Batch TMP RECFM(VB) Input

2006-03-16 Thread Hunkeler Peter (KRDO 4)
IKJEFT1A  does return after the first non-zero return code
even if the input comes from a data set executed via ex
command. Either the SYSTSIN DD * or the PARM= version
work for me. 

Or did I missunderstand you question?

Peter Hunkeler
CREDIT SUISSE

--
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: UID(0) and concurrent processes

2006-03-16 Thread Hunkeler Peter (KRDO 4)
Um, MAXPROCUSER?

Yes, MAXPROCUSER limits the number of concurrent processes per
user, MAXPROCSYS sets the systemwide limit.

Don't increase MAXPROCUSER to an unreasonable value just because
one server needs a large nummber of processes. Use the PROCUSERMAX
attribute in that userid's OMVS segment. (There are a couple more
userid level attributes).


Aside form this, I would not easily set a JAVA server TRUSTED and
PRIVILEGED. There are only a few servers that *really* need uid=0.
Most can be setup to run with non-zero uid.

Do they say why this server needs such high credentials? If that
server starts child prcesses to server individal user request, and
if those processes also run uid=0, the users have a meams to run
something with uid=0. 

Peter Hunkeler
CREDIT SUISSE

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


Control-M abends with non-standard screen size: PTF is available

2006-03-15 Thread Hunkeler Peter (KRDO 4)
A while ago, I opened a thread discussing problems with
Control-M and non-standard screen sizes. Some reported they
have the same problem.

My colleage told me that he's got a PTF for Control-M that's
supposed to fix the problem. Althought, I haven't had a chance 
yet to test this, I thought you might be interested:

PTF: 17745
http://efix.bmc.com/cgi-bin/efix/ptfdlist?qid=5A2524env=I600fixnos=PA1
7745type=ptfinfo
(The URL might wrap) 


Peter Hunkeler
CREDIT SUISSE

--
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: Batch TMP RECFM(VB) Input

2006-03-15 Thread Hunkeler Peter (KRDO 4)
//TMP EXEC PGM=IKJEFT01, 
//  PARM='EX ''VB.INPUT'' LIST CLIST'
//SYSTSPRT  DD SYSOUT=*  
//SYSTSIN   DD DUMMY 

It seems I have supplanted the CLIST facility ;-)

Peter Hunkeler
CREDIT SUISSE

--
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: Accessing The Archives

2006-03-15 Thread Hunkeler Peter (KRDO 4)
There's a pointer in the footer of every message posted. 


Peter Hunkeler

--
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: Batch TMP RECFM(VB) Input

2006-03-14 Thread Hunkeler Peter (KRDO 4)
Ulrich, 
how about this:

1) create a simple two line rexx in data set A.B.EXEC: 
 
   /* rexx */
   execio * diskr cmdin (finis

2) run your batch tmp with DD=CMDIN pointing to the VB data set and
   the following line in SYSTSIN:
 
   EX 'A.B.EXEC' EX

The rexx will read all lines from the data set and put them onto the 
stack. The TMP will see the data on the stack after the REXX ends and
will execute the stacked lines one by one.

The rexx may of course also be a PDS member instead of only a plain 
PS data set.   

Peter Hunkeler
CREDIT SUISSE

--
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: external vs internal coupling facility

2006-02-19 Thread Hunkeler Peter (KRDO 4)
Moving the CF from external to internal might introduce
single points of failure which may lead to data loss. So,
careful planning is due. Some apply only to multi system
sysplex, some also to single system environments.


Peter Hunkeler
CREDIT SUISSE

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


How to configure ELF (Express Logon) to work with ACF2 and TSO Logon?

2006-02-14 Thread Hunkeler Peter (KRDO 4)
Hi,
The Express Logon Feature (ELF) has recently been activated here. 

Is there someone using ACF2 and PCOM macros to log into TSO using 
ELF? I'm having troubles coding the PCOM macro.


Peter Hunkeler
CREDIT SUISSE

--
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: Omvs/tcpip question

2006-02-01 Thread Hunkeler Peter (KRDO 4)
I have BPX.DEFAULT.USER defined and FACILITY class is active.
BPX.DEFAULT.USER has as the application data OEDFLTU/OEDFLTG.  
The UID associated with OEDFLTU is  and the GID with 
OEDFLTG is 77. 

Not related to the problem but nevertheless not a good idea, IMHO.
It's kind a like asking all TSO users to use the same userid to
log on to TSO. Its not what the default user was meant to be used
for. Assign (at least) each TSO user a discrete OMVS profile.


Peter Hunkeler
CREDIT SUISSE

--
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: Omvs/tcpip question

2006-02-01 Thread Hunkeler Peter (KRDO 4)
Did anyone change IKJTSOxx or issue the PARMLIB command or
SET IKJTSO=xx command? Is PING defined to AUTHCMD? 

Does ping behave the same from a shell session? Log-in
through telnet and try oping some.host.name


Peter Hunkeler
CREDIT SUISSE

--
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: Newbie BPX question

2006-01-29 Thread Hunkeler Peter (KRDO 4)
Basically, any UNIX program which wants to switch identities 
(I.e. setuid() / seteuid() functions, aka su) must either be 
UID(0) (root) or have at least READ access to the BPX.DAEMON 
profile in the FACILITY class.

Not true! 
- If BPX.DAEMON is *not* defined any process running 
  with uid(0) can switch to any other userid *without knowing
  the target user's password (provided the target userid hat got
  a uid assigned). 
- If BPX.DAEMON *is* defined, this process also needs READ 
  permission, and it needs to run in a clean environment to be 
  able to switch identities *without* knowing the pw.
- If a process running with uid(0) *knows* the password of the
  target user, it may switch in any case.
- If a process, not necessarily running with uid(0), does not
  know the pw but has been granted surrogate authority (some 
  other RACF profiles), it may switch identities.



Peter Hunkeler
CREDIT SUISSE

--
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: Receive Cancel command with a C program

2006-01-29 Thread Hunkeler Peter (KRDO 4)
i try to trap the Cancel command in my C program , but i doesn't 
seem to work . Looking for help !!! 

Do you mean CANCEL, the MVS CANCEL command? This does not send
a SIGTERM. You would need a F BPXOINIT,TERM=pid to send a 
SIGTERM from the console.


Peter Hunkeler
CREDIT SUISSE

--
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: Newbie BPX question

2006-01-27 Thread Hunkeler Peter (KRDO 4)
It's a RACF FACILITY class profile. See the z/OS UNIX System
Services Planning manual for details. 


Peter Hunkeler
CREDIT SUISSE

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

2006-01-24 Thread Hunkeler Peter (KRDO 4)
If it goes on like that I bet one day we'll have zOSPs,
aka zSeries Operating System Processors. 

zSeries once was a beautiful machine; its getting ugly.


Peter Hunkeler
CREDIT SUISSE

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

2006-01-24 Thread Hunkeler Peter (KRDO 4)
zNUPs - zSeries No Use Processor - Its a simple one: it doesn't do
anything except from appearing on your maintenance bill


Peter Hunkeler
CREDIT SUISSE

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

2006-01-24 Thread Hunkeler Peter (KRDO 4)
IMHO IBM desperately tries to lower software prices for those who 
can get rid of mainframe and migrate to other platforms and keep 
the fees as high as possible for those (traditional workload) 
who cannot do it because of complexity etc. reasons.

rant
Justifiable or not, its the most stupid way to try to solve the real 
problem. It creates an unnecessary complex environment, both for
z/OS code as well as for the customer to customize, monitor, tune.
/rant

Peter Hunkeler
CREDIT SUISSE

--
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: Windows Softcopy Reader gotten any better?

2006-01-24 Thread Hunkeler Peter (KRDO 4)
Well I gave it another try a few weeks ago. It may have become
better but still is not an option for me. I'm sticking to the old
Windows Library Reader. Still works, fast, reliable.

I contacted softcopy reader support because it wouldn't print
correctly. I was asked to send more details, samples, etc. Never
heard back.

For me this is just another it must be Java project that gives 
us a useless replacement for a formely well working piece of 
software. Too bad


Peter Hunkeler
CREDIT SUISSE

--
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: Directory ...

2006-01-23 Thread Hunkeler Peter (KRDO 4)
That belongs to DFS. From the DFS Administration book:

The DFS global namespace must be mounted on a local disk directory.
In z/OS, the local directory where the global namespace is mounted 
must be /  (The /... is usually created during the DFS 
installation.)


Peter Hunkeler
CREDIT SUISSE

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


How is work dispatched on zAAPs (was: Billing for SRB time)

2006-01-20 Thread Hunkeler Peter (KRDO 4)
Why do you say that the overhead is greater to dispatch a zAAP than a
non-zAAP CPU?  (I'm curious.)

Well for one thing, when the dispatcher is running on a normal CPU it 
is already running on the engine where the application code will be
dispatched. There is a separate (not externally documented) signaling
protocol to get work fired up on a zAAP. Even on its best day that is
going to entail more path length than an ordinary dispatch.

Are you sure? I would expect the dispatcher to run on zAAPs the same
way it does on CPs.

It is my understanding (and I may be wrong here) that there are two
WUQ (Work Unit Queues) when there are zAAPs. One is for traditional
MVS WUs (MVS-WUQ hereafter), the other for zAAP WUs (Java work, zAAP-WUQ
hereafter). 

With this in mind I imagine this could be who it works:
Initially a Java TCB is put on the MVS-WUQ. When dispached the JVM 
will eventually decide that it is now time to switch to a zAAP,
so the TCB is marked correspondingly and execution is suspended. 
The TCB is put on the zAAP-WUQ. 

If any of the zAAP engines is idle at this time it will be woken up
an dispatcher code runs the zAAP-WUQ. If all zAAPs are busy, the TCB
has to wait until one of the Java-Tasks running on a zAAP gives up 
control. Probably because the JVM decided it is time to go back to
a CP to continue work. So the TCB is marked correspondingly and 
execution is suspended which gives control to the dispatcher on
the zAAP.


I think most of the overhead associated with using zAAPs is from
code in the JVM needed to do the switching and of course from 
the context switch when going to/coming from zAAPs.

I'm open to be correct. I'm interested in understanding this
mechanism better.



Peter Hunkeler
CREDIT SUISSE

--
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: REXX Problem

2006-01-19 Thread Hunkeler Peter (KRDO 4)
Note the double ampersand which I understand are also required.
I believe that is wrong; one or the other, but not both. Also,
shouldn't the last command be
 ADDRESS ISREDIT SCAN = (oldscan)

I may well be wrong with the exact syntax. I became curious and
was quickly STFM (S=searching) and left the exact syntax as an 
exercise for the interested reader :-) (In fact, I just didn't 
have the time to try myself before posting, which I usually do).


Peter Hunkeler
CREDIT SUISSE

--
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: Two silly questions about USS or OMVS on Z/OS

2006-01-19 Thread Hunkeler Peter (KRDO 4)
z/OS UNIX is of course multi-cultural! 

The shell and (most) of the utilities are written in C. 
C needs the LE runtime environment. The LE runtime 
enviroment is by default set to the C locale, which 
means that text is interpreted with code page IBM-1047. 
Therefore shell and utilities are expecting text to be 
encoded in code page IBM-1047.

So the user needs to make sure he/she is sending text data
encoded with the code page the shell and utilities expect.

In Germany and Austria, people used to work with their 3270
emulators set to code page 273 which is now replaced by 1141
to accomodate for the Euro symbol.

The vertical bar in code page 1047 (which is what shell and
utilites expect when running in the default locale) is at 
code point x'4F'. If you look at code page 1141, you'll see
that this is the explamation point.

Tell the shell, that you are actually sending text encoded 
with 1141 instead of 1047 and the shell will understand 
you vertical bar.

You can play with this. Simply add the following to your
.profile (NOTE that some lines may get split when posted
to IBM-MAIN)


if test -z $CHLOCALE  tty -s
then
  # ***
  # *** This part needs to be in code page IBM-1047 ***
  # ***

  until test $LOCALE_TO_SET -ge 1test $LOCALE_TO_SET -le 3
  do
echo
read LOCALE_TO_SET?Enter the locale: 1=IBM-1148 (CH) 2=IBM-1047 3=IBM-1141 
(DE) (default is 1):
if test -z $LOCALE_TO_SET
then
  LOCALE_TO_SET=1
fi
  done

  if test $LOCALE_TO_SET -eq 1
  then
export MYCODEPAGE=IBM-1148
export MYLOCALE=CH
  elif test $LOCALE_TO_SET -eq 2
  then
export MYCODEPAGE=IBM-1047
export MYLOCALE=CH
  elif test $LOCALE_TO_SET -eq 3
  then
export MYCODEPAGE=IBM-1141
export MYLOCALE=DE
  else
echo ** Error: LOCALE not set ***
  fi

  unset LOCALE_TO_SET

  echo ' - - - - - - - - - - - - - - - - - - - - - - - - -'
  echo ' - Logon shell will now be invoked to reflect-'
  echo  - locale De_$MYLOCALE.$MYCODEPAGE-
  echo ' - - - - - - - - - - - - - - - - - - - - - - - - -'
# export ENV=$HOME/.shrc
  export LC_ALL=De_$MYLOCALE.$MYCODEPAGE
  export LANG=C
  export CHLOCALE=EXECUTED

  export STEPLIB=none
  exec sh -L
fi

# 
*
# *** Starting here all code needs to be able to execute in either code page 
IBM-1148, IBM-1141 or IBM-1047 ***
# 
*

echo ' - - - - - - - - - - - - - - - - - - - -  - - - -'
echo ' - Welcome to OMVS System with localized setup  -'
echo ' - - - - - - - - - - - - - - - - - - - -  - - - -'

if test $_BPX_TERMPATH = 'OMVS'
then
# In the above if stmt an unequal would be code page dependent, so equal is 
used instead
else
  chcp -a ISO8859-1 -e $MYCODEPAGE

  if test $MYCODEPAGE = IBM-1148   # Multilingual code page
  then
export DISPLAY=`who am i | awk -F'[()]' '{print ($2)}'`:0.0
  elif test $MYCODEPAGE = IBM-1141 # German/Austrian code page
  then
export DISPLAY=`who am i | awk -F'Ž()š' '„print ($2)'`:0.0
  else
export DISPLAY=`who am i ! awk -F'í()ù' '{print ($2)}'`:0.0
  fi



I'm not sure the above code page dependent statements survive 
cut'n'paste'n'post, but this is merely to illustrate the 
problems you encounter when trying to write multi-code-page 
scripts.


Either run the 3270 emulator in the same host code page the
shell is expecting by default, i.e. IBM-1047 or tell
the shell to expect your code page (see above).

Hope that helps

Regards

Peter Hunkeler
CREDIT SUISSE

--
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: Two silly questions about USS or OMVS on Z/OS

2006-01-19 Thread Hunkeler Peter (KRDO 4)
The command response in the text of your email was 
very hard to read, no doubt due to some translations 
(code page?) along the way. There were two characters 
that did not display correctly on my PC.  

I have to wonder if that is somehow connected???

It sure is! As I have tried to explain earlier, Josef is
running his emulator with a German code page (273 or 1141)
but his shell session is running in the default locale 
which means it is using code page 1047.

The error message is coded to send square brackets
and these are encoded in code page 1047, i.e. X'AD'
and x'BD'. If those characters are the displayed
in the emulator using code page 1141 they show up
as Ý and ¨.

Let's put the blame on Windows. ;-) 
While I usually agree, it is not involved this time ;-)


BTW, I'm talking about z/OS UNIX not about z/OS MVS. The
latter is much less multicultural. MVS commands expect
text to be encoded in code page 037, so does TSO. 
Fortunately both MVS commands and TSO are only using
characters that are code page invariant. (I never dealt
with a Kanji MVS, so I can't tell how this works.)

REXX is always expecting its code to be in code page 
037 (here we go again: German code page users need to 
use the exclamation point when REXX actually wants a 
verical bar.) This applies also to REXX scripts run 
from a shell session.

ISPF is somewhat customizable (Don't ask me details,
I never fully got it).

This list is not exhaustive.


Peter Hunkeler
CREDIT SUISSE

--
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: Two silly questions about USS or OMVS on Z/OS

2006-01-18 Thread Hunkeler Peter (KRDO 4)
in omvs you use the exclamation mark instead of the pipe symbol. 
I know that this is a difference to normal unix systems, therefore 
I have mentioned it. 

You are being fooled by the code page problem. The pipe symbol IS the
usual pipe symbol but this just happens to map to the explamation
point when you're running your emulator with the German code page
but don't tell the shell (more precisely the LE runtime environment).


Peter Hunkeler
CREDIT SUISSE

--
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: Two silly questions about USS or OMVS on Z/OS

2006-01-18 Thread Hunkeler Peter (KRDO 4)
There is a product named EJES that seems to provide most 
all the SDSF functionality for JES3 

...and I gladly learnt that some kind soul was thinking of us
poor g guys that have to move from JES2/SDSF to JES3/EJES: 
Most of the SDSF commands are implemented in EJES as synonyms 
to the native EJES commands. Makes it really easy. Great! Thanks.


Peter Hunkeler
CREDIT SUISSE

--
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: REXX Problem

2006-01-17 Thread Hunkeler Peter (KRDO 4)
I seems to me you want to replace the -strings in the JCL, so
the  shall not denote a variable dereference. 

No being a fluent edit macro writer I suggest you try to set the
scan mode off before the change:

ADDRESS ISREDIT (oldscan) = SCAN
ADDRESS ISREDIT SCAN = OFF
ADDRESS ISREDIT CHG 'HILVL..ZZ.ZZ.P.STK0..PARMLIB' '%' ALL
ADDRESS ISREDIT SCAN = oldscan

Note the double ampersand which I understand are also required.


Peter Hunkeler

--
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: how to allow separator pages, job by job?

2006-01-12 Thread Hunkeler Peter (KRDO 4)
The JES exits are system wide, PSF exits could be different for
different printers. Printing of separators can be turned on and off 
per printer. 
You could change your separator exits (either JES and/or PSF) to
look for specific data in one of the fields passed to them. The
OUTPUT statment offers a couple of fields.


Peter Hunkeler

CREDIT SUISSE

--
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: DFS/SMB supported codepages

2006-01-10 Thread Hunkeler Peter (KRDO 4)
From RTFM it seems to me that the _IOE_WIRE_CODEPAGE tells the 
server which code page the data has on the non-z/OS side. 
The z/OS side is what the dfskern is running with. You need to 
tell dfskern what EBCDIC code page you want and you need to 
make sure this matches your terminal emulator's host code page.
dfskern probably gets its code page from current locale, which
you can change with the LC_ALL environment variable.
Hope this gives you a starting point.


Peter Hunkeler

CREDIT SUISSE

--
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: Famous in Baghdad

2006-01-10 Thread Hunkeler Peter (KRDO 4)
Still this would be TIPS and not TIPs, since xIPS is not
a plural, there is no xIP (x = M, kM, B, T, ) 
...and don't forget to declare what kind of a Trillion
you're referring to, a US or a ROW (rest of world); it
factors in a million in the difference.


Peter Hunkeler

CREDIT SUISSE

--
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: Famous in Baghdad

2006-01-09 Thread Hunkeler Peter (KRDO 4)
At least in German speaking countries, the following terms 
are used:

1 Million   = 10 ^ 6, which corresponds to million in the US
1 Milliarde = 10 ^ 9  - billion
1 Billion   = 10 ^ 12 - trillion
1 Billiarde = 10 ^ 15 - quadrillion
1 Trillion  = 10 ^ 18 - what's next? quintillion?
etc.


Peter Hunkeler

CREDIT SUISSE

--
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: Define and start JES2

2006-01-06 Thread Hunkeler Peter (KRDO 4)
Since this was originally a discussion related to SUBSYSTEMs:
VTAM is not a subsystem. 

It doesn't listen on the SSI for commands but seems to get 
its commands internally from the MVS command handler.

Peter Hunkeler

Credit Suisse - Information Technology

--
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: Define and start JES2

2006-01-04 Thread Hunkeler Peter (KRDO 4)
Also remember that the command to shut it down is $PJES2, not $PJES4. 

In fact, the command is xPJES2, where x is what is specified as CONCHAR=
on the CONDEF init statement. The default is $ but you may want to
select
something else for a secondary JES.


Peter Hunkeler

Credit Suisse - Information Technology

--
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: Define and start JES2

2006-01-04 Thread Hunkeler Peter (KRDO 4)
2,START(YES),means that system will automatically issue a START 
command to invoke JES2 procedure. However,which procedure name 
system'll use in STARTcommand? S JES4?

First an answer to your second Q (it's a short one): The SUBNAME. 

1,here you use 'JES4' and maybe I could use another name such as
'ABCD'.Then, how could the system know that the subsystem you want 
to initialize is JES2? Put it in another word,how to establish the 
relationship between the SUBNAME and the corresponding subsystem?

Apart from what I wrote about implying SUB=MSTR on the start command
the system does not care about whether the STC's JOBNAME and the
subsystem's SUBNAME match or not. It does not keep record of that
relationship.

The system builds SSCVTs from the IEFSSNxx entries and the STC needs
to find its SSCVT in order to point to its SSVT (the function matrix).
If you name the subsystem ABCD and the STC WXYZ everything will work
provided the program running in WXYZ knows its SSCVT is named ABCD. 

If the subsystem implements functions (via SSVT), e.g. listening for
commands, it needs to place a routine in common storage and point
to ist entry point from the SSVT. MVS will simply give control
to that entry point when appropriate, e.g. when a command has been
entered, without knowing which STC this routine belongs to. 

In fact, the even doesn't have to be a STC around. If you can build 
your function entirely within common storage and don't need an own
address space, you don't need an STC to stay alive after your
code was initialized.

It's long since I dealt with this, so I hope I haven't mixed up
things too seriously. I'm sure some will correct me should I.   

Peter Hunkeler

Credit Suisse - Information Technology

--
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: Programmer name in dynamically allocated SYSOUT

2006-01-04 Thread Hunkeler Peter (KRDO 4)
I doubt there is since the programmer's name is a job level 
not a dd level attribute.


Peter Hunkeler

Credit Suisse - Information Technology

--
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: Define and start JES2

2006-01-03 Thread Hunkeler Peter (KRDO 4)
No matter what you name it, keep the PROC and SUBNAME names in
sync. An STC whose name matches a subsystem name is started 
under the MASTER instead of under the primary JES, which is what 
you want for JESx. (Otherwise, you would need to explicitly specify 
SUB=MSTR on the start command.)

And, I'd expect JESx to fail if it doesn't find an SSCVT with its
name. 

Peter Hunkeler
Credit Suisse - Information Technology

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


Control-M and dynamic screen size definition (D4C32XX3)

2005-12-20 Thread Hunkeler Peter (KRDO 4)
I've been working with TSO/ISPF with larger than standard screen
sizes, e.g. 60x132 or 43x132 for some time. I'm now faced with 
the need to also work with Control-M. I tried to use the same
setup but am getting random S0Cx abends in IOATBMN when starting 
Control-M when the screen size is not one of the old standard 
sizes. 

Has anybody run into this? 

Peter Hunkeler

Credit Suisse - Information Technology

--
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: Looking for documents

2005-12-19 Thread Hunkeler Peter (KRDO 4)
GDPS documentation is strictly only available to GDPS 
customers. Even IBMers are not allowed to get a copy 
without being involved in a GDPS project.


Peter Hunkeler

Credit Suisse - Information Technology

--
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: COND= on an EXEC Statement

2005-12-15 Thread Hunkeler Peter (KRDO 4)
I cannot think of a way to say: If any step within PROC1 
has a RC  4, then.

The example seems to imply that STEP1 is the first step in
this job, then IF RC = 4 THEN would do the trick. But you
are right, you can't do it for a job step (calling a PROC) 
which is not the first in a job. 


Peter Hunkeler

Credit Suisse - Information Technology

--
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: Mainframe to windows and windows to mainframe

2005-12-09 Thread Hunkeler Peter (KRDO 4)
Use FTP with FILETYPE=JES. It is documented in 4.13 Interfacing 
with JES in the IP User's Guide and Commands manual and has been
discussed here multiple times. You may want to search the archive.


Peter Hunkeler

Credit Suisse - Information Technology

--
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: 'ALLOCATE' a data set in my TSO/E session

2005-12-09 Thread Hunkeler Peter (KRDO 4)
What difference would it make if they occur in a PROC?  They are 
hardly exceptions since they occur regularly (consider SMP/E and 
utilities). 

The thought was that PROCs are written and tested once but used 
many times. 

Why would you encourage newcomers to code a useless parameter under
those circumstances?

I've been teaching JCL for years and from experience I can tell 
that this is one of the frequent troubles they have. I always
told them that (in my opinion, of course) DSN= and DISP= belong
together. (As you may recognize, the temp work data set don't
belong to this category).



Peter Hunkeler

Credit Suisse - Information Technology

--
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: 'ALLOCATE' a data set in my TSO/E session

2005-12-09 Thread Hunkeler Peter (KRDO 4)
Cross posted to IBM-MAIN and MVS-OE

FYI only.
Long time ago we discussed the expected versus the experienced
behaviour when doing an ls -l on a directory where you don't
have search permission.

Finally, IBM accepted an APAR for this problem:
OA01524: Z/OS UNIX V1.4 IS NOT CORRECTLY HANDLING PERMISSION BITS 


Peter Hunkeler

Credit Suisse - Information Technology

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


APAR resolving ls -l and search permission problem

2005-12-09 Thread Hunkeler Peter (KRDO 4)
I'm resending this with a proper subject. Sorry for this mistake. 


Cross posted to IBM-MAIN and MVS-OE

FYI only.
Long time ago we discussed the expected versus the experienced
behaviour when doing an ls -l on a directory where you don't
have search permission.

Finally, IBM accepted an APAR for this problem:
OA01524: Z/OS UNIX V1.4 IS NOT CORRECTLY HANDLING PERMISSION BITS 


Peter Hunkeler

Credit Suisse - Information Technology

--
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: 'ALLOCATE' a data set in my TSO/E session

2005-12-08 Thread Hunkeler Peter (KRDO 4)
I think what I should have said is the following:

  If you do not code DISP you get the following conditions
   DISP=(disp1,disp2,disp3)
  If disp1 is not coded it will default to NEW
  If disp2 is not coded it will default to DELETE for NEW or 
 KEEP for OLD
  If disp3 is not coded it will be DELETE for NEW or Keep for OLD 

Almost. disp3 defaults to what was specified or implied as disp2, 
except when PASS was specified as disp2. Then disp3 will default
to DELETE for NEW and KEEP for OLD.


Peter Hunkeler

Credit Suisse - Information Technology

--
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: 'ALLOCATE' a data set in my TSO/E session

2005-12-08 Thread Hunkeler Peter (KRDO 4)
As for never, ever, no way, should anybody never, ever not 
use a DISP even if they want the default of NEW,DELETE, that 
is also not realistic since it is done routinely when allocating 
temporary work files like SORTWK and SYSUT1, etc. type files.  
It clearly doesn't make sense to code a disposition for a data 
set that allows the DSNAME to default. 

I'm with John here. Do code the DISP parameter. I especially
recommend this to newcomers. 

The temporary work file cases you mention are surely candidates 
for exception but aren't they often (mostly?) coded within 
PROCs? And obsolete in many cases anyway. 


And since this has not yet been explicitly mentioned: Johnny, 
be aware that z/OS (MVS) does not support that two or more tasks
are simultaneously writing to a single sequential data set. This
is why you need to code DISP=OLD or MOD if you want to write to
a sequential data set. There are exceptions and data set 
organisations that work differently (e.g. data bases).

Peter Hunkeler

Credit Suisse - Information Technology

--
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: Modify command - lower case command text possible or not?

2005-12-08 Thread Hunkeler Peter (KRDO 4)
That appears to be an artifact of SDSF. I noticed that ...

It is not only an artifact of SDSF, it is an artifact of many elder
ISPF applications. The default atttibute for input fields had CAPS(ON)
as default, so everything entered there would be translated to upper
case by ISPF's dialog manager routine. So someone needed to change
the panel or invent a new one to allow lower case letters to be
entered. SDSF's extended command line is one example, ISPF's option 6
Commands is another one.


Peter Hunkeler

Credit Suisse - Information Technology

--
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: How to quickly shut down system

2005-12-07 Thread Hunkeler Peter (KRDO 4)
From experience on education systems I'd say the $PJES2 isn't even 
necessary.
I would not subscribe to that. $PJES2 should always be done. If JES2
comes
down is another matter.

I agree, doing the $PJES2 will not hurt.


This makes me belive JES2 is one of the (few?) products that listens
for
the forthcoming offline that XCF communicates and then terminates in a
clean quick manner.
Actually, *every* xcf group member gets the notification that a system
is
about to leave, listening to or not. It's just that not every member of
an
xcf group terminates itself on the system being removed (if it'S still
up).
But the cleanup interval (until the wait state is loaded) is there
exactly
for cleanup purposes.

Sure. With my wording JES2 ... listens I meant actually listens and
acts 
by terminating itself. 


Peter Hunkeler

Credit Suisse - Information Technology

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


OUTLIM and IEFUSO

2005-12-07 Thread Hunkeler Peter (KRDO 4)
I'm trying to sort out the impact of various sysout limitating options
but the FM is not absolutely clear in every aspect. Comments,
corrections
and suggestions are welcome.

Leaving punched cards aside, there are four JCL/JES parameters that can
be
used to limit the amount of sysout output from a job: BYTES=, LINES=,
and
PAGES= on the JES2/3 JECL and OUTLIM= on the SYSOUT DD.

The first three set a threshold for JES2/3 to issue an xyz exceeded 
message and an action to occur. The action can be cancel, dump, and
warning.

It is my understanding, that
- neither action will trigger IEFUSO to be entered when the 
  threshold is reached.
- neither JES will ever cancel a job because of threshold exceeded
  when the action is warning.
- the cancel/dump actions lead to an S722 abend (IEFUSO not called).

Do these limits apply to the job level (all sysout data sets from this
job) or are they applied on a sysout data set base? I've got a job
(the initiator of this investigation) where the number of pages on the 
IAT1600 PAGES EXCEEDED BY is increasing but the number of bytes 
seems to start over again multiple times??



Independently from the above, OUTLIM= sets the threshold for the number
of lines for each single sysout data set.

It is my understanding that
- there is no message when OUTLIM= is reached.
- IEFUSO is entered when OUTLIM= is reached and the exit decides if 
  the job can continue with a new limit or abend with S722.
- the job abends with S722 if IEFUSO is not active (SMFPRMxx)

The maximum value for OUTLIM= is 16777215. Can this value e overridden
by the exit or is this the maximum number of lines  JES2/3 can handle 
for one single sysout data set? The exits manual doesn't say what the
upper limit for the new limit returned in R0 is.

Am I missing anything else?



Peter Hunkeler

Credit Suisse - Information Technology

--
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: How to quickly shut down system

2005-12-06 Thread Hunkeler Peter (KRDO 4)
$PJES2 will most certainly never complete, but it will prevent any new
tasks from starting. I would NOT do a TERM because you lose all control

at that point. 

From experience on education systems I'd say the $PJES2 isn't even 
necessary. I've always seen JES2 stopping after the V XCF OFF before 
the final 0A2 arrived. This makes me belive JES2 is one of the (few?)
products that listens for the forthcoming offline that XCF communicates
and then terminates in a clean quick manner.

caution
The case above does by no means reflect real life situations, since
no (or almost no) work was going on on those systems when doing the 
V XCF OFF.
/caution

Peter Hunkeler

Credit Suisse - Information Technology

--
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: Allocated volumes after the power loss in the storage subsyst em

2005-11-30 Thread Hunkeler Peter (KRDO 4)
 I wonder if the I/O does not time out and recovery procedures will be
driven.

In that case the timeouts must be extremly long (more than a couple of
hours) g. 

What does a D IOS,MIH,DEV=/cuaa for one of the hanging devices tell
you?


Peter Hunkeler

Credit Suisse - Information Technology

--
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: Allocated volumes after the power loss in the storage subsyst em

2005-11-30 Thread Hunkeler Peter (KRDO 4)
00:45.

So, missing interupt messages should pop up after 45 seconds. Don't you
see any IOS messages in the syslog?


Peter Hunkeler

Credit Suisse - Information Technology

--
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: Using symbolic in JCL

2005-11-30 Thread Hunkeler Peter (KRDO 4)
Isn't TSO logon demand selected the same way STCs are? 


Peter Hunkeler

Credit Suisse - Information Technology

--
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: userdata line in jcl

2005-11-30 Thread Hunkeler Peter (KRDO 4)
Any line that starts with //* is a comment to JES.

Be careful. //* may be ambiguous in a JES3 environment.
Most of the JES3 control statements start with //*xyz.

JCL comment statements should start with //*b (b=blank)
to avoid such ambiguity (this applies to JES3 environments
only, of course).

There are tools that scan JCL and that have their own use
//* statements.



Peter Hunkeler

Credit Suisse - Information Technology

--
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: Submitting JCL via FTP

2005-11-29 Thread Hunkeler Peter (KRDO 4)
Make the job submitted via FTP (TESTFTP in your test case) look
like this:

//jobname  JOB
//STEP01   EXEC PGM=IEBGENER
//SYSPRINT DD SYSOUT=*or DUMMY
//SYSINDD DUMMY
//SYSUT1   DD DISP=SHR,DSN=your.remote.pds(jobmemb)
//SYSUT2   DD SYSOUT=(A,INTRDR)

This will run the above job on the remote LPAR which in turn
will read and submit the remote member jobmemb from library
your.remote.pds on that remote LPAR.


Peter Hunkeler

Credit Suisse - Information Technology

--
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: Is there a JES3 equivalent to SEGMENT= in JES2?

2005-11-29 Thread Hunkeler Peter (KRDO 4)
Actually, JES2's SEGMENT support is based on the number of PAGES, which
in
turn are based strictly on skips to channel 1, while the JES3 THRESHLD
support is based on the number of LINES.  Presumably JES2 output that
has
LINECT=0 specified (somewhere) would result in no SEGMENTs produced,
whereas JES3 is more difficult to confuse (in that aspect, at least).

As far as I have learnt now, JES3 will only split groups of SYSOUT data 
sets so that the group total does not exceed the threshold. It does 
not split one single large data set into multiple chunks.  The latter
wouldn't make sense anyway, since the threshold is defined as a number
of records not pages (i.e. skip-to-channel-one).


Peter Hunkeler

Credit Suisse - Information Technology

--
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: IDC3009I Return Code 18,Reason Code 12 for IDCAMS ALTER with

2005-11-29 Thread Hunkeler Peter (KRDO 4)
Please, RTFM before accusing the system to be insecure. ALTER 
changes catalog entries, LISTCAT retrieves information. READPW()
sets (or has set) a password that allows opening the data set in
read-only mode. There are/have been passwords for other levels
of access.


Peter Hunkeler

Credit Suisse - Information Technology

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


Is there a JES3 equivalent to SEGMENT= in JES2?

2005-11-28 Thread Hunkeler Peter (KRDO 4)
In JES2 environments, one can split up SYSOUTs into multiple
junks using the SEGMENT= keyword. Is there an equivalent 
function in a JES3 environment?

Regards
Peter Hunkeler

Credit Suisse - Information Technology

--
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: Is there a JES3 equivalent to SEGMENT= in JES2?

2005-11-28 Thread Hunkeler Peter (KRDO 4)
Thank you both, especially for guessing that I actually meant chunks
not junks :-) 

Peter Hunkeler

Credit Suisse - Information Technology

--
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: MAXCC=2000

2005-11-27 Thread Hunkeler Peter (KRDO 4)
The job step is ending with return code 2000. You'll need to
lookup the meaning of return code in your application doc.

The SE message you see in the log is due to a NOTIFY=NAXYZ
on the job statement. It is simply sending a job termination 
message to user NAXYZ's TSO session and is not related to whether
the job ends normally or in error.

Peter Hunkeler

Credit Suisse - Information Technology

--
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: Introducing delay in a assembler.

2005-11-25 Thread Hunkeler Peter (KRDO 4)
  STIMER WAIT,BINTVL=VACATION   
  
 VACATION DCF'500'   HUNDRETHS OF SECONDS FOR STIMER (5 SECS) 

I prefer longer lasting vacations  ;-)


Peter Hunkeler

Credit Suisse - Information Technology

--
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: Query regarding z/OS FTP

2005-11-21 Thread Hunkeler Peter (KRDO 4)
Once you logged into the ftp server, simply use cd
/your/target/directory to switch into the
UNIX file system.


Peter Hunkeler

Credit Suisse - Information Technology
KRDO 4, Print Processing  Engineering

--
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: Query regarding z/OS FTP

2005-11-21 Thread Hunkeler Peter (KRDO 4)
However, what about using OCOPY? I have not used OCOPY a lot, but I 
don't really have a need to move a file from a HFS to a MVS file, but

I thought that is what OCOPY was created for.

I understood he wanted to ftp from non-z/OS to z/OS and then access the
UNIX file system.
OCOPY won't help in this case. However, if the desire is to copy data
between MVS data sets
and z/OS UNIX files, then OCOPY is of course one options.


Peter Hunkeler

Credit Suisse - Information Technology
KRDO 4, Print Processing  Engineering

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