Re: Anybody use the "cob2" command on a UNIX shell to compile COBOL?

2012-04-18 Thread Paul Gilmartin
On Tue, 17 Apr 2012 22:23:09 -0500, John McKown wrote: >I do use a UNIX subdirectory on my SYSEXEC concatenation. But, as you >said, it cannot be first. So I have an empty PDS with FB/80 as the first >DSN in the concatenation. A clumsy work around, but at least it works >for me. > When you do thi

Re: Anybody use the "cob2" command on a UNIX shell to compile COBOL?

2012-04-18 Thread Paul Gilmartin
On Tue, 17 Apr 2012 22:23:09 -0500, John McKown wrote: >I do use a UNIX subdirectory on my SYSEXEC concatenation. But, as you >said, it cannot be first. So I have an empty PDS with FB/80 as the first >DSN in the concatenation. A clumsy work around, but at least it works >for me. > Me, too. It co

Re: Anybody use the "cob2" command on a UNIX shell to compile COBOL?

2012-04-18 Thread Kirk Wolf
On Tue, Apr 17, 2012 at 10:33 PM, John McKown wrote: > Guess I am spoiled by the assembler (as command) and C/C++ compiler's > support of both UNIX paths and z/OS PDS[E]s. > > Spoiled by common sense :-) z/OS Unix commands should not be walled out from z/OS datasets. > I have a, to me, clumsy

Re: Anybody use the "cob2" command on a UNIX shell to compile COBOL?

2012-04-18 Thread Terry Sambrooks
Hi Tom, In respect of your recent post on the issue of the title, and your last paragraph: "It clearly says only directories and paths, but I suppose a confirmation that datasets are not supported would be nice. I will try to get that into the next version of the Programming Guide. If anyone ha

Re: Anybody use the "cob2" command on a UNIX shell to compile COBOL?

2012-04-17 Thread John McKown
Guess I am spoiled by the assembler (as command) and C/C++ compiler's support of both UNIX paths and z/OS PDS[E]s. I have a, to me, clumsy way to get around it. I started up the NFS server and exported the high level qualifier that had the PDS[E]s that I needed, then did a MOUNT onto a z/OS UNIX s

Re: Anybody use the "cob2" command on a UNIX shell to compile COBOL?

2012-04-17 Thread John McKown
I do use a UNIX subdirectory on my SYSEXEC concatenation. But, as you said, it cannot be first. So I have an empty PDS with FB/80 as the first DSN in the concatenation. A clumsy work around, but at least it works for me. On Tue, 2012-04-17 at 17:27 -0500, Paul Gilmartin wrote: > On Tue, 17 Apr 201

Re: Anybody use the "cob2" command on a UNIX shell to compile COBOL?

2012-04-17 Thread Paul Gilmartin
On Tue, 17 Apr 2012 16:29:13 -0600, Steve Comstock wrote: >> >> Cheers, >> TomR>> COBOL is the Language of the Future!<< > >So, in other words, you'll make the exclusion explicit instead of >removing the restriction. :-) > >But, I gather from some of the discussions, and your comments, on >this li

Re: Anybody use the "cob2" command on a UNIX shell to compile COBOL?

2012-04-17 Thread Steve Comstock
On 4/17/2012 4:04 PM, Tom Ross wrote: On 4/16/2012 3:26 PM, McKown, John wrote: If so, have you figured out how to specify a PDS as an "include" or "copybook"source? The documentation for this command basically stinks. There is an -I switch. But it apparently only accepts UNIX path specifica

Re: Anybody use the "cob2" command on a UNIX shell to compile COBOL?

2012-04-17 Thread Paul Gilmartin
On Tue, 17 Apr 2012 13:07:18 -0600, Steve Comstock wrote: >On 4/17/2012 12:53 PM, McKown, John wrote: >> As the OP, I thought I'm mention that I finally got the z/OS NFS server to >allow me to mount a high-level onto a z/OS UNIX subdirectory on the same >system. > >Clever and resourceful. But cer

Re: Anybody use the "cob2" command on a UNIX shell to compile COBOL?

