View previous topic :: View next topic
|
Author |
Message |
Pia Baruah
New User
Joined: 13 May 2016 Posts: 3 Location: India
|
|
|
|
Hi! Can someone please help me with this? The following is the question:
a)The salary and grade information should be passed from JCL as instream data.
b) Check the salary of an employee and get the grade from instream data and update the grade field in the input file.
I want to know how do I pass instream data from jcl and save it in an array, and after that how do I compare it with the data given in the input file. |
|
Back to top |
|
|
Nic Clouston
Global Moderator
Joined: 10 May 2007 Posts: 2455 Location: Hampshire, UK
|
|
|
|
The rest is up to your program.
Note that your instream data must 80 byte records.
But, really, if you did not know this then you should be in the beginners forum (www.ibmmainframeforum.com) |
|
Back to top |
|
|
Pia Baruah
New User
Joined: 13 May 2016 Posts: 3 Location: India
|
|
|
|
Hi Nic,
thanks for your reply. actually I am a fresher and new to mainframe. I will refer to that forum.
Btw can you please tell me how to use Search or Search All parameter to compare a number given in input file with a range of highest and lowest number given in an Array(Table). |
|
Back to top |
|
|
Nic Clouston
Global Moderator
Joined: 10 May 2007 Posts: 2455 Location: Hampshire, UK
|
|
|
|
No - because you do not say which language you are using although it does sound like cobol in which case have you referred to the manuals? There are two that you probably need more than most - the language reference and the programmer's guide.
You should also peruse the JCL manual so thatg you know what is NOT JCL - which is most things. |
|
Back to top |
|
|
Rohit Umarjikar
Global Moderator
Joined: 21 Sep 2010 Posts: 3053 Location: NYC,USA
|
|
|
|
Welcome!
Quote: |
Btw can you please tell me how to use Search or Search All parameter to compare a number given in input file with a range of highest and lowest number given in an Array(Table). |
There are two things.
1. Do a search on this forum or internet , you should get many solutions.
2. As directed post all these question to Beginners Forum as that is indeed for novice. |
|
Back to top |
|
|
Pia Baruah
New User
Joined: 13 May 2016 Posts: 3 Location: India
|
|
|
|
Thank you Rohit and Nic for your valuable suggestions.. |
|
Back to top |
|
|
|