High Level Assembler - SVC-codes overview

The table below lists all documented SVC-codes for IBM's MVS & OS/390 & z/OS operating systems. The entries for the other tables have not yet been filled in.

Please note that VM uses no SVCs, since these are reserved for use by the guest operating systems. To request VM system functions Diagnose instructions are used instead.
SVC assignments for CMS and GCS are listed in separate columns.

SVC-code Assignments.

  MVS
OS/390
z/OS
CMS (DOS OFF) GCS DOS/VSE CMS (DOS ON) TPF
X'00' EXCP
XDAP
EXCP
XDAP
    EXCP  
X'01' PRTOV
WAIT
WAITR
WAIT     FETCH  
X'02' POST POST     FETCH  
X'03' EXIT EXIT (no macro)     FORCE DEQUEUE (not supported)  
X'04' GETMAIN R,LOC=BELOW GETMAIN     LOAD  
X'05' FREEMAIN R,LOC=BELOW FREEMAIN     MVCOM  
X'06' LINK
LINKX
LINK     CANCEL  
X'07' XCTL
XCTLX
XCTL     WAIT  
X'08' LOAD LOAD     CONTROL  
X'09' DELETE DELETE     LBRET  
X'0A' GETMAIN R,LOC=BELOW
FREEMAIN LOC=BELOW
GETMAIN
FREEMAIN
    SET TIMER  
X'0B' TIME TIME     TRANS.RETURN  
X'0C' SYNCH
SYNCHX
      JOB CONTROL 'AND'  
X'0D' ABEND ABEND     JC FLAGS  
X'0E' SPIE SPIE     EOJ  
X'0F' ERREXCP       SYSIO  
X'10' PURGE       PC STXIT  
X'11' RESTORE RESTORE (does nothing)     PC EXIT  
X'12' BLDL ,,D
FIND ,,D
BLDL
FIND
    IT STXIT  
X'13' OPEN OPEN     IT EXIT  
X'14' CLOSE CLOSE     OC STXIT  
X'15' STOW STOW     OC EXIT  
X'16' OPEN TYPE=J OPEN TYPE=J     SEIZE  
X'17' CLOSE TYPE=T CLOSE TYPE=T     LOAD HEADER  
X'18' DEVTYPE DEVTYPE     SETIME  
X'19' TRKBAL TRKBAL (does nothing)     HALT I/O  
X'1A' CATALOG
INDEX
LOCATE
      Valdiate Address Limits  
X'1B' OBTAIN       TP HALT I/O  
X'1C'         MR EXIT  
X'1D' SCRATCH       WAITM  
X'1E' RENAME       QWAIT  
X'1F' FEOV FEOV     QPOST  
X'20' ALLOC
REALLOC
         
X'21' IOHALT       COMRG  
X'22' MGCR
MGCRE
QEDIT
      GETIME  
X'23' WTO
WTOR
WTO
WTOR
    HOLD  
X'24' WTL       FREE  
X'25' SEGLD
SEGWT
      AB STXIT  
X'26'         ATTACH  
X'27' LABEL       DETACH  
X'28' EXTRACT EXTRACT (does nothing)     POST  
X'29' IDENTIFY IDENTIFY     DEQ  
X'2A' ATTACH
ATTACHX
ATTACH     ENQ  
X'2B' CIRB          
X'2C' CHAP CHAP (does nothing)     UNIT CHECKS  
X'2D' OVLYBRCH       EMULATOR INTERF.  
X'2E' STIMERM CANCEL
STIMERM TEST
TTIMER
STIMERM
TTIMER
    OLTEP  
X'2F' STIMER
STIMERM SET
STIMER
STIMERM
    WAITF  
X'30' DEQ DEQ (does nothing)     CRT TRANS  
X'31'         CHANNEL PROG.  
X'32'         LIOCS DIAG.  
X'33' SDUMP
SDUMPX
SNAP
SNAPX
SNAP     RETURN HEADER  
X'34' RESTART       TTIMER  
X'35' RELEX       VTAM EXIT  
X'36' DISABLE       FREEREAL  
X'37' EOV       GETREAL  
X'38' ENQ
RESERVE
ENQ (does nothing)     POWER  
X'39' FREEDBUF FREEDBUF     POWER  
X'3A' RELBUF
REQBUF
      SUPVR.INTERF.  
X'3B' OLTEP       EOJ INTERF.  
X'3C' STAE
ESTAE
STAI
ESTAI
STAE
ESTAE
    GETADR  
X'3D' IKJEGS6A (TSO)       GETVIS  
X'3E' DETACH DETACH (does nothing)     FREEVIS  
X'3F' CHKPT CHKPT (does nothing)     USE  
X'40' RDJFCB RDJFCB     RELEASE  
X'41'         CDLOAD  
X'42' BTAMTEST       RUNMODE  
X'43'         PFIX  
X'44' SYSNADAF
SYNADRLS
SYNADAF
SYNADRLS
    PFREE  
X'45' BSP BSP     REALAD  
X'46' GSERV       VIRTAD  
X'47' ASGNBFR
BUFINQ
RLSEBFR
      SETPFA  
X'48' No macro;       GETCBUF
FREECBUF
 
X'49' SPAR       SETAPP  
X'4A' DAR       PAGE FIX  
X'4B' DQUEUE       SETCVAL  
X'4C' IFBSTAT       SYSREC  
X'4D'         TRANSCCW  
X'4E' LSPACE       CHAP  
X'4F' STATUS       SYNCH  
X'50'         SETT  
X'51' SETDEV
SETPRT
      TESTT  
