×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Params Outside 1st 64k of Working-Storage invalid for call-by-number

Params Outside 1st 64k of Working-Storage invalid for call-by-number

Params Outside 1st 64k of Working-Storage invalid for call-by-number

(OP)
Hello!!! I have a problem. I have begun to work in a new job. I never studied Cobol, and now I have to program in Cobol.
I found some file .cbl and when I try to compile the program return me this error:

Params Outside 1st 64k of Working-Storage invalid for call-by-number

Anybody know which could be this error?

Thank you very much,
A greetings,
Luismi

RE: Params Outside 1st 64k of Working-Storage invalid for call-by-number

Some COBOL compilers supported what was referred to as call by number.

Instead of calling a sub-program by name, e.g. CALL CBL_ALLOC_MEM, you would have something like [i]CALL x"d0"[/b]

These routines were generally 16-bit, which require a maximum of 64KB for a data segment.

The ideal thing to correct this is to find an equivalent call-by-name routine to call for these cases, or to make sure the parameters for the call-by-number are within the first 64KB of Working-Stroage.  In fact, I would start at the beginning of working-storage and put a 01 there with a description like CALL-NUMBER-PARMS. along with a comment saying to not move those values.

Hope that helps.
 

----------
Measurement is not management.

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close