Sum of 10 numbers
Posted: Wed May 15, 2013 3:52 pm
Hello. I don't know what exactly wrong with my program. The task is summarize any 10 numbers by using ASSEMBLER in JCL(z/Os).
But in sdsf writes that smth wrong with my tags : NAME3, .. Name5..
Help me, please..
But in sdsf writes that smth wrong with my tags : NAME3, .. Name5..
//JOBTEST JOB ,'TESTASM1',MSGCLASS=H,MSGLEVEL=(1,1)
//STEP1 EXEC ASMAC
//SYSIN DD *
START
BLR 7,0
NAME3 DC F'10'
NAME4 DC F'0'
NAME5 DC F'10'
L 3, NAME3
L 4, NAME4
L 5, NAME5
NEXTN AR 4,5
AR 5,5
BCT 3,NEXTN
END
/*
//STEP1 EXEC ASMAC
//SYSIN DD *
START
BLR 7,0
NAME3 DC F'10'
NAME4 DC F'0'
NAME5 DC F'10'
L 3, NAME3
L 4, NAME4
L 5, NAME5
NEXTN AR 4,5
AR 5,5
BCT 3,NEXTN
END
/*
Help me, please..