To entmake the Block with Attributes that's when ATTDEF is used.
To Insert Block using entmake also that's when ATTRIB is used.
Since your code is embedded with the first Attrib Def a distance of 2 units from the second Attrib Def, this is how it looks when inserted into the drawing:

EmBlAt.lsp contains the entire entmake block, attrib def & entmake block insert process:
; EmBlAt entity make block with attributes and insert
(defun c:EmBlAt
(/
blkname clayerb clayeri clayer1 clayer2 styname htx wdy
elev2Value insertionPoint
sclx scly sclz
)
(setq
blkname "SRVPNOC" ; name of Block
clayerb "-DRN" ; defined block layer
clayer1 "-DRNMARK" ; attribute def #1 layer
clayer2 "-DRNELEV" ; attribute def #2 layer
clayeri "-DRN" ; inserted block layer preferably same as defined block
styname "STANDARD" ; text style
htx 0.1563 ; attribute def height
wdy 0.8 ; attribute def width
elev2Value 2 ; attribute def #2 def value
sclx 1 ; block insert x scale factor
scly 1 ; block insert y scale factor
sclz 1 ; block insert z scale factor
)
(setq insertionPoint (getpoint "\nSpecify insertion point: "))
(entmake
(list
'(0 . "BLOCK")
(cons 2 blkname) ; block name
'(70 . 2)
(cons 8 clayerb) ; layer
(cons 10 insertionPoint) ; insertion point
'(4 . "SRVPNOC Value") ; comment
)
) ; end of block
; 1=default value ; 2=Tag ; 3=Prompt
(entmake
(list
'(0 . "ATTDEF")
(cons 8 clayer1) ; layer
(cons 10 insertionPoint) ; insertion point
'(70 . 0) ; attribute flags
'(3 . "+") ; 3=Prompt
'(2 . "MARK") ; 2=Tag
'(1 . "+") ; 1=default value
(cons 40 htx) ; height
(cons 41 wdy) ; width
(cons 7 styname) ; text style
(cons 11 insertionPoint) ; match insertion point
'(72 . 0) ; 0=10 as insertion point
)
)
(entmake
(list
'(0 . "ATTDEF")
(cons 8 clayer2) ; layer
(cons 10 (list (+ (car insertionPoint) 2.0) (cadr insertionPoint) 0.0)) ; insertion point
'(70 . 0) ; attribute flags
'(3 . "Elevation Value") ; 3=Prompt
'(2 . "ELEV2") ; 2=Tag
(cons 1 (rtos elev2Value 2 2)) ; 1=default value
(cons 40 htx) ; height
(cons 41 wdy) ; width
(cons 7 styname) ; text style
(cons 11 (list (+ (car insertionPoint) 2.0) (cadr insertionPoint) 0.0)) ; match insertion point
'(72 . 0) ; 0=10 as insertion point
)
)
(entmake '((0 . "ENDBLK")) ) ; end of block with attdef
; insert the block
(entmake
(list
'(0 . "INSERT")
(cons 2 blkname) ; block name
(cons 8 clayeri) ; layer
'(66 . 1) ; has attributes
(cons 10 insertionPoint) ; insertion point
(cons 41 sclx) ; x scale
(cons 42 sclx) ; y scale
(cons 43 sclx) ; z scale
)
) ; begin insert Block
; attrib #1
(entmake
(list
'(0 . "ATTRIB")
(cons 10 insertionPoint) ; insertion point
(cons 8 clayer1) ; layer
(cons 1 "+") ; 1=default value
'(2 . "MARK") ; 2=Tag
(cons 40 htx) ; height
'(70 . 0) ; attribute flags
(cons 41 wdy) ; width
(cons 7 styname) ; text style
(cons 11 insertionPoint) ; match insertion point
'(72 . 0) ; 0=10 as insertion point
)
)
; attrib #2
(entmake
(list
'(0 . "ATTRIB")
(cons 10 (list (+ (car insertionPoint) 2.0) (cadr insertionPoint) 0.0)) ; insertion point
(cons 8 clayer2) ; layer
(cons 1 (rtos elev2Value 2 2)) ; 1=default value
'(2 . "ELEV2") ; 2=Tag
(cons 40 htx) ; height
'(70 . 0) ; attribute flags
(cons 41 wdy) ; width
(cons 7 styname) ; text style
(cons 11 (list (+ (car insertionPoint) 2.0) (cadr insertionPoint) 0.0)) ; insertion point
'(72 . 0) ; 0=10 as insertion point
)
)
(entmake '((0 . "SEQEND")))
(princ) ; end insert block
)