X'52'         LINKAGE  
X'53' SMFWTM BRANCH=NO
SMFEWTM BRANCH=NO
      ALLOCATE  
X'54' GRAPHICS       SET LIMIT  
X'55' DDRSWAP       RELPAG  
X'56' ATLAS       FCEPGOUT  
X'57' DOM       PAGEIN  
X'58'         TPIN  
X'59'         TPOUT  
X'5A'         PUTACCT  
X'5B' VOLSTAT       POWER  
X'5C' TCBEXCP
TCPEXCP
      XECBTAB  
X'5D' TGET
TPG
TPUT
TGET
TPUT
    XPOST  
X'5E' GTDEVSIZ
GTSIZE
RTAUTSRM
STATTN
STAUTOCP
STAUTOLN
STAUTSRM
STBREAK
STCC
STCLEAR
STCOM
STFSMODE
STLINENO
STSIZE
STTIMEOU
STTMPPMD
STTRAN
TCABEND
TCLEARQ
TCSEND
TSEND
TSTGTTRM
TSTTPMD
TCLEARQ     XWAIT  
X'5F' SYSEVENT       AB EXIT  
X'60' STAX STAX     TT EXIT  
X'61' IKJEGS9G       TT STXIT  
X'62' PROTECT       EXTRACT  
X'63' DYNALLOC       GETVCE  
X'64' IKJEFFIB          
X'65' QTIP       MODVCE  
X'66' AQCTL          
X'67' XLATE       SYSFIL  
X'68' TOPCTL       EXTENT  
X'69' IMGLIB       SUBSID  
X'6A'         LINKAGE  
X'6B' MODESET       TASK INTERF.  
X'6C'         DATA SECURE  
X'6D' ESPIE
IFAUSAGE
MFDATA (RMF)
MFSTART (RMF)
MSGDISP
OUTADD
OUTDEL
ESPIE     PAGESTAT  
X'6E'         LOCK
UNLOCK
 
X'6F' no macro          
X'70' PGRLSE PGRLSE (does nothing)        
X'71' PGANY
PGFIX
PGFREE
PGLOAD
PGOUT
PGLOAD (does nothing)
PGOUT (does nothing)
       
X'72' EXCPVR          
X'73'            
X'74' CALLDISP
CHNGNTRY
IECTATNR
IECTCHGA
IECTRDTI
RESETPL
         
X'75' DEBCHK          
X'76'            
X'77' TESTAUTH          
X'78' GETMAIN LOC=ABOVE
FREEMAIN LOC=ABOVE
         
X'79' no macro (VSAM)          
X'7A' EVENTS (type 2)
extended LINK
extended LOAD
extended XCTL
Service Processor Call
STIMERE
VALIDATE
LINK
XCTL
LOAD
       
X'7B' PURGEDQ          
X'7C' TPIO          
X'7D' EVENTS (type 1)          
X'7E' MSS          
X'7F'            
X'80'            
X'81'            
X'82' RACHECK          
X'83' RACINIT          
X'84' RACLIST          
X'85' RACDEF          
X'86'            
X'87'            
X'88'            
X'89' ESR          
X'8A' PGSER PGSER (does nothing)        
X'8B' CVAF
CVAFDIR
CVAFDSM
CVAFSEQ
CVAFVOL
CVAFVRF
         
X'8C'            
X'8D'            
X'8E'            
X'8F' CIPHER
EMK (type 4)
GENKEY
RETKEY
         
X'90' no macro          
X'91'            
X'92' BPESVC          
X'93'            
X'94'            
X'95'            
X'96'            
X'97'            
X'98'            
X'99'            
X'9A'            
X'9B'            
X'9C'            
X'9D'            
X'9E'            
X'9F'            
X'A0'            
X'A1'            
X'A2'            
X'A3'            
X'A4'            
X'A5'            
X'A6'            
X'A7'            
X'A8'            
X'A9'            
X'AA'            
X'AB'            
X'AC'            
X'AD'            
X'AE'            
X'AF'            
X'B0'            
X'B1'            
X'B2'            
X'B3'            
X'B4'            
X'B5'            
X'B6'            
X'B7'            
X'B8'            
X'B9'            
X'BA'            
X'BB'            
X'BC'            
X'BD'            
X'BE'            
X'BF'            
X'C0'            
X'C1'            
X'C2'            
X'C3'            
X'C4'            
X'C5'            
X'C6'            
X'C7'            
X'C8'            
X'C9'   obsolete obsolete   obsolete  
X'CA'   no macro no macro   no macro  
X'CB'   obsolete obsolete   obsolete  
X'CC'   CMSCALL CMSCALL   CMSCALL  
X'CD'            
X'CE'            
X'CF'            

 

This site is a member of WebRing.
You are invited to browse the list of mainframe-loving sites.
Running
    Tyrannosaurus Rex Dinos are not dead. They are alive and well and living in data centers all around you. They speak in tongues and work strange magics with computers. Beware the dino! And just in case you're waiting for the final demise of these dino's: remember that dinos ruled the world for 155-million years!
Dinos and other anachronisms
[ Join Now | Ring Hub | Random | << Prev | Next >> ]
 

To the SVC-codes table.



Below you find the logo of our sponsor and logos of the web-standards that this page adheres to.