Open Mainframe Project Community » COBOL
2 FOLLOWERS
The Open Mainframe Project Community is where you can ask your technical questions and collaborate with industry experts on COBOL. Meet other COBOL developers and ask for help with your projects. Talk about Efficient Data Processing, COBOL Compiler parameters, and the latest COBOL features.
Open Mainframe Project Community » COBOL
2w ago
So first - let’s say there is a Linkage Section variable defined as: 05 Important-Value Pic X(10) Value SPACE. Then let’s say some other program calls this first program where the Important-Value variable being passed has a value of “Platinum”. Once our first program gets up and running, will SPACE overwrite “Platinum” or will “Platinum” overwrite SPACE? Who prevails???
1 post - 1 participant
Read full topic ..read more
Open Mainframe Project Community » COBOL
3w ago
To
The Developer of the Forum
MAINFRAME
Greetings, I am honored to participate in this forum. Actually I have a tech blog site and it is PHP PHP-based website. But after getting the COBOL Programming language, I thought I would run my website through this programming language.
I am not completely sure if it is possible to change the programming language. If it is then what should I need to do. The features and design make me impressed to run my website through this programming language.
Here is my website, please let me know is it possible or not. I shall be highly thankful to you for your val ..read more
Open Mainframe Project Community » COBOL
2M ago
I expected the ADD instruction in the following COBOL program to trigger an ABEND S0C7. However the program terminated normally and the ouput was quite surprising.
The SYSIN in the JCL
//SYSIN DD *
5
//* There is only the character 5 in the SYSIN (well, followed by a newline character of course)
The COBOL program
WORKING-STORAGE SECTION.
77 X PIC 9(10).
PROCEDURE DIVISION.
ACCEPT X
ADD 1 TO X
DISPLAY 'X = ' X
STOP RUN
.
The output
X = 5000000001
I then ran the program in a debugger
The ACCEPT statement moved a ‘5’ in the leftmost ..read more
Open Mainframe Project Community » COBOL
7M ago
I run a small plumbing and home repair service and would like to have a COBOL system developed that would on the main screen display the name of the company then have options for different screens like 1 customer info like name address and phone numbers and options to change or add customers. 2 for scheduling 3 for billing. I was wondering if this was something someone on this forum would be interested in developing. Thanks
1 post - 1 participant
Read full topic ..read more
Open Mainframe Project Community » COBOL
8M ago
Can someone point me to a Visual COBOL SQL Server course or tutorial?
2 posts - 2 participants
Read full topic ..read more
Open Mainframe Project Community » COBOL
8M ago
This code below does not work?
DISPLAY "You are, " WS-CUSTOMER-NAME. "And your age is ", WS-AGE.
Can somebody fix it with proper codes?
6 posts - 4 participants
Read full topic ..read more
Open Mainframe Project Community » COBOL
8M ago
Hello. I am trying to modify an existing COBOL program that reads in data (all 100K+records) then moves that data into a sort file for processing. I would like to only process (sort) those records that meet a certain criterion. My understanding is this will make my program execute faster therefore making it more efficient. Currently the program reads all records then eliminates those records which meet the criteria. I am new to COBOL programming and am not sure what information to include to get helpful feedback.
6 posts - 3 participants
Read full topic ..read more
Open Mainframe Project Community » COBOL
8M ago
I have finished the COBOL Programming Course - Open Mainframe Project, what is the next course to continue learning COBOL?
2 posts - 2 participants
Read full topic ..read more
Open Mainframe Project Community » COBOL
8M ago
Hello, im a cobol beginner
here is my code to delete space from a sequential file ,but if try to replace with a coma it replaces all the spaces , is there a way to only replace the first space and delete the others ?
IDENTIFICATION DIVISION.
PROGRAM-ID. CPYFILES.
AUTHOR. M.
ENVIRONMENT DIVISION.
INPUT-OUTPUT SECTION.
FILE-CONTROL.
SELECT MY-INPUT-FILE ASSIGN TO
"C:\Users\Hp\Documents\my_input.txt"
ORGANIZATION IS LINE SEQUENTIAL.
SELECT MY-OUTPUT-FILE ASSIGN TO
"C:\Users\Hp\Documents\my_output.txt"
ORGANIZATION IS LINE SEQUENTIAL.
DATA DIVISION ..read more
Open Mainframe Project Community » COBOL
8M ago
Is there any specific reason why HIGH VALUES are moved while coding a cobol internal array.
Reviewing some programs and found only 1 of them coded with high values but not the rest so curious.
Any advantages or disadvantages.
1 post - 1 participant
Read full topic ..read more