how to check that a file opening in assembler is successful.
for example..
if i hadn't specified the go.dd statement in my jcl but i am trying to the file in my assembler program.. then how to check the open status..
this is an assembler question asked in convansys,chennai..
is there is anyway to declare a file status in assembler..
Joined: 20 Jun 2005 Posts: 100 Location: Chennai, India
You can use the TESTCB macro. 4th bit in 49th byte of DCBOFLGS will be set to 1. You can use "TM DCBOFLGS,X'10'" instruction to test if DS is opened.[/img]