home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
archives
/
ibm370.zip
/
iktker.upd
< prev
next >
Wrap
Text File
|
1999-02-12
|
46KB
|
642 lines
./ * Update summary:
./ * SC93342 - Use date transmitted with file (CMS only)
./ * SC94074 - NAK bad data packet instead of re-ACKing previous
./ * SC94174 - WHATAMI option for file type
./ * SC94181 - Implement level-1 restart/recovery mode (TSO)
./ * SC94245 - More accurate statistics after server transfers
./ * SC94262 - Leave room for table expansion (TSO)
./ * SC95023 - Fix RESEND for already-sent file, implement APC subcmd.
./ * SC95032 - Allow Recovery into almost-full file system
./ * SC95033 - Update to level 4.3.1
./ * SC95059 - Preserve transmitted time tag for RESENT file
./ * SC95108 - Prevent error-free transfers from halting TAKE files
./ * SC95174 - Implement REGET subcommand
./ * SC95283 - Fix PDS "prefix" (TSO)
./ * SC96122 - Avoid endless double transmission from windowed Kermit
./ * SC96151 - Add system ID to INIT packets
./ * SC96158 - Never skip sending an I-packet while in remote mode
./ * SC96165 - Correct handling of dates in 2000's (TSO)
./ * SC97028 - Clear 'Kermit command error' condition correctly
./ * SC97164 - Update to level 4.3.2
./ * SC99043 - Insist on MOD date for non-ISPF PDS members (TSO): 4.3.3
./ * .....Updates.....
./ * SC93342 - Use date transmitted with file (CMS only)
./ I 01416400 $ 1416500 100 09/01/94 21:20:42
SSYMS , @SC93342
./ D 01416800 09/01/94 21:20:42
./ * SC94074 - NAK bad data packet instead of re-ACKing previous
./ I 01917000 $ 1917200 200 03/15/94 16:25:11
CLI STYPE,AY See if sent a plain ACK @SC94074
BNE *+12 No, resend whatever it was @SC94074
CLI DATLSN,0 "plain" only if no data @SC94074
BE SENDNAK Yes, send a NAK @SC94074
./ R 02579000 $ 2579000 1000 03/15/94 16:25:11
DATL DS F Size of data in packet (S or R) @SC94074
./ I 02617000 $ 2617200 200 03/15/94 16:25:11
DATLSN DS X Data length in last packet sent @SC94074
./ I 08466500 $ 8466600 100 03/15/94 16:25:11
STC 9,DATLSN Copy length of data sent, if any @SC94074
./ * SC94174 - WHATAMI option for file type
./ I 01424200 $ 1424300 100 06/23/94 22:46:07
AUND EQU 95 ASCII underscore @SC94174
./ I 02082200 $ 2082300 100 06/23/94 22:46:07
MVI WHATRU,0 No valid value anymore @SC94174
./ R 02492000 $ 2492000 500 06/24/94 00:00:08
DC AL1(ABL,ABL,ABL,A0),3AL1(AUND),AL1(ABL) @SC94174
./ I 02680000 $ 2680500 500 06/23/94 18:34:18
WHATRU DS X Mode info from other Kermit @SC94174
./ R 02716000 $ 2716000 500 06/24/94 00:00:08
DS AL1(ABL,ABL,ABL,A0),3AL1(AUND),AL1(ABL) @SC94174
./ D 08159500 08160000 06/24/94 01:36:05
./ I 08167500 $ 8167600 100 06/24/94 01:36:05
TM RCAPA,LONGP Test for long packet bit @SC94174
BZ SPARNX No extended packets @SC94174
./ I 08168500 $ 8168510 10 06/23/94 18:26:14
BAL 14,SPARFTCH Get checkpoint flag @SC94174
* UNCHR 4,,SCKPNT Save for later @SC94174
XR 1,1 Clear checkpoint length @SC94174
LA 15,3 @SC94174
SPARCKPL MH 1,XLFCT+2 Shift left @SC94174
BAL 14,SPARFTCH Get next checkpoint length byte @SC94174
UNCHR 4 @SC94174
AR 1,4 @SC94174
BCT 15,SPARCKPL @SC94174
* ST 1,SCKINT @SC94174
BAL 14,SPARFTCH Get WHATAMI @SC94174
UNCHR 4,,WHATRU @SC94174
TM WHATRU,X'20' Valid? @SC94174
BZ SPARWHT No, skip it @SC94174
TM FL2,SRV Acting as server? @SC94174
BZ SPARWHT No, skip it @SC94174
IC 0,FL1 Get my file-type flag @SC94174
SRL 0,1 Shift BINF (4) to 2-bit @SC94174
XR 0,4 Compare (client 2-bit is binary) @SC94174
N 0,F2 Do they match? @SC94174
BZ SPARWHT Yes, all set @SC94174
XI FL1,BINF No, switch my setting @SC94174
MVI TYPFIL,C'T' Also set the subflag @SC94174
TM FL1,BINF @SC94174
BZ SPARWHT @SC94174
MVI TYPFIL,C'B' @SC94174
SPARWHT DS 0H @SC94174
./ R 08219000 $ 8219000 100 06/23/94 18:26:14
MVI 10(9),ABL Window size is blank @SC86295
./ R 08229500 $ 8229500 200 06/23/94 18:26:14
BNH RPARS1 KMAX >= RPSIZ @SC94174
./ R 08230500 $ 8230500 200 06/23/94 18:26:14
SH 5,=H'7' Allow for long header @SC94174
./ D 08231500 06/24/94 00:00:08
./ R 08233500 08234000 $ 8233400 100 06/23/94 18:26:14
MVC 13(4,9),DEFPARM+13 No ckpt support @SC94174
LA 4,X'24' Bits always on in WHATAMI @SC94174
TM FL1,BINF Binary? @SC94174
BZ *+8 @SC94174
LA 4,2(,4) Yes @SC94174
TM FL2,SRV Server mode? @SC94174
BZ *+8 @SC94174
LA 4,1(,4) Yes @SC94174
TOCHR 4,,17(9) @SC94174
LA 0,18 Size of data including WHATAMI @SC94174
./ * SC94181 - Implement level-1 restart/recovery mode (TSO)
./ I 00937500 $ 937600 100 06/29/94 18:55:26
FDBSIZEB DS F File size in bytes @SC94181
./ I 01413600 $ 1413700 100 09/14/94 15:49:04
GBLC &AAARSND,&AUPDATE @SC94181
./ I 01460400 $ 1460500 100 06/28/94 18:25:34
&AAARSND SETC 'RESEND' cmd, m=3 @SC94181
./ I 01475800 $ 1475900 100 09/20/94 21:29:31
&AUPDATE SETC 'UPDATE' kwd->COLLISN @SC94181
./ I 02119000 $ 2119100 100 09/21/94 15:17:19
CLI ERRNUM,ERRTRC Canceled? @SC94181
BNE LDERR2 @SC94181
CLI REASON,STACNDAT Date too early? @SC94181
BER 14 Not an error @SC94181
CLI REASON,STACNDSC Simply a duplicate? @SC94181
BER 14 Not an error @SC94181
LDERR2 DS 0H @SC94181
./ R 02494000 $ 2494000 500 06/28/94 18:25:34
DC X'38' Capabilities I have SCAPA @SC94181
./ R 03033000 $ 3033000 80 06/28/94 18:25:34
KW '&AAARSND',KRMSND,R,MIN=3 @SC94181
SNDKCMD KW '&AAASEND',KRMSND,MIN=3 @SC94181
ORG SNDKCMD+KWCODE @SC94181
DC X'0' Normal send has no disp code @SC94181
ORG , @SC94181
./ R 03034500 $ 3034500 100 10/15/94 18:25:34
XTYKCMD KW '&AAXTYPE',KRMNPS,MIN=2 @SC94181
ORG XTYKCMD+KWCODE @SC94181
DC X'0' Normal send has no disp code @SC94181
ORG , @SC94181
./ R 03081000 $ 3081000 200 06/28/94 18:25:34
KRMSND MVC USNCOD,KWCODE(1) Save send command abbrev @SC94181
PTEXT '&SYSFSPC - ',AREG=1,LREG=0 @SC94181
./ R 03094000 03095000 $ 3094000 90 09/21/94 16:45:10
KRMSNDBG SR 1,1 @SC94181
ICM 1,1,USNCOD Get send command code @SC94181
BZ USNSND3 Fine, no special disposition @SC94181
TM SCAPA,8 Can we do attributes? @SC94181
BZ USNSNDX No, give up right away @SC94181
TM ATFL2,ATFDSP Disposition attribute enabled? @SC94181
BZ USNSNDX No, can't do it @SC94181
TM ATFLG,ATFTYP Type attribute enabled? @SC94181
BZ USNSNDX Can't do it @SC94181
TM ATFL4,ATFEND End-of-atts attribute enabled? @SC94181
BZ USNSNDX Can't do it @SC94181
TM FL1,BINF Are we binary? @SC94181
BZ USNSNDX1 No, can't do it @SC94181
USNSND3 IC 1,ETOAD(1) Use ASCII version of Disp code @SC94181
XC LEN,LEN Clear length of Disp options @SC94181
KCALL SEND @SC94181
KRMXFZ BAL 14,LDERR Get massaged error code @SC94181
./ I 03096000 $ 3096080 80 06/28/94 18:25:34
B USNSNDZ @SC94181
USNSNDX WTEXT '&ATTRIBU &AZDISAB' @SC94181
B USNSNDZ @SC94181
USNSNDX1 WTEXT '&CANNOT.&AAARSND ->&AAAABIN' @SC94181
USNSNDZ DS 0H @SC94181
./ I 03105000 $ 3105200 200 06/28/94 18:25:34
MVI USNCOD,0 No special disposition @SC94181
./ I 03130500 $ 3130700 200 06/28/94 18:25:34
USNCOD DS X Temporary flags for SEND/RESEND @SC94181
./ I 03192000 $ 3192200 200 09/20/94 21:29:31
KW '&AUPDATE',SETCLSN,U @SC94181
./ R 03754000 $ 3754000 100 09/20/94 21:29:31
STACNTB DC C'-&ATTUNK.-&ATTLEN.-&ATTTYP' @SC94181
STACNDAT EQU (*-STACNTB)/8 Date reason code @SC94181
DC C'-&ATTDAT.' @SC94181
./ R 03756500 $ 3756500 100 09/20/94 16:08:33
DC (31-(*-STACNTB)/8)CL8'-??' @SC94181
STACNDSC EQU (*-STACNTB)/8 One extra reason (not in A-packet)@SC94181
DC C'-&COLLIS.' @SC94181
./ I 06180500 $ 6180600 100 06/29/94 18:53:13
ST 7,FDBSIZEB Save @SC94181
./ I 07683000 $ 7683100 100 06/28/94 18:25:34
CLI SNDDSP,AR Trying to recover? @SC94181
BNE SNDFIL No, fine @SC94181
TM RCAPA,X'10' Yes, can the other Kermit do it? @SC94181
BZ SNDCMDER No. Give up @SC94181
./ I 07685000 $ 7685200 200 06/28/94 18:25:34
XC SNDBLEN,SNDBLEN Clear "recovery" length @SC94181
./ I 07757500 $ 7757530 30 06/28/94 18:25:34
CLI SNDDSP,AR Trying to recover? @SC94181
BNE SNDPKLX No @SC94181
CLC DATL,F3 Any byte length? @SC94181
BL SNDPKLX No @SC94181
CLI 0(1),A1 Is this it? @SC94181
BNE SNDPKLX No @SC94181
UNCHR 7,1(1) Yes, get length of number string @SC94181
LA 6,2(,1) Ptr to numeric string @SC94181
LR 14,7 @SC94181
BCTR 14,0 @SC94181
EX 14,SNDTRAT @SC94181
BAL 14,GETNUM Get file length @SC94181
LA 0,0 Default is to send all @SC94181
ST 0,SNDBLEN Save expected size @SC94181
./ I 07760500 $ 7760700 200 06/28/94 18:25:34
SNDTRAT TR 0(,6),ATOED Convert to EBCDIC for decoding @SC94181
./ I 07765000 $ 7765050 50 06/28/94 18:25:34
L 5,SNDBLEN Length to skip @SC94181
SNDRECL LTR 5,5 Any more? @SC94181
BNP SNDENC No, start sending @SC94181
KCALL INBUF,E=SNDEND @SC94181
S 5,RBUFL Data length in RBUF @SC94181
BNM SNDRECL Keep skipping @SC94181
A 5,RBUFL Must use part of this buffer @SC94181
ST 5,RBUFP Index of next char in RBUF @SC94181
./ I 07797000 $ 7797200 200 12/19/94 15:58:18
SNDEND MVC DATL,F0 End while restarting: do nothing @SC94181
./ I 07809000 $ 7809060 60 09/21/94 15:58:18
CLI ERRNUM,ERRTRC Cancelled? @SC94181
BNE SNDBRKA No, it's a solid error @SC94181
CLI REASON,STACNDAT Refused as duplicate (date)? @SC94181
BE SNDBRKP Yes, not really an error @SC94181
CLI REASON,STACNDSC Refused as duplicate? @SC94181
BE SNDBRKP Yes, not really an error @SC94181
SNDBRKA DS 0H @SC94181
./ I 07833000 $ 7833200 200 06/28/94 18:25:34
SNDBLEN DS F Length to skip in resending file @SC94181
./ R 07864500 07875500 $ 7865500 500 06/29/94 20:43:04
RECOVR XC FILFLGS,FL3 Set flag for DISP @SC94181
NI FILFLGS,255-APPN-SVATT @SC90033
XC FILFLGS,FL3 @SC86295
TM RCAPA,X'18' Attributes, including End? @SC94181
BNO RECCOL No, do collision test now @SC94181
TM SCAPA,X'08' Am I expecting A-packets? @SC94181
BNO RECCOL No, do collision test now @SC94181
TM ATFL4,ATFEND Will I honor the End attribute? @SC94181
BO RECOPN Yes, defer collision test @SC94181
RECCOL KCALL TCOLL,E=(RECOPN,Z) @SC94181
./ R 07879000 07883500 $ 7879000 1000 06/29/94 20:43:04
RECOPN DS 0H @SC94181
./ I 07892500 $ 7892560 60 06/30/94 14:49:18
MVI RECDISP,0 No disposition specified @SC94181
TM RCAPA,X'18' Does he promise End attribute? @SC94181
BNO RECDAT No, let it ride @SC94181
TM SCAPA,X'08' Am I expecting A-packets @SC94181
BNO RECDAT No, but I'll accept them @SC94181
TM ATFL4,ATFEND Will I honor the End attribute? @SC94181
BNO RECDAT No, let it ride @SC94181
LA 8,RECAST Ok, accept only A-packets for now @SC94181
./ I 07896500 $ 7896600 100 06/29/94 21:14:51
L 2,FSIZE Default lrecl @SC94181
ICM 0,15,FILPTR Already opened? @SC94181
BNZ RECDATO Yes, fine @SC94181
./ I 07899500 $ 7899700 200 06/29/94 21:14:51
RECDATO DS 0H @SC94181
./ R 07908000 $ 7908000 100 06/30/94 14:49:18
RECDAK XC DATL,DATL Set length to zero @SC94181
RECDAKL BAL 2,SENDACKL Send an ack @SC94181
./ R 07927000 $ 7927000 200 09/20/94 16:42:43
BNZ RECADTX Invalid, stop now @SC94181
./ R 07930500 $ 7930500 200 09/20/94 16:42:43
BH RECADTX Too big, stop now @SC94181
./ R 07932000 $ 7932000 200 09/20/94 16:42:43
BNE RECADTX No, illegal @SC94181
./ R 07940500 $ 7940500 200 09/20/94 16:42:43
BNE RECADTX No, error @SC94181
./ I 07942500 $ 7942600 100 09/20/94 16:42:43
RECADTX MVI ERRNUM,ERRIPS Bad syntax @SC94181
B RECABR Quit @SC94181
./ I 07945000 $ 7945200 200 06/30/94 16:32:21
XC DATL,DATL Normally no data on ACK @SC94181
./ R 07946000 $ 7946000 200 06/30/94 16:32:21
BNL RECDAKL No, done @SC94181
./ R 07947000 $ 7947000 200 06/30/94 16:32:21
BO RECDAKL Yes, ignore further attributes @SC94181
./ I 07951000 $ 7951100 100 06/30/94 14:49:18
CLC FILPTR,F0 End attribute already seen? @SC94181
BNE RECRJC Yes, this is forbidden @SC94181
./ R 07959000 $ 7959000 200 06/28/94 18:25:34
RECDSPCD DC AL1(11),AL3(RECADI) + - Disposition @SC94181
./ R 07994500 $ 7994500 200 06/28/94 18:25:34
RECADI MVC RECDISP,0(6) Save disp code @SC94181
BAL 2,RECALKP @SC94181
./ I 07996000 $ 7996300 300 06/28/94 18:25:34
DC AL1(AR),AL3(RECCKL) Recover @SC94181
./ R 08026000 08026500 $ 8025800 20 06/30/94 14:49:18
RECAZZ DS 0H End of attributes, must be last @SC94181
CLI RECDISP,AR Recover? @SC94181
BNE RECAZ2 No, fine @SC94181
TM FL1,BINF Yes, make sure binary @SC94181
BZ RECRJD Oops, can't do it @SC94181
BAL 14,RDWSET Decide which kind of binary @SC94181
OI FILFLGS,APPN Yes, must append @SC94181
RECAZ2 TM RCAPA,X'18' Did other Kermit promise End att? @SC94181
BNO RECAZ3 No, already tested collision @SC94181
KCALL TCOLL,E=RECRJC Do it now @SC94181
RECAZ3 XC DATL,DATL @SC94181
CLI RECDISP,AR Recover? @SC94181
BNE RECAZ4 No, fine @SC94181
SR 4,4 Ok, get exact length of file @SC94181
OPENF T,FILNAM,E=RECBLCZ Does it exist? @SC94181
CLI TYPFIL,C'B' Ordinary binary? @SC94181
BE RECBLCA Yes, try shortcut @SC94181
MVC FDBSIZEB-FDBD(4,1),F0 No, can't trust n*lrecl @SC94181
RECBLCA ICM 4,15,FDBSIZEB-FDBD(1) Yes, get length, if poss. @SC94181
BNZ RECBLCZ Ok, got it @SC94181
OPENF I,FILNAM,FILFDB,FILPTR,E=RECBLCZ @SC94181
RECBLCL KCALL INBUF,E=RECBLCZ @SC94181
A 4,RBUFL (Doing it the hard way) @SC94181
B RECBLCL @SC94181
RECBLCZ CLOSF FILPTR Done, close file for input @SC94181
NI FL1,255-EOF Clear eof condition @SC94181
ST 4,RECBLEN Got total length @SC94181
LTR 4,4 Any? @SC94181
BZ RECAZ4 No, just process normally @SC94181
LA 0,512 @SC94181
ALR 0,4 Round to nearest K @SC94181
SRL 0,10 @SC94181
L 6,FILFSIZ Size of promised file @SC94181
SLR 6,0 Amount to be sent and appended @SC94181
BC 3,*+6 Ok @SC94181
SLR 6,6 All received already! @SC94181
ST 6,FILFSIZ Corrected size for space check @SC94181
L 6,ASDATA Output buffer @SC94181
MVI 0(6),A1 Byte-length attribute code @SC94181
LA 15,2(,6) @SC94181
BAL 2,EDDEC Format it (clobbers R8!) @SC94181
TR 2(9,6),ETOAD Convert plenty to ASCII @SC94181
SR 15,6 @SC94181
ST 15,DATL Length of data field @SC94181
LA 4,ABL-2(,15) Number of digits (printably) @SC94181
STC 4,1(,6) @SC94181
RECAZ4 DS 0H @SC94181
KCALL ACCTNM,FILNAM Insert revised name, if necessary @SC94181
OPENF O,FILNAM,FILFDB,FILPTR,E=RECRJA @SC94181
USING FDBD,1 @SC94181
MVC FSIZE,FABLRTR Copy LRECL from effective length @SC94181
MVC FRECF,FDBRCF Save info @SC94181
DROP 1 @SC94181
ICM 0,15,FILFSIZ Expected size, if known @SC94181
BZ RECAZ5 Not known, proceed @SC94181
OPENF S,FILNAM,FILFDB,FILPTR,E=RECRJLL Check disk spac@SC94181
XC FILFSIZ,FILFSIZ No need to repeat this test @SC94181
RECAZ5 DS 0H @SC94181
LA 8,RECANST Now accept D-packets @SC94181
./ I 08027500 $ 8027550 50 06/28/94 18:25:34
RECRJD MVC REASON,RECDSPCD Because of disposition @SC94181
B RECRJC @SC94181
RECRJLL MVC REASON,RECLNCOD Because of length @SC94181
B RECRJC @SC94181
RECRJA MVI REASON,6 Because of "area" (couldn't open) @SC94181
B RECRJC @SC94181
./ I 08034500 $ 8034700 200 06/30/94 17:17:14
LA 8,RECANST Accept A, D, or Z now @SC94181
./ R 08036000 08036500 $ 8036000 200 06/30/94 16:32:21
B RECDAKL Acknowledge @SC94181
./ I 08041500 $ 8041700 200 10/28/94 22:42:46
L 5,FILPTR @SC94181
./ I 08042000 $ 8042100 100 10/28/94 22:42:46
LTR 5,5 Was the file actually open? @SC94181
BZ RECKEP No, don't worry about it @SC94181
./ R 08058500 $ 8058500 70 09/21/94 15:17:19
BZ RECBRKA No, that's fine @SC94181
CLI REASON,STACNDAT Refused as duplicate (date)? @SC94181
BE RECBRKA Yes, not really an error @SC94181
CLI REASON,STACNDSC Refused as duplicate? @SC94181
BNE RECERP No, send an error packet @SC94181
RECBRKA DS 0H @SC94181
./ R 08079000 $ 8079000 200 09/21/94 01:21:04
* DC XL1'FF',AL3(RECABR) Stop (same as unknown) @SC94181
./ D 08081500 09/21/94 01:21:04
./ R 08084000 $ 8084000 200 06/30/94 14:49:18
DC AL1(00),AL3(RECABR) Error return @SC94181
RECAST DC AL1(AA),AL3(RECCKA) Micro sent A-packet @SC94181
./ I 08089500 $ 8089600 100 06/28/94 18:25:34
RECBLEN DS F Length of recovery file @SC94181
RECDISP DS X Requested disposition @SC94181
./ I 08113500 $ 8113540 40 10/28/94 22:42:46
*
* Copy file name from (R1) to current file table entry, if any @SC94181
ACCTNM ENTER ALT @SC94181
L 3,NSENT Number of current file @SC94181
C 3,NSENTAC Off the end? @SC94181
BNE RTRN0 Yes, quit now @SC94181
BCTR 3,0 Ok, get offset @SC94181
MH 3,FLFID1+2 Times length of items @SC94181
A 3,TSENT Loc in sent-table @SC94181
MVC ACTFID,0(1) Save filespec @SC94181
B RTRN0 @SC94181
./ R 08985500 $ 8986000 500 06/29/94 20:43:04
TITLE 'TCOLL Routine - test for collision (RECEIV)' @SC94181
* Exit: R15=0 if ok (use name in FILNAM), else reject @SC94181
TCOLL ENTER , @SC94181
TM FILFLGS,APPN Appending to old file? @SC94181
BO RTRN0 Yes, just do it @SC94181
CLI CLSNFL,C'U' @SC94181
BE *+12 Update option overrides "warn" @SC94181
TM FL1,REN @SC94181
BZ RTRN0 No, just do it @SC94181
LA 0,FFNEW @SC86295
KCALL FSPEC,FILNAM,E=RTRN1 Check collisions @SC94181
TM FL4,NMCHNG @SC90033
BZ RTRN0 @SC90033
CLI CLSNFL,C'B' @SC90033
BNE TCLTSTD @SC90033
LA 2,FILNAM Must back up original file @SC90033
LA 0,15 Rename it to unique new name @SC90033
KCALL DISKIO,XFILE,E=RTRN1 Give up if rename fails @SC90264
CLI TRMLIN,C' ' Alt. line? @SC90033
BE TCLBZ No, be quiet @SC90033
INITSTR '&BACKDUP',CMD,REG=7 @SC92300
LA 1,FILNAM @SC90033
BAL 2,STAFSP Format backup name and show it @SC90033
TCLBZ MVC FILNAM,XFILE Now, just use intended name @SC90033
TCLMSG DS 0H @SC90033
CLI TRMLIN,C' ' Alt. line? @SC87300
BE RTRN0 No, be quiet @SC94181
INITSTR '&RECVDAS',CMD,REG=7 Yes, display message @SC92300
LA 1,FILNAM @SC87300
BAL 2,STAFSP Format name and show it @SC87300
B RTRN0 @SC94181
TCLTSTD CLI CLSNFL,C'D' @SC90033
BNE TCLTSTU See if UPDATE @SC94181
MVI REASON,STACNDSC Reason is collision (DISCARD) @SC94181
B RTRN1 @SC94181
TCLTSTU CLI CLSNFL,C'U' @SC94181
BNE TCLMSG Other case is just "rename" @SC94181
CLI FDATE,0 @SC94181
BE TCLOKU @SC94181
OPENF T,XFILE,E=TCLOKU Look at existing file @SC94181
USING FDBD,1 @SC94181
CLI FDBDATE,0 Is there a time tag? @SC94181
BE TCLOKU No, skip this test @SC94181
CLC FDATE,FDBDATE Is the incoming file newer? @SC94181
BH TCLOKU Yes, overwrite the file @SC94181
DROP 1 @SC94181
MVI REASON,STACNDAT No, reason is date @SC94181
B RTRN1 @SC94181
TCLOKU MVC FILNAM,XFILE Restore original name @SC94181
B RTRN0 @SC94181
LOCALS , @SC94181
EXIT , @SC94181
END KERMIT
./ * SC94245 - More accurate statistics after server transfers
./ R 02084000 $ 2084000 500 05/29/92 ->4.3<-
LR 15,7 Get time supplied as "end" @SC94245
./ I 07824500 $ 7824600 100 05/29/92 ->4.3<-
KCALL SUPFNC,10 Get time of completion @SC94245
LR 7,15 Save for statistics @SC94245
./ I 08060500 $ 8060700 200 05/29/92 ->4.3<-
KCALL SUPFNC,10 Say completion time is now @SC94245
ST 15,RECTIMZ Save @SC94245
./ R 08070000 $ 8070000 200 05/29/92 ->4.3<-
RECERP KCALL SUPFNC,10 Say completion time is now @SC94245
ST 15,RECTIMZ Save @SC94245
KCALL ERPACK Send error packet @SC94245
./ I 08070500 $ 8070700 200 05/29/92 ->4.3<-
L 7,RECTIMZ @SC94245
./ I 08089500 $ 8089550 50 05/29/92 ->4.3<-
RECTIMZ DS F Ending time of transfer @SC94245
./ * SC94262 - Leave room for table expansion (TSO)
./ R 01415400 $ 1415400 200 09/30/93 14:45:03
&KDATE SETC '94/09/20' @SC94262
./ R 01513000 $ 1513000 100 09/20/94 17:56:54
L 3,PTATOED @SC94262
MVC ATOE,0(3) @SC94262
./ R 01515000 $ 1515000 1000 09/20/94 17:56:54
MVC TATOE,0(3) @SC94262
./ R 01893000 $ 1893000 300 09/20/94 17:56:54
L 4,PTATOED @SC94262
TR 0(LEMSG,1),0(4) Convert to EBCDIC @SC94262
./ I 02453000 $ 2453200 200 09/20/94 17:56:54
PTATOED DC A(ATOED) Address of ASCII-to-EBCDIC def. @SC94262
./ I 02519000 $ 2519500 500 09/20/94 17:56:54
DEFTBLS CSECT @SC94262
./ I 02536000 $ 2536500 500 09/20/94 17:56:54
COMMON CSECT @SC94262
./ R 03354000 $ 3354000 200 09/20/94 17:56:54
SETTAT2 L 2,PTATOED Address of original @SC94262
./ R 03635000 $ 3635000 100 09/20/94 17:56:54
L 8,PTATOED @SC94262
TR TMP,0(8) Convert to EBCDIC @SC94262
./ R 03840000 $ 3840000 200 09/20/94 17:56:54
GIVA1 L 0,PTATOED @SC94262
./ I 05050000 $ 5050200 200 09/20/94 20:32:10
L 14,PTATOED @SC94262
./ R 05052000 $ 5052000 200 09/20/94 20:32:10
FSPTRAE TR 0(,5),0(14) @SC94262
./ R 07610500 $ 7610500 200 09/20/94 17:56:54
L 14,PTATOED Use default if "transparent" @SC94262
./ R 07690000 $ 7690000 100 09/20/94 17:56:54
L 2,PTATOED @SC94262
TR 0(250,15),0(2) Back to EBCDIC @SC94262
./ I 07757800 $ 7757810 10 09/20/94 17:56:54
L 4,PTATOED @SC94262
./ R 07760700 $ 7760700 100 09/20/94 17:56:54
SNDTRAT TR 0(,6),0(4) Convert to EBCDIC for decoding @SC94262
./ R 07859000 $ 7859000 100 09/20/94 17:56:54
L 14,PTATOED @SC94262
TR 0(256,1),0(14) Convert to std EBCDIC @SC94262
./ I 07925500 $ 7925700 200 09/20/94 17:56:54
L 4,PTATOED @SC94262
./ R 07973000 $ 7973000 100 09/20/94 17:56:54
L 14,PTATOED @SC94262
IC 4,0(4,14) Ok, set file type as well @SC94262
./ I 07978500 $ 7978700 200 09/20/94 17:56:54
L 4,PTATOED @SC94262
./ I 07984000 $ 7984200 200 09/20/94 17:56:54
L 4,PTATOED @SC94262
./ R 07987500 $ 7987500 200 09/20/94 17:56:54
RECTRAT TR 0(,6),0(4) Convert to EBCDIC for decoding @SC94262
./ R 08013000 $ 8013000 100 09/20/94 17:56:54
L 1,PTATOED @SC94262
TR 0(94,4),0(1) Convert to EBCDIC @SC94262
./ R 08397000 $ 8397000 100 09/20/94 17:56:54
L 4,PTATOED @SC94262
TR 0(5,6),0(4) No, must be 5-byte ASCII prefix @SC94262
./ R 08584000 $ 8584000 100 09/20/94 17:56:54
L 4,PTATOED @SC94262
TR STOPBUF,0(4) @SC94262
./ * SC95023 - Fix RESEND for already-sent file, implement APC subcmd.
./ R 01415400 $ 1415400 200 01/23/95 11:12:19
&KDATE SETC '95/01/23' @SC95023
./ I 01422200 $ 1422300 100 01/23/95 11:12:19
AESC EQU 27 ASCII ESC @SC95023
./ I 01424000 $ 1424100 100 01/23/95 11:12:19
ABSL EQU 92 ASCII backslash @SC95023
./ I 03028500 $ 3028700 200 01/23/95 11:12:19
KW 'APC',USNAPC,MIN=3 @SC95023
./ I 03103000 $ 3103030 30 01/23/95 11:12:19
*
USNAPC L 5,ADR Pointer to rest of line @SC95023
ICM 4,15,LEN Remaining data length @SC95023
BNP KRMXPEH Go if nothing specified @SC95023
L 3,RBUF @SC95023
ICM 0,2,ATOE+AESC Get special wrapper for APC @SC95023
ICM 0,1,ATOE+AUND Must use current EBCDIC codes @SC95023
STCM 0,3,0(3) @SC95023
MVC 2(256,3),0(5) Copy to disk read buffer @SC95023
AR 4,3 Get end @SC95023
ICM 0,1,ATOE+ABSL Closing wrapper @SC95023
STCM 0,3,2(4) @SC95023
LA 4,4(4) Account for wrapper @SC95023
B USNAPC1 @SC95023
./ D 03105200 01/23/95 11:12:19
./ I 03106500 $ 3106700 200 01/23/95 11:12:19
USNAPC1 MVI USNCOD,0 No special disposition @SC95023
./ R 07765100 $ 7765100 50 01/23/95 19:14:24
LTR 5,5 Any? @SC95023
./ R 07765200 $ 7765200 50 01/23/95 19:14:24
SNDRECL KCALL INBUF,E=SNDEND @SC95023
./ R 07765300 $ 7765300 50 01/23/95 19:14:24
BH SNDRECL Keep skipping @SC95023
./ * SC95032 - Allow Recovery into almost-full file system
./ R 01415400 $ 1415400 200 02/01/95 12:29:03
&KDATE SETC '95/02/01' @SC95032
./ I 07986000 $ 7986080 80 02/01/95 16:54:31
TM RCAPA,X'18' Attributes, including End? @SC95032
BNO RECAL3 No, do space test now @SC95032
TM ATFL4,ATFEND Will I honor the End attribute? @SC95032
BO RECCKL Yes, defer space test @SC95032
RECAL3 DS 0H @SC95032
./ * SC95033 - Update to level 4.3.1
./ R 01415400 01415600 $ 1415400 200 02/02/95 12:29:03
&KDATE SETC '95/02/02' @SC95033
&KEDIT SETC '1' @SC95033
./ * SC95059 - Preserve transmitted time tag for RESENT file
./ I 08026040 $ 8026050 10 02/28/95 19:49:43
MVC RECBDAT,FDATE Save date for output file @SC95059
./ I 08026280 $ 8026290 10 02/28/95 19:49:43
MVC FDATE,RECBDAT Restore date for output file @SC95059
./ I 08089600 $ 8089650 50 02/28/95 19:49:43
RECBDAT DS XL7 Saved date for output file @SC95059
./ * SC95108 - Prevent error-free transfers from halting TAKE files
./ I 02116000 $ 2116500 500 04/18/95 18:47:43
* Set CC according to R15. @SC95108
./ R 02120000 $ 2120490 490 04/18/95 18:47:43
ICM 15,1,ERRNUM Return status code @SC95108
./ * SC95174 - Implement REGET subcommand
./ R 01413700 $ 1413700 40 06/23/95 21:21:34
GBLC &AAARSND,&AUPDATE,&AAARGET @SC95174
./ I 01460400 $ 1460450 50 06/23/95 21:21:34
&AAARGET SETC 'REGET' cmd, m=3 @SC95174
./ R 03030500 $ 3030500 200 06/23/95 21:13:35
KW '&AAAAGET',KRMGET,R @SC95174
./ I 03032000 $ 3032200 200 06/23/95 21:13:35
KW '&AAARGET',KRMGET,J,MIN=3 @SC95174
./ R 03034700 $ 3034700 40 06/23/95 21:13:35
DC X'0' Normal type has no disp code @SC95174
./ R 03052500 $ 3052500 100 06/23/95 21:13:35
KRMGET MVC USNCOD,KWCODE(1) Save send command abbrev @SC95174
PTEXT '&FORFSPC - ',AREG=1,LREG=0 @SC95174
./ R 03065000 $ 3065000 100 06/23/95 21:13:35
MVC STYPE,USNCOD Type = receive initiate (R/J) @SC95174
TR STYPE,ETOAD @SC95174
./ I 07508500 $ 7508700 200 06/23/95 21:13:35
DC AL1(AJ),AL3(SRVSND) Micro wants to get a file @SC95174
./ R 07530500 $ 7530500 100 06/23/95 21:13:35
SR 1,1 Normal send is code 0 @SC95174
CLI RTYPE,AJ Is it a REGET? @SC95174
BNE *+8 @SC95174
LA 1,AR Yes, use the RESEND code @SC95174
KCALL SEND @SC95174
./ * SC95283 - Fix PDS "prefix" (TSO)
./ I 05085000 $ 5085100 100 10/10/95 15:37:19
LA 5,FSPTAB Use table for normal DSNAMEs @SC95283
./ * SC96122 - Avoid endless double transmission from windowed Kermit
./ R 01917400 01917800 $ 1917400 100 05/02/96 20:09:53
BNE SENDRTA No, resend whatever it was @SC96122
CLI DATLSN,0 "plain" only if no data @SC96122
BNE SENDRTA No, resend whatever it was @SC96122
CLC RSN,SSN Yes, did we rereceive the prev? @SC96122
BNE SENDNAK No, must be bad packet, send NAK @SC96122
SENDRTA DS 0H @SC96122
./ I 02619000 $ 2619100 100 05/02/96 20:09:53
SSN DS X Last sent pkt number @SC96122
./ I 08473000 $ 8473200 200 05/02/96 20:09:53
MVC SSN,SEQ Save an extra copy @SC96122
./ * SC96151 - Add system ID to INIT packets
./ R 08234300 $ 8234250 50 05/31/96 22:26:14
MVC 18(LSYSATR-1,9),SYSATR+1 Copy system ID @SC96151
LA 0,18+LSYSATR-1 Size of data including ID @SC96151
./ * SC96158 - Never skip sending an I-packet while in remote mode
./ I 01934000 $ 1934300 300 06/06/96 23:14:40
CLI TRMLIN,C' ' Alt. line? @SC96158
BE IPKGO No, send I-packet regardless @SC96158
./ I 01936000 $ 1936500 500 06/06/96 23:14:40
IPKGO DS 0H @SC96158
./ * SC96165 - Correct handling of dates in 2000's (TSO)
./ R 06150500 $ 6150500 200 06/13/96 15:55:21
CVB 6,TMPDW Get 0YYYDDD in binary @SC96165
./ D 06155000 06/13/96 15:55:21
./ I 06165500 $ 6165700 200 06/13/96 15:55:21
LA 7,1900(,7) Convert to calendar @SC96165
./ R 06166500 $ 6166500 200 06/13/96 15:55:21
MVO FDBDATE(3),TMPDW Copy year @SC96165
./ D 06177000 06178500 06/13/96 15:55:21
./ * SC97028 - Clear 'Kermit command error' condition correctly
./ I 02279000 $ 2279500 500 01/28/97 20:49:24
LUPWRT WTEXT (3),(4) @SC97028
./ R 02288000 $ 2288000 500 01/28/97 20:49:24
WTEXT (3),(4) @SC97028
./ * SC97164 - Update to level 4.3.2
./ R 01415400 01415600 $ 1415400 200 06/13/97 12:29:03
&KDATE SETC '97/06/13' @SC97164
&KEDIT SETC '2' @SC97164
./ * SC99043 - Insist on MOD date for non-ISPF PDS members (TSO): 4.3.3
./ R 01415400 01415600 $ 1415400 200 02/12/99 13:09:20
&KDATE SETC '99/02/12' @SC99043
&KEDIT SETC '3' @SC99043
./ D 06155500 02/12/99 13:09:20