Page 2 of 2

Re: Reading Manually Inputted Cobol File

PostPosted: Tue Mar 22, 2011 11:09 am
by NicC
One of the purposes of having the JCL is so that you can change it without having to change your COBOL code.

I believe that what you want is dynamic allocation within COBOL which is achieved by using module BPX?????? - sorry, do not know the full name but it is mentioned several times in the COBOL section and a quick search within the forum would have found hits re dynamic allocation and on Google over 1,390,000 hits of which the first was entirely relevant to your question which should not have been asked and should not have been tagged onto someone elses question.

If you have been a member since October 2010 you should have seen these comments many times and know how to avoid them!

Re: Reading Manually Inputted Cobol File

PostPosted: Tue Mar 22, 2011 11:18 am
by Viswanathchandru
Thanks again NicC for your time and support!! and sorry for tagging my question in others post. I thought it was relevant so that i could get a reply as it is being discussed. This will not happen again. Thanks again.

Thanks,
Viswa.

Re: Reading Manually Inputted Cobol File

PostPosted: Tue Mar 22, 2011 4:04 pm
by Robert Sample
BPXWDYN is used to dynamically allocate files in a COBOL program. IBM has a very good description of it and the parameters that can be used at http://publib.boulder.ibm.com/infocente ... 0/wdyn.htm

Re: Reading Manually Inputted Cobol File

PostPosted: Sat Sep 13, 2014 12:27 am
by abhirocksf5
How to point a file for read a file in Microsoft Windows COBOL compiler?
I am using the same SELECT clause in ENVIRONMENT DIVISION as we do in IBM Mainframes, but facing the error.

Below is the code snippet.
code.jpg


Below is the Error which I am getting

error.jpg



Any help is appreciated.

Re: Reading Manually Inputted Cobol File

PostPosted: Sat Sep 13, 2014 4:32 am
by prino
IBM MAINFRAME FORUM
A Help & Support Forum for Mainframe Beginners and Students

Tagging on to a topic that has been dormant for nearly three-and-a-half years with a question about about Mickey$oft software that is totally unrelated to mainframes?

Re: Reading Manually Inputted Cobol File

PostPosted: Mon Sep 15, 2014 2:26 am
by NicC
Locking topic rather than deleting the 'bad' post.