how to pass values



JES, JES2, JCL utilities, IDCAMS, Compile & Run JCLs, PROCs etc...

how to pass values

Postby KRISHAN » Wed Oct 06, 2010 6:18 pm

how to pass values from cobol to jcl?
KRISHAN
 
Posts: 6
Joined: Wed Oct 06, 2010 6:12 pm
Has thanked: 0 time
Been thanked: 0 time

Re: how to pass values

 

Re: how to pass values

Postby Robert Sample » Wed Oct 06, 2010 6:21 pm

What are you attempting to do? In general, values are passed via PARM= statements from JCL to programs. Going the other way usually requires a separate job to be submitted since a job stream, once it has been through the JES converter / interpreter, is fixed and cannot be changed by anything.
Robert Sample
Global moderator
 
Posts: 3367
Joined: Sat Dec 19, 2009 8:32 pm
Location: Dubuque, Iowa, USA
Has thanked: 1 time
Been thanked: 222 times

Re: how to pass values

Postby enrico-sorichetti » Wed Oct 06, 2010 6:23 pm

the concept has been told and repeated gazillions times

the only thing You can pass back to <JCL> is a numeric return code!

look at the COBOL manuals for the use of the RETURN-CODE special register
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2644
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 130 times

Re: how to pass values

Postby KRISHAN » Wed Oct 06, 2010 6:24 pm

it was asked in interview qusetion to my freind.....
KRISHAN
 
Posts: 6
Joined: Wed Oct 06, 2010 6:12 pm
Has thanked: 0 time
Been thanked: 0 time

Re: how to pass values

Postby KRISHAN » Wed Oct 06, 2010 6:25 pm

thanks all
KRISHAN
 
Posts: 6
Joined: Wed Oct 06, 2010 6:12 pm
Has thanked: 0 time
Been thanked: 0 time


Return to JCL

 


  • Related topics
    Replies
    Views
    Last post