IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

COBOL reading from SYSIN


IBM Mainframe Forums -> COBOL Programming
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
jzhardy

Active User


Joined: 31 Oct 2006
Posts: 131
Location: brisbane

PostPosted: Mon Sep 21, 2020 2:37 pm
Reply with quote

I have a piece of JCL that calls PROG1, passing in parameters from instream SYSIN.

PROG1 reads from SYSIN, and calls PROG2, but *doesn't* pass the parameters to PROG2

Is PROG2 able to access SYSIN from the JCL ? Note that PROG1 can't be changed, and doesn't pass them in the linkage to PROG2.
Back to top
View user's profile Send private message
prino

Senior Member


Joined: 07 Feb 2009
Posts: 1306
Location: Vilnius, Lithuania

PostPosted: Mon Sep 21, 2020 4:15 pm
Reply with quote

jzhardy wrote:
I have a piece of JCL that calls PROG1, passing in parameters from instream SYSIN.

PROG1 reads from SYSIN, and calls PROG2, but *doesn't* pass the parameters to PROG2

Is PROG2 able to access SYSIN from the JCL ? Note that PROG1 can't be changed, and doesn't pass them in the linkage to PROG2.

How long would it have taken to actually try this with two little test programs?
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> COBOL Programming

 


Similar Topics
Topic Forum Replies
No new posts COBOL -Linkage Section-Case Sensitive COBOL Programming 1
No new posts COBOL ZOS Web Enablement Toolkit HTTP... COBOL Programming 0
No new posts Calling DFSORT from Cobol, using OUTF... DFSORT/ICETOOL 5
No new posts Generate random number from range of ... COBOL Programming 3
No new posts Calling Java method from batch COBOL ... COBOL Programming 5
Search our Forums:

Back to Top