2012-04-17 Thread Tom Ross
>On 4/16/2012 3:26 PM, McKown, John wrote: >> If so, have you figured out how to specify a PDS as an "include" or >> "copybook"source? The documentation for this command basically stinks. > >> There is an -I switch. But it apparently only accepts UNIX path >specifications. >> The ld command (binder

Re: Anybody use the "cob2" command on a UNIX shell to compile COBOL?

2012-04-17 Thread Jerry Whitteridge
John Sent: Tuesday, April 17, 2012 11:54 AM To: IBM-MAIN@bama.ua.edu Subject: Re: Anybody use the "cob2" command on a UNIX shell to compile COBOL? As the OP, I thought I'm mention that I finally got the z/OS NFS server to allow me to mount a high-level onto a z/OS UNIX subdirectory on

Re: Anybody use the "cob2" command on a UNIX shell to compile COBOL?

2012-04-17 Thread McKown, John
Message- > From: IBM Mainframe Discussion List > [mailto:IBM-MAIN@bama.ua.edu] On Behalf Of Steve Comstock > Sent: Tuesday, April 17, 2012 2:07 PM > To: IBM-MAIN@bama.ua.edu > Subject: Re: Anybody use the "cob2" command on a UNIX shell > to compile COBOL? > > On 4/17/

Re: Anybody use the "cob2" command on a UNIX shell to compile COBOL?

2012-04-17 Thread Steve Comstock
On 4/17/2012 12:53 PM, McKown, John wrote: As the OP, I thought I'm mention that I finally got the z/OS NFS server to allow me to mount a high-level onto a z/OS UNIX subdirectory on the same system. I could then successfully use the cob2 command to compile a COBOL program which did a COPY CEEIGZ

Re: Anybody use the "cob2" command on a UNIX shell to compile COBOL?

2012-04-17 Thread McKown, John
As the OP, I thought I'm mention that I finally got the z/OS NFS server to allow me to mount a high-level onto a z/OS UNIX subdirectory on the same system. I could then successfully use the cob2 command to compile a COBOL program which did a COPY CEEIGZCT from the mounted subdirectory. I mounted

Re: Anybody use the "cob2" command on a UNIX shell to compile COBOL?

2012-04-17 Thread Mark Zelden
On Tue, 17 Apr 2012 12:35:19 -0500, Paul Gilmartin wrote: >On Tue, 17 Apr 2012 10:59:59 -0500, Mark Zelden wrote: >> >>I ran an exec similar to this from TSO to mount the PDSE on the local system: >> >>/* rexx */ >>Address TSO >> "MOUNT FILESYSTEM(NFS_ZELD) TYPE(NFS)" , >> "MOUNTPOINT('/u/zel

Re: Anybody use the "cob2" command on a UNIX shell to compile COBOL?

2012-04-17 Thread Kirk Wolf
To the original question, you should be able to use a Unix directory and files in place of a PDS or PDSE in any program (with limitations), since BPAM provides simulation for these. Details can be found in "z/OS DFSMS Using Datasets" under "Processing z/OS Unix files" - http://publibfp.dhe.ibm.com

Re: Anybody use the "cob2" command on a UNIX shell to compile COBOL?

2012-04-17 Thread Paul Gilmartin
On Tue, 17 Apr 2012 10:59:59 -0500, Mark Zelden wrote: > >I ran an exec similar to this from TSO to mount the PDSE on the local system: > >/* rexx */ >Address TSO > "MOUNT FILESYSTEM(NFS_ZELD) TYPE(NFS)" , > "MOUNTPOINT('/u/zelden/testnfs') " , > "PARM('SYST:""ZELDEN.TEST.PDSE,text"",xlat(Y

Re: Anybody use the "cob2" command on a UNIX shell to compile COBOL?

2012-04-17 Thread Mark Zelden
On Mon, 16 Apr 2012 18:38:22 -0500, Paul Gilmartin wrote: >On Mon, 16 Apr 2012 17:29:23 -0600, Jerry Whitteridge wrote: > >>Has anyone tried (apart from Paul G) exporting the PDSE via NFS and mounting >>it at a z/Unix mountpoint on the same system ? That should be able to provide >>your path as

Re: Anybody use the "cob2" command on a UNIX shell to compile COBOL?

2012-04-17 Thread McKown, John
half Of Steve Comstock > Sent: Monday, April 16, 2012 5:21 PM > To: IBM-MAIN@bama.ua.edu > Subject: Re: Anybody use the "cob2" command on a UNIX shell > to compile COBOL? > > On 4/16/2012 3:26 PM, McKown, John wrote: > > If so, have you figured out how to specify a PDS

Re: Anybody use the "cob2" command on a UNIX shell to compile COBOL?

2012-04-17 Thread McKown, John
Message- > From: IBM Mainframe Discussion List > [mailto:IBM-MAIN@bama.ua.edu] On Behalf Of Jerry Whitteridge > Sent: Monday, April 16, 2012 6:29 PM > To: IBM-MAIN@bama.ua.edu > Subject: Re: Anybody use the "cob2" command on a UNIX shell > to compile COBOL? > > Has

Re: Anybody use the "cob2" command on a UNIX shell to compile COBOL?

2012-04-16 Thread Paul Gilmartin
On Mon, 16 Apr 2012 17:29:23 -0600, Jerry Whitteridge wrote: >Has anyone tried (apart from Paul G) exporting the PDSE via NFS and mounting >it at a z/Unix mountpoint on the same system ? That should be able to provide >your path as well a classic access > We tried and failed. But we didn't try

Re: Anybody use the "cob2" command on a UNIX shell to compile COBOL?

2012-04-16 Thread Jerry Whitteridge
aren't going fast enough. -Original Message- From: IBM Mainframe Discussion List [mailto:IBM-MAIN@bama.ua.edu] On Behalf Of Steve Comstock Sent: Monday, April 16, 2012 3:21 PM To: IBM-MAIN@bama.ua.edu Subject: Re: Anybody use the "cob2" command on a UNIX shell to compile

Re: Anybody use the "cob2" command on a UNIX shell to compile COBOL?

2012-04-16 Thread Steve Comstock
On 4/16/2012 3:26 PM, McKown, John wrote: If so, have you figured out how to specify a PDS as an "include" or "copybook"source? The documentation for this command basically stinks. There is an -I switch. But it apparently only accepts UNIX path specifications. The ld command (binder) accepts a