Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

How to pass data thru PARM from JCL to COBOL

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
View previous topic :: :: View next topic  
Author Message
kanakk
Warnings : 1

New User


Joined: 24 Jan 2006
Posts: 4

PostPosted: Tue Jan 24, 2006 4:24 pm    Post subject: How to pass data thru PARM from JCL to COBOL
Reply with quote

hi,
i m passing some data thru parm parameter to cobol pgm.the data is not passed though i coded everything correctly.why?wat may b the correct reason?
this question was asked in an interview.
Back to top
View user's profile Send private message

parikshit123

Active User


Joined: 01 Jul 2005
Posts: 269
Location: India

PostPosted: Tue Jan 24, 2006 4:38 pm    Post subject: Re: parm result
Reply with quote

kanakk wrote:
hi,
i m passing some data thru parm parameter to cobol pgm.the data is not passed though i coded everything correctly.why?wat may b the correct reason?
this question was asked in an interview.


Well, Its interesting.

If you have coded everyting correctly, then it should work. isn't it?
I am sorry but there may be very trivial reasons like

1. Is mainframe running?
2. Is your job being submitted?
3. Is your cobol program compiled?
4. Are you submitting the same job with same program in the step correctly?

Would like to know what can go wrong if the code is correct still it doesn't work.
Back to top
View user's profile Send private message
senthils

Active User


Joined: 15 Nov 2005
Posts: 117
Location: Chennai, India

PostPosted: Tue Jan 24, 2006 4:57 pm    Post subject:
Reply with quote

You are absolutely correct Parikshit. There are soooooooooooo many reasons. icon_wink.gif

By the way kanakk, can you give more details about your code?
Back to top
View user's profile Send private message
kanakk
Warnings : 1

New User


Joined: 24 Jan 2006
Posts: 4

PostPosted: Wed Jan 25, 2006 2:08 pm    Post subject: Re: parm result
Reply with quote

hey here the reason is he was just cheking your confidence level there will not be any as you said but incase of mainframes down it happns as u said
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 -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Paasing symbolic parameter to instrea... Anirudh Anand JCL & VSAM 0 Thu Jul 27, 2017 1:22 pm
No new posts Passing data from REXX to C programme... chong.zhou CLIST & REXX 3 Wed Jul 26, 2017 9:11 pm
No new posts Passing data from REXX to C programme... chong.zhou All Other Mainframe Topics 0 Wed Jul 26, 2017 4:55 pm
No new posts copying data without knowing location arunsoods DFSORT/ICETOOL 8 Thu Jul 20, 2017 1:03 pm
This topic is locked: you cannot edit posts or make replies. Fetching data from BAI File arunsoods JCL & VSAM 1 Wed Jul 19, 2017 4:28 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us