×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

can i run cobol compiler on my personal computer without internet ??

can i run cobol compiler on my personal computer without internet ??

can i run cobol compiler on my personal computer without internet ??

(OP)
please tell me can i run COBOL on my personal computer. if yes then please send me the link to download the compiler and how to install and run it. it is very urgent as i am undergoing rigorous training in IBM and i need to work on projects from August. please help me.

RE: can i run cobol compiler on my personal computer without internet ??

Suggest you start here:
http://www.cobug.com/cobug/docs/freeCompilers0098.html
and download one or more. You will need an internet connection for this part.

Follow whatever the installation instructions for the one(s) you download.

Once installed, you should not need to be connected to the internet to compile and run programs.


 

RE: can i run cobol compiler on my personal computer without internet ??

Isn't a compiler included in the 'rigorous training' sessions?

RE: can i run cobol compiler on my personal computer without internet ??

Not if the training is "self-taught" in preparation for COBOL projects to commence in August. . .<g>

RE: can i run cobol compiler on my personal computer without internet ??

(OP)
compiler is there but it is connected to the company's mainframe. i need to access the compiler on my personal computer. so finding some ways. i have downloaded the software but unable to understand through the installation guide. please help me. i downloaded from this link http://www.volny.cz/cevelavl//cobol/cb_en/mx_all.htm
 thanks and regards

RE: can i run cobol compiler on my personal computer without internet ??

Hi koolsss4u,

But all compilers are not the same. The compiler you downloaded is an obsolete MS-DOS compiler.
If your training is aimed to mainframe COBOL, then the old MS-DOS compiler may be worthless for you.
In this time there are not free modern Windows compilers available.
Here I found the Fujitsu PowerCobol V.3 and Microsoft Cobol V.5 for download:
http://www.escobol.com/modules.php?name=Content&pa=list_pages_categories&cid=4

Other thing is, that the working on mainframe is much different from working on Windows or MS-DOS. You need to create datasets, edit your COBOL source, use (or write) JCL for compilation, look at your produced spoolfiles. You don't learn all these things if you don't have an access to mainframe.     

Therefore:
First I would suggest you to use the compiler via the connection to the company's mainframe.

The other option (but via connection) is to create a free account on a mainframe and use the COBOL compiler here:
http://www.efglobe.com/cgi-bin/mainframe/mainuser

Or finally you can use zCOBOL from Z390 project (but I don't know how good is it):
http://www.z390.org/
 

RE: can i run cobol compiler on my personal computer without internet ??

If you are familiar with another programming language on the mainframe. then a PC-based COBOL compiler will help you learn COBOL.  But it will not help you to learn how to use JCL, as micron has said.  Also, you probably should be familiar with IBM mainframe machine data types as opposed to PC data types.  Specific differences are that IBM mainframes use little-endian binary data, and PC's usually use big-endian binary data.  Also, IBM mainframes have packed-decimal as a native data-type, and PC's do not.  

PC's use ascii, IBM maiframes (used to, anyway) use ebcdic.
The big difference between the two alphabet sets is in sorting: in ascii, numbers sort before letters, in ebcdic, numbers sort after letters.  Also, in ascii, all lower-case letters sort after all upper-case letters; in ebcdic, all lower-case letters sort before upper-case letters.

There is also a difference in the way the compilers handle the PERFORM statement.  In most PC-based compilers the return point is pushed onto the stack; in IBM mainframe compiles, the rerturn point is handled quite differently.  Some PC-based compilers have a compile-time option to use the IBM mainframe type PERFORM.

Note that the ENVIRONMENT DIVISION statements are also quite different, this is due to the design of COBOL, placing most of the system-interface code in the ENVIRONMENT DIVISION.

RE: can i run cobol compiler on my personal computer without internet ??

(OP)
thanks webrabbit and mikrom. i went through different sites and i think i would be able to access mainframes through dezhi systems or by using hercules mainframe. right now i am in office so can't third party applications. after returning back i ll try to install these softwares. if everything goes well, i ll provide a complete detail regarding how we can access mainframes freely.

RE: can i run cobol compiler on my personal computer without internet ??

(OP)
One more help please.. please tell me the link where i can find the codes of live projects or case studies on COBOL with JCL codes. thank you

RE: can i run cobol compiler on my personal computer without internet ??

I tried free mainframe emulator Hercules some times ago, but with Hercules you doesn't get TSO and actual compilers including COBOL, because all this software isn't free.
So, because I'm not a mainfame guru I couldn't work with Hercules without having TSO smile

In difference - on the free Dezhi mainframe you have everything you need to work: TSO, REXX, COBOL and other  compilers. And you have OMVS (Unix system services) and CICS too.   
If you want to access free Dezhi mainframe you need 3270 terminal emulator. I'm using this:
http://x3270.bgp.nu/index.html
If you have some questions/problems you can ask in forums here:
http://zos.efglobe.com/
 

RE: can i run cobol compiler on my personal computer without internet ??

(OP)
thanks alot microm. now i am able to login into dezhi mainframe. but the server is somewhat slow but what else can i expect for free. again thanks alot. please tell me is there any link for live projects and case studies in COBOL.
with thanks and regards

RE: can i run cobol compiler on my personal computer without internet ??

I don' know about live projects and case studies, but  
first of all - if you are not familiar with Mainframe - I suggest to read something about it - for example:
Introduction to the New Mainframe: z/OS Basics
Learn how to work with TSO, how to create Partisioned Data Set (PDS), edit your source members, compile the source and look at the spool files.

Other infos about TSO and other topics are for example here
http://www-03.ibm.com/systems/z/os/zos/bkserv/r8pdf/index.html#tsoe

Then when you are able to work with mainframe and try the examples - then learn COBOL.

  

RE: can i run cobol compiler on my personal computer without internet ??

Unless you already are well-versed on using a mainframe i would not encourage installing Hercules. Hercules is excellent, but one needs to be confortable with the "mvs" world to be able to install/use it effectively. Once Hercules is installed, an older version of mvs may be installed free (i believe it is mvs 3.9 but am not sure).

Once upon a time there was a rumor that the "dezhi" free offering actually ran on Hercules . . .  I did not try to confirm this.

From the initial post, i understood that the new learning was cobol. Possibly i misunderstood). If the mainframe is not already known knowing how the environment works is as important as the language rules of cobol. Two components that will be needed immediately are how to edit code (typically the tso/ispf editor) and how to compile and run the initial programs via JCL (Job Control Language).

If this work is to begin in August that is only 2 weeks away and i would recommend finding sample code and making sure that those samples are understood.

You might also look at the Rational Developer info here:
http://www.ibm.com/developerworks/downloads/r/rdz/learn.html

 

RE: can i run cobol compiler on my personal computer without internet ??

Quote (papadba):


Once upon a time there was a rumor that the "dezhi" free offering actually ran on Hercules
I remember, that I have read this elsewhere on dezhi forum and I thought that it's joke, but maybe it's true - when you say it too.

I started to learn about mainframe, because there are often mainframe job offerings.
It tooks me some days to learn the basics although I'm  experienced IBM iSeries programmer, which is a system more closely to zSeries (mainframe) than Unix or Windows.
The z/OS datasets filesystem is different from i5/OS library filesystem.
Then I wondered, that you need to write for every little thing a JCL program. For example if you write an CICS-COBOL program with BMS-screen, you need to write an JCL for COBOL compilation and other JCL for BMS compilation.

In about 2 weeks of evening study I learned lot of new things:
1. how to use TSO/ISPF: work with PDS, edit sources, execute REXX, compile simple C, COBOL and PL/I program and how to look at spoolfiles with SDSF
2. how to use OMVS for ftp-ing the program sources from PC to mainframe and vice versa.
3. how to write a simple CICS program in C and COBOL, install and execute the CICS transactions.
I want say, that learning mainframe was fun for me, I learned in the 2 weeks lot of new things, but even so I had feeling that I know still very little for developing applications (in difference to my recent iSeries knowledge) and that the work on mainframe is very different.
For example I couldn't learn in the 2 weeks, how to debug a program on mainframe (somebody says me that the debuggers are not part of z/OS system) and how to use DB/2 with SQL and how to compile an COBOL-ESQL-program.

IMHO, for people working all time only with Windows or Unix learning mainframe basics will not be easy.
 

RE: can i run cobol compiler on my personal computer without internet ??

(OP)
thanks alot mikrom and papadba. those sites are really helpful and good. i will try to sharpen my skills as i know only basic now. and from Thursday they will train me in DB2.
with thanks and regards

RE: can i run cobol compiler on my personal computer without internet ??

Quote:

IMHO, for people working all time only with Windows or Unix learning mainframe basics will not be easy.
Once a person learns one "thing", the next thing often seems harder because it is different. After learning many new things, it becomes much smoother and one has less expedtations that make differences seem difficult<g>.

Quote:

Then I wondered, that you need to write for every little thing a JCL program. For example if you write an CICS-COBOL program with BMS-screen, you need to write an JCL for COBOL compilation and other JCL for BMS compilation.
The only "new" jcl one should create is for new batch programs/processes. . .  All of the compile/link/bind jcl is standard for well-managed systems and no one should create their own. In many organizations, refusal to use the standard compile processes results in disciplinary action including termination. . . Just a caution. . .
 

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close