Q: I want to use the CALL CL command in a S/36 procedure to call a CL program that needs to access the S/36 local data area (LDA). How do I go about retrieving the S/36 LDA from a CL program? - Willie Moore A: To retrieve a value from the LDA in your CL program, use the Change Variable (CHGVAR) command as shown here: CHGVAR VAR(&NAME) + VALUE(%SST(*LDA 101 10)) In this command, &NAME is a character variable with a length of 10, the LDA start position is 110, and the length of the retrieved value is 10. - Terence Barstow |
You must be logged in to view or make comments on this article.