Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Enterprise cobol llinkage section cics addressing

Status
Not open for further replies.

djpjlj

MIS
May 26, 2009
3
0
0
US
Migrating from os/vs cobol i encountered the following code
COMPUTE ETS-TOA-PTR = BLL-TS-PTR + 1057.
COMPUTE ETS-TIOA-PTR = BLL-TS-PTR + WS-QUE-ACTUAL.
Are these computations valid in enterprise cobol when updating a pointer ?
 
How are the fields defined?

Regards, Jack.

"A problem well stated is a problem half solved" -- Charles F. Kettering
 
ws-que-actual pic s9999 comp value +3050.
ets-tioa-ptr pic s9(8) comp.
ets-toa-ptr pic s9(8) comp.
bll-ts-ptr pic s 9(8) comp.
 
The code, per se, is valid. If the fields are actially memory pointers, it will probably work, but they should be defined as POINTER and modified with the SET verb.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top