View previous topic :: View next topic
|
Author |
Message |
dbzTHEdinosauer
Global Moderator
Joined: 20 Oct 2006 Posts: 6966 Location: porcelain throne
|
|
|
|
I do not think that I could exhibit rudeness required to achieve a level Ankoo deserves for - changing jcl on the fly and complaining about errors
- not bothering to look in the manuals
- posting truncated messages
It is obvious why he asks his questions in an anonymous internet forum
instead of his peers/co-workers.
They have undoubtedly had enough of his apathetic efforts of self-enlightenment,
inability to grasp elemental concepts
and general obliviousness to his actions. |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8697 Location: Dubuque, Iowa, USA
|
|
|
|
ankoo, since you did not provide the full statements (there is more to the right on the SYSOUT screen), there's no way anybody can help you. The file status code will tell you precisely what the problem is -- and there's even a sticky on the COBOL forum to take you directly to the file status codes. |
|
Back to top |
|
|
ankoo
New User
Joined: 12 Jun 2010 Posts: 31 Location: India
|
|
|
|
I got it the file status code was 35 and I corrected it by usinf File Status after the select statement
But Still not able to solve the problem of using two files, by using the following code the variable is not picking up the values so it is showing no output!
Code: |
//INFILE DD DSN=PWSX.R9SSHC6.FLAT1,DISP=SHR
// DD DSN=PWSX.R9SSHC6.FLAT2,DISP=SHR |
My peers are saying to use two DD statements and not one I have used above.Anyone knowing how to use two DD statements |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
Code: |
There was an unsuccessful OPEN or CLOSE of file FLAT1 in program STU |
I can not see a file FLAT1 in your JCL
If you are the author of the program or have access to the source, what are the filenames that you should be using, and are you using them. |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
Quote: |
My peers are saying to use two DD statements and not one I have used above.Anyone knowing how to use two DD statements |
the ignorance/incompetence of Your peers is appalling |
|
Back to top |
|
|
expat
Global Moderator
Joined: 14 Mar 2007 Posts: 8797 Location: Welsh Wales
|
|
|
|
*sigh* I've just returned from that thread
Pass the valium |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
just went there, let' s admit it... the fantasy of the TS is amazing
where did that come from ??? |
|
Back to top |
|
|
PeterHolland
Global Moderator
Joined: 27 Oct 2009 Posts: 2481 Location: Netherlands, Amstelveen
|
|
|
|
The TS is doing me a favour. He is giving me an excuse to start boozing
early. |
|
Back to top |
|
|
Phrzby Phil
Senior Member
Joined: 31 Oct 2006 Posts: 1042 Location: Richmond, Virginia
|
|
|
|
Since you have opened two posts, I must reply to both - a minor hassle:
You seem to be attempting to write/learn COBOL and JCL on the fly.
Seriously - my rec is that you take an actual class (or 2 (or 3 ...)) with a human instructor.
Your errors above (both posts) are very elemental. Linking the file name in COBOL to the dataset in the JCL is covered early in any intro class.
This may be too complicated to learn otherwise.
Good luck. |
|
Back to top |
|
|
ankoo
New User
Joined: 12 Jun 2010 Posts: 31 Location: India
|
|
|
|
Quote: |
You seem to be attempting to write/learn COBOL and JCL on the fly. |
Yes I am learning COBOL, JCL as I am in a Mainframe project.Here I am getting no human assistance.Frankly speaking my peer tell me to find errors,abends in google and then correct them.They say this is the way you will learn.I am following there instructions. If anyone is disturbed I am sorry,I am just trying to learn things. |
|
Back to top |
|
|
enrico-sorichetti
Superior Member
Joined: 14 Mar 2007 Posts: 10873 Location: italy
|
|
|
|
the two related topics being discussed lately do not tackle a quick and dirty solution of an issue
but are due to insufficient training and lack of the expected in house support
replying / sharing OUR hardly earned skills on a forum is
on our time, our equipment
free of charge
a forum is not a substitute for the services that should be provided in house
and it' s wrong to expect people to give free consultancy/training to companies
who as in Your case have the standard of not providing them |
|
Back to top |
|
|
Phrzby Phil
Senior Member
Joined: 31 Oct 2006 Posts: 1042 Location: Richmond, Virginia
|
|
|
|
Your peers are idiots, or is it morons, or is it imbeciles? I can never remember which is which anymore.
Their method may get you by a particular sticky issue in a pinch, but if you want to learn for a career, then start at the beginning.
Would you hire a carpenter to build a house if his peers told him what yours tell you? How about a doctor? Any other occupation? |
|
Back to top |
|
|
Akatsukami
Global Moderator
Joined: 03 Oct 2009 Posts: 1788 Location: Bloomington, IL
|
|
|
|
Phrzby Phil wrote: |
Your peers are idiots, or is it morons, or is it imbeciles? I can never remember which is which anymore. |
Morons have IQs of 51-75; imbeciles of 26-50; and idiots of 0-25.
Whilst I won't conduct a spirited defense of Ankoo's cow-orkers, I will go so far as to suggest that when they told him to Google the nature of and fixes for his errors, they did not mean, "Find a mainframe help forum and demand that the experts posting there spoon-feed you the answers". |
|
Back to top |
|
|
Phrzby Phil
Senior Member
Joined: 31 Oct 2006 Posts: 1042 Location: Richmond, Virginia
|
|
|
|
Actually, in my opinion (been programming since '64), that would have been better advice than the duct tape version that we presume they gave him.
Thanks also, for the IQ definitions.
I am now willing to call them idiots. |
|
Back to top |
|
|
|