Re: GETMAIN LOC=32

2018-05-09 Thread Webster, Chris
I have seen where the high half of R15 is not zero after a getmain with the low half (the return code) zero (this was several years ago and I have not checked to see if it still happens). The following code (using lr) has potential issues Getmain ... Lr 15,1 St 3,0(,15) <- may not work ver

Re: Another elementary Assembler question

2017-07-03 Thread Webster, Chris
An alternative to looking up the cde. Entry Alias1 Alias1 J Main r15 points here for alias1 Entry Alias2 Alias2 J Main r15 points here for alias2 Entry MAIN Main DS 0AD r15 points here for main Larl 12,Main (or data area) set base Using main,12 Larl 0,alias1 check for alias1 Cr15,0 Je

Re: How to Remove trailing space in SFTP Transfer

2017-08-25 Thread Webster, Chris
Sort can remove the trailing spaces. SORT FIELDS=COPY OUTFIL FNAMES=OUT,FTOV,VLTRIM=X'40',OUTREC=(1,120) Adjust the lrecl as meeded. This is from a job converting binder output to VB. ...chris. -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU]

Re: ATTACH EXTR=exit and saving registers (save _all_ registers?)

2017-08-29 Thread Webster, Chris
Using BAKR on entry frees up the provided save area for other uses. ...chris. -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Tom Marchant Sent: August-29-17 1:29 PM To: IBM-MAIN@LISTSERV.UA.EDU Subject: Re: ATTACH EXTR=exit and savin

Re: Knowledge Center bugs getting creative

2017-09-20 Thread Webster, Chris
I have seen the spinning TOC as well. Happened last month. I will take a video if it happens again. ...chris. -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Susan Shumway Sent: September-20-17 6:45 AM To: IBM-MAIN@LISTSERV.UA.EDU

Re: SYSLOG / OPERLOG displaying date.

2018-06-07 Thread Webster, Chris
In ISPF if you open the calendar in the status area and (for my setup) double click on the 'Day of year' a pop-up allows you to get any ddd/ converted. Standard Date - Enter the day and year below:

Re: SDSF DA display in z/OS 2.3

2018-06-12 Thread Webster, Chris
SDSF primary command 'search ffps' brings up 7 hits. It gets past poor usability but does not help when you aren't sure what you are looking for (ffps not exactly the first thing that comes to mind for this). ...chris. -Original Message- From: IBM Mainframe Discussion List On Behalf O

Re: Convert a Parm into a control card

2016-02-02 Thread Webster, Chris
The space problem can be overcome at some cost (okay a big cost in readability). This solves the OP problem but requires two steps due to the parm length limits. I did not try it on 1.12 but assume it should work. //CSWT JOB ,CLASS=A,MSGCLASS=X // SET

Re: AW: Re: You thought IEFBR14 was bad? Try GNU's /bin/true code

2016-02-12 Thread Webster, Chris
In the case of iefbr14, the branch instruction could have been BCR 8,14 The condition code was set by the preceding instruction. ;-) Some might find it confusing. ...chris. -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Martin Pa

Re: Some confusion about SVC99, DALRTDDN and existing allocations.

2016-08-05 Thread Webster, Chris
Dave, You may need to ask for a new allocation. Reuse rules are tangled and do not always work as expected - don't remember all the details off hand but the doc does provide some info. s99rbptr->s99flg11 |= S99NOCNV; Not assembler but I think you understand it. :-) Not sure I would use relea

Re: Interpreting an S202-0000

2016-09-28 Thread Webster, Chris
Yes you are interpreting it correctly. It is reported on the POST. During POST processing, the RB pointer is used to identify what RB/TCB issued the WAIT. It can be a storage overlay or the POSTer is not pointing at an ECB at all but some other piece of storage with the 'wait' bit turned on.

Re: Interpreting an S202-0000

2016-09-28 Thread Webster, Chris
Abend S202 and SVC 1 are out of synch. Do you have a timer exit doing a post? It would run under the same TCB but a different RB and if LE does not know about it, it may be ignored. If the customer (or you) can reproduce, set a SLIP to get a 'real' dump. Is there a trace table in the LE dump

Re: Anyone know how to copy a PDS directory as a flat file?

2012-09-06 Thread Webster, Chris
This should work for you. //GENEREXEC PGM=IEBGENER //SYSPRINT DD SYSOUT=* //SYSUT1 DD DSN=MY.CLIST,DISP=SHR,RECFM=FB,DSORG=PS, // LRECL=256,BLKSIZE=256 //SYSUT2 DD DISP=SHR,DSN=MY.CLIST.DIR,

Re: need pub to help me with a REXX exec

2014-04-04 Thread Webster, Chris
Don't forget you can turn on/off tracing using the tso executil command. Saves updating the exec. For example, in ISPF, enter: TSO executil ts Invoke the exec and it will enter in trace Enter trace commands to alter what is traced After the exec is done, enter trace end to stop other execs fr

Re: CMS Editors was TSO Test does not support 65-bit debugging?

2014-07-07 Thread Webster, Chris
I remember using full screen editors named EDGAR and FUSE prior to XEDIT. Don't remember which came first or their official IBM status. ...chris. -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@LISTSERV.UA.EDU] On Behalf Of Ed Gould Sent: Sunday, July 06, 2014 4

Re: FTP hangs?

2014-11-25 Thread Webster, Chris
Maybe you could try to use the FTP PASV command. If you are using perl for the FTP, try set (export) FTP_PASSIVE=1 to see it if helps. From experience, corporate managed firewalls can get in the way. I have been running in passive mode for a while and do not see any performance problems (runn

Re: More SA SLIP traps

2012-12-04 Thread Webster, Chris
Is the application IPv6 aware? Is it possibly copying IPv6 hostent values (longer) to IPv4 sockaddr structures (shorter)? There is supposed to be a way for IPv4 clients to use IPv6 but I have not reviewed the manuals for awhile. ...chris. > -Original Message- > From: IBM Mainframe Dis

Re: generate file from Program PARM

2013-03-26 Thread Webster, Chris
Another option: // EXEC PGM=BPXBATCH, // PARM='SH echo *\\n name &SYSUID\(R\)' //STDOUT DD SYSOUT=* <= change to use a dataset //STDERR DD SYSOUT=* ...chris. -Original Message- From: IBM Mainframe Discussion List [mai

Re: Primary allocation of a dataset

2015-05-06 Thread Webster, Chris
As was suggested before the extension contains the allocation amount 'type'. DS1SCXTF contains the indicators for mega/kilo/bytes etc. Old school (okay, the usual) allocation request types are in DS1SCAL1. Is this what you are asking? ...chris. -Original Message- From: IBM Mainframe

C extern was RE: Resolving EXTRN References

2015-08-18 Thread Webster, Chris
There is still supposed to be a definition in C that does NOT have extern specified. It is quite common to just use extern declarations and most compilers account for this. Quoting IBM: An extern declaration makes the described variable usable by the succeeding part of the current source file.