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

New User


Joined: 31 Oct 2006
Posts: 91
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
Warnings : 1

Senior Member


Joined: 07 Feb 2009
Posts: 1263
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 IDCAMS listcat service using cobol JCL & VSAM 1
No new posts Make cobol variable value a variable COBOL Programming 3
No new posts how to convert and use 1 bit hex-numb... COBOL Programming 10
No new posts VB file copy COBOL program gives erro... COBOL Programming 3
No new posts Cobol program to determine the sequen... COBOL Programming 2
Search our Forums:

Back to Top