Portal | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Forum Index
 
Register
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
COBOL reading from SYSIN

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> COBOL Programming
View previous topic :: :: View next topic  
Author Message
jzhardy

New User


Joined: 31 Oct 2006
Posts: 85
Location: brisbane

PostPosted: Mon Sep 21, 2020 2:37 pm    Post subject: COBOL reading from SYSIN
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: 1220
Location: Vilnius, Lithuania

PostPosted: Mon Sep 21, 2020 4:15 pm    Post subject: Re: COBOL reading from SYSIN
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    IBMMAINFRAMES.com Support Forums -> COBOL Programming All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts XML Parsing in COBOL creating "h... elixir1986 COBOL Programming 0 Sat Oct 31, 2020 7:19 am
No new posts Calling Rexx program from Cobol Srinivas B CLIST & REXX 12 Thu Oct 29, 2020 6:00 pm
This topic is locked: you cannot edit posts or make replies. Missing Negative sign in COBOL jzhardy COBOL Programming 6 Sat Sep 26, 2020 11:32 am
No new posts how to read accounting information in... jzhardy COBOL Programming 1 Mon Sep 21, 2020 9:57 am
No new posts NOT IN clause in COBOL pgm mramvivek COBOL Programming 8 Thu Aug 20, 2020 4:48 am

Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us