Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

Partitioned Dataset
Hi,

Can you tell me whether we can access PDS member in Cobol program.
If we can, what should be DD statement in JCL & File definition in
Cobol program.

Thanks
Sameer.

Report this thread to moderator Post Follow-up to this message
Old Post
sameer
08-13-04 08:55 PM


Re: Partitioned Dataset
In article <bf573a0d.0408130927.32ec065c@posting.google.com>,
sameer <sameer_bon@rediffmail.com> wrote:
>Hi,
>
>   Can you tell me whether we can access PDS member in Cobol program.
>If we can, what should be DD statement in JCL & File definition in
>Cobol program.

Please do your own homework.

DD


Report this thread to moderator Post Follow-up to this message
Old Post
docdwarf@panix.com
08-13-04 08:55 PM


Re: Partitioned Dataset
>    Can you tell me whether we can access PDS member in Cobol program.
> If we can, what should be DD statement in JCL & File definition in
> Cobol program.
>
> Thanks
> Sameer.

Jeez. It wouldn't take you more than 10 minutes to test this yourself.
How the heck are we supposed to know what your file definition should look l
ike?
You didn't tell us anything about your dataset.



Report this thread to moderator Post Follow-up to this message
Old Post
Mike
08-14-04 01:55 AM


Re: Partitioned Dataset

sameer wrote:
> Hi,
>
>    Can you tell me whether we can access PDS member in Cobol program.
> If we can, what should be DD statement in JCL & File definition in
> Cobol program.
>
> Thanks
> Sameer.


//SYS001 DD DSN=SOME.PDS.NAME(MEMBER),DISP=SHR

SELECT SYS001-INPUT-FILE ASSIGN TO SYS001.

FD  SYS001-INPUT-FILE
BLOCK CONTAINS 0 RECORDS.

01  SYS001-INPUT-RECORD     PIC X(80).

What are you really trying to do?  The example above will work, but
doesn't cover all the possible cases.


--
http://arnold.trembley.home.att.net/



Report this thread to moderator Post Follow-up to this message
Old Post
Arnold Trembley
08-14-04 08:55 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Cobol archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 04:33 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.