Cobol/Questions

SubjectDate AskedExpert
COBOL Program 25/25/2012Robert Collins
  Q: Will all records (P RECORDS, I RECORDS, AND M RECORDS)get processed in the PERFORM STATEMENT based ...
  A: No they will not. Your evaluate statement has logic which will bypass the Perform statement if an ...
COBOL Program5/24/2012Robert Collins
  Q: I am new to I series Cobol/AS400. The following is code in which I need to modify ASAP. In the ...
  A: EVALUATE P-I-FLAG WHEN “P” CONTINUE WHEN “I” CONTINUE ...
COBOL Program5/24/2012Robert Collins
  Q: I am new to I series Cobol/AS400. The following is code in which I need to modify ASAP. In the ...
  A: If you need to make "I" and "M" records act the same as "P" records, you should do the same thing ...
Need a help for me4/23/2012Robert Collins
  Q: How many divisions are there in JCL-COBOL? if i am asking somebody,they told 4 only but if i search ...
  A: NagarajanM, JCL and COBOL are two different things. I am assuming you are asking specifically ...
Cobol Alphanumeric Incrementation3/19/2012David Nelson
  Q: Sir i just want to ask if how can i increment alphanumeric, this question is perfectly alike on what ...
  A: You must allow for a zero remainder which will give you zero as a digit value. Also the original was ...
FLAGS IN COBOL2/29/2012Robert Collins
  Q: CAN U TELL ME THE EXACT DEFINITION OF 'FLAGS' THAT WE USE IN COBOL? NEED A BRIEF EXPLANATION IF U ...
  A: I'm assuming you are referring to what is also known as an 88 level switch. A flag is useful when ...
Cobol code issues1/20/2012Robert Collins
  Q: I have requirement. My file is Flat File having account number and sequence number and some other ...
  A: Shravani, I'm not going to write the program for you because this seems like a homework question to ...
NEED HELP BADLY11/9/2011Robert Collins
  Q: IDENTIFICATION DIVISION. PROGRAM-ID. CTRLBRK-SALES. ENVIRONMENT DIVISION. ...
  A: This looks like homework :) I'll point you in the right direction though... The comment appears ...
need your help in ispf.10/30/2011Robert Collins
  Q: greetings for the day. Can you please help me out on this. I have submitted a job in mainframe. TSO ...
  A: You need to add the jobcard "typerun=scan" to jcl to run the scan instead of submitting the job. ...
COBOL FD max size10/12/2011David Nelson
  Q: What is the largest record length that can be coded under an FD? Or are there run, compile options ...
  A: I don't have a 4.1 manual, however Appendix B in the Language reference manual gives the limits. My ...
Return code 4610/8/2011David Nelson
  Q: I'm getting a return code 46 on a sequential read. I have a perform statement of "Perform read-write ...
  A: Please check you end of file logic. The File status 10 is EOF, are you sure your test for EOF and ...
Return code 4610/7/2011David Nelson
  Q: I'm getting a return code 46 on a sequential read. I have a perform statement of "Perform read-write ...
  A: Gail; The following is from IBM Z/OS Enterprise COBOL Language Reference (V4.2): 10 At end ...
READ and WRITE statement9/27/2011David Nelson
  Q: what is the possible cause of this error : 0002:/F/Inconsistent READ usage. 0002:/F/Inconsistent ...
  A: You need to identify the reason for the error. Do you have the file defined correctly? If you are ...
Compiler directives9/19/2011Robert Collins
  Q: am working on a migrating project from AIX to Linux and i want to know about what are the major ...
  A: Ok, thanks for the info. I'm going to have to point you to one of two options: Post your question ...
Compiler directives9/16/2011Robert Collins
  Q: am working on a migrating project from AIX to Linux and i want to know about what are the major ...
  A: With what information you've shared, I would ask that you verify that these are in fact Micro Focus ...
RM COBOL9/14/2011Robert Collins
  Q: We are looking to "modernize" our RMCOBOL 74, currently running in SCO UNIX Openserver 5.06 (or ...
  A: *smile* No problem. Yes, Eclipse is the editor. It allows you to work in a graphical environment ...
RM COBOL9/14/2011Robert Collins
  Q: We are looking to "modernize" our RMCOBOL 74, currently running in SCO UNIX Openserver 5.06 (or ...
  A: Jennifer, As you've already found, no matter what you do, you'll have some work to do. What you ...
Compiler directives9/12/2011Robert Collins
  Q: am working on a migrating project from AIX to Linux and i want to know about what are the major ...
  A: There aren't any compiler differences that I am aware of. Your only issues will be in any scripts ...
Issue with ^ symbol and Junk characters7/25/2011Robert Collins
  Q: I am extracting data from ISAM files to Flat files using a generic MF COBOL program with simple ...
  A: I believe the only way I could determine the issue would be to review the source and see a sample ...
Issue with ^ symbol and Junk characters7/25/2011Robert Collins
  Q: I am extracting data from ISAM files to Flat files using a generic MF COBOL program with simple ...
  A: Without seeing the code or data file, my first guess would be that you don't have your file defined ...
Convert binary to numeric in Microfocus Cobol7/7/2011David Nelson
  Q: I have a .txt file which contains binary data (not readable). I work in Microfocus Cobol and i have ...
  A: What you have outlined should work. However, you need to make sure the data in binary is in the ...
Special Character Translation4/21/2011David Nelson
  Q: We have an input file that has a check amount and the last character of the amount is a special ...
  A: The reason you have a special character or letter for the last digit is the source for the number is ...
Remove spaces and extract numeric from alphanumeric4/15/2011Robert Collins
  Q: I am new to mainframe and I was trying to solve a problem i had. The problem is: Possible values in ...
  A: Hey Akhil, The way I would do it is through the use of reference modification. The example routine ...
Difference between Cobol And Microfocus COBOL4/11/2011Robert Collins
  Q: I want to deploy my code written in COBOL 85 to Microfocus so that I can run it on windows server. ...
  A: Hey Epex, You shouldn't have to make any changes to get it to run within the Micro Focus ...
queue2/28/2011Robert Collins
  Q: i'm new in c++. can you please explain me briefly what is FIFO, LIFO and Priority Queue. what are ...
  A: Hey ganapathy, Think of a stack of plates. LIFO (last in first out) means that you would always ...
initialization and move2/14/2011David Nelson
  Q: Performance wise initailzation is better or moving spaces/zeros is better? how much both cost?
  A: Which is better depend on the specific data structure. If you have filler that will not be ...
Mainframe as Career2/3/2011Robert Collins
  Q: I am a graduate in engineering 2009,ex web developer, looking for a change in career could you ...
  A: Sorry I didn't get back to you sooner. I didn't see the message until just now... Tough question. ...
XMl Generate1/31/2011David Nelson
  Q: I used an answer you provided to another user on this site to set up a repeating node for an XML ...
  A: Glad you got it to work. I am NOT an XML expert. If you did an XML GENERATE and got the XML ...
How to release i/o PCB11/22/2010David Nelson
  Q: when i read an i/o file in lock mode for more than 1661 times,i got an error at 1662 nd read.The ...
  A: I have already answered this exact question for someone else. It is VERY BAD programming practice ...
Nulls vs Spaces11/19/2010David Nelson
  Q: It has been 12 years since I have worked on COBOL programs and am researching the following: In ...
  A: As in IBM COBOL, Nulls in a field is stored as LOW-VALUE. This will not be the same as SPACES. In ...
COBOL and DB2 UDTF's11/15/2010David Nelson
  Q: How do you code the underlying table function in COBOL for a DB2 z/OS User Defined Table Function, ...
  A: I am not a DB2 expert. I suggest you consult the Application Programming and SQL guide for your ...
Buffer overlfow problem11/10/2010Robert Collins
  Q: I am trying to take a Mainframe CICS/COBOL program and run it on a MF COBOL runtime with CICS ...
  A: Since you specifically mentioned CICS and linkage, the first place I would look would be at the ...
A full version of cobol10/20/2010Robert Collins
  Q: Would like to find out where can I get a full copy of cobol which can install & run on windows xp? ...
  A: You don't have to write COBOL.Net with Visual COBOL. You can do traditional COBOL application ...
String Manipulation in COBOL Without Using Reference Modification10/14/2010Robert Collins
  Q: SIR, PLEASE TELL ME HOW TO WRITE THE CODE FOR DISPLAYING THE CHARACTER OR STRING WITHOUT USING THE ...
  A: Hey Prashant, You have a couple of options, depending upon whether you are writing standard ...
A full version of cobol10/5/2010Robert Collins
  Q: Would like to find out where can I get a full copy of cobol which can install & run on windows xp? ...
  A: Hey Art, You can get a copy of the Micro Focus product at ...
Execution Error9/28/2010Robert Collins
  Q: Receiving the following error after installing new image on new server. Execution error : file ...
  A: Hey Jeanine, Not much to go on here... If everything in the environment is setup the same (Same ...
Retrievel of data9/16/2010Robert Collins
  Q: Table:Employee(id,name,age,role) in this table 200 rows are there,now i want fetch that row ...
  A: Hey Priya, I believe there is already an example program provided with the Micro Focus software ...
Limit of open a file in lock mode9/13/2010David Nelson
  Q: iam performing read lock operation on a file in a loop.actually loop has to be run for 2000 times ...
  A: I am not a Tandem expert. However, what appears to be the problem based on what I can read and what ...
Limit of open a file in lock mode9/8/2010David Nelson
  Q: iam performing read lock operation on a file in a loop.actually loop has to be run for 2000 times ...
  A: Please provide a sample of code that you have in your program. I don't follow your question. ...
Read Cobol data files through ODBC8/28/2010Robert Collins
  Q: My Clinet sent me two iCobol files, having file types NX and XD. I would like to extract the records ...
  A: Hey Demi, There is an ODBC driver available for iCobol files ...

Page:    1  |  2  |  3  |  4  |  5  |  6  |  7  |  8  |  9  |  10   |  Next       All

Cobol

All Answers


Answers by Expert:


Ask Experts

Volunteer


Robert Collins

Top Expert on this page

Expertise

I currently work for Micro Focus and am directly involved in migrations from the IBM z/OS mainframe to the distributed platforms. I'm familiar with CICS, COBOL, DB2, JCL, SQL Server, Windows, Visual Studio, VB.Net, etc.

Experience

I currently work for Micro Focus and am directly involved in migrations from the IBM z/OS mainframe to the distributed platforms. I'm familiar with CICS, COBOL, DB2, JCL, SQL Server, Windows, Visual Studio, VB.Net, etc.

Publications
http://itsacobolworld.blogspot.com

Education/Credentials
Bachelor of Science in CIS from DeVry Institute

©2012 About.com, a part of The New York Times Company. All rights reserved.