MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search found 3 matches
MVSFORUMS.com Forum Index
Author Message
  Topic: Is it possible to pass numerics via SYSIN to COBOL's ACCEPT?
stewchicken

Replies: 11
Views: 5674

PostForum: Job Control Language(JCL)   Posted: Mon Oct 27, 2008 5:24 pm   Subject: Is it possible to pass numerics via SYSIN to COBOL's ACCEPT?
hey,

but seems the vaule passed by SYSIN will be automatically padded if it is shorter than
variable defined in COBOL.

how do I solve this problem?
  Topic: Is it possible to pass numerics via SYSIN to COBOL's ACCEPT?
stewchicken

Replies: 11
Views: 5674

PostForum: Job Control Language(JCL)   Posted: Mon Oct 27, 2008 8:46 am   Subject: Is it possible to pass numerics via SYSIN to COBOL's ACCEPT?
Hey Nic

I tried it already. but by this way will pass three values to only one accept right?
i had 3 accepts in my cobol program.
  Topic: Is it possible to pass numerics via SYSIN to COBOL's ACCEPT?
stewchicken

Replies: 11
Views: 5674

PostForum: Job Control Language(JCL)   Posted: Sun Oct 26, 2008 5:19 pm   Subject: Is it possible to pass numerics via SYSIN to COBOL's ACCEPT?
hello

my cobol program need 3 numerics via accept.
but i need to use jcl to call this cobol

therefore i try to pass those 3 numerics via SYSIN from JCL to cobol
but it failed , below is how i ...
 
Page 1 of 1
All times are GMT - 5 Hours
Jump to:  


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group