how to find the copy book for the file i created



Support for OS/VS COBOL, VS COBOL II, COBOL for OS/390 & VM and Enterprise COBOL for z/OS

how to find the copy book for the file i created

Postby PAVA_1 » Fri Oct 21, 2011 11:57 pm

hiiii.......... i created a vsam file called tvsam.fghh.stuks2 and i want to include the vsam file in the cobol program..........using copybook........what will be the copybook name of the vsam file and where can i find the copy structure of above mentioned vsam file??? plz replyyyyyyyyyyyyyyyyyyyyyyyyyyy.......
PAVA_1
 
Posts: 5
Joined: Fri Oct 21, 2011 11:39 pm
Has thanked: 0 time
Been thanked: 0 time

Re: how to find the copy book for the file i created

Postby enrico-sorichetti » Sat Oct 22, 2011 12:06 am

hiiii..........sounds like a sick donkey scream...
if Your mind were not busy looking somewhere else,
most probably it would have occurred to You that the best place to look for such info could be the application description ? :evil:
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2994
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 164 times

Re: how to find the copy book for the file i created

Postby PAVA_1 » Sat Oct 22, 2011 12:13 am

if u know plz reply to question else know but don't send stupid messages like this because i am just a beginner in mainframes and i am not an expert like u!!!!!!!!!!!
PAVA_1
 
Posts: 5
Joined: Fri Oct 21, 2011 11:39 pm
Has thanked: 0 time
Been thanked: 0 time

Re: how to find the copy book for the file i created

Postby enrico-sorichetti » Sat Oct 22, 2011 12:29 am

what kind of silliness is this ...
YOU created the vsam file and ask US where to find the copybook
how can You reasonably expect US to provide that info ? :evil:

and everybody else around here will certainly know how to find their copybooks in their organization...
not certainly in Yours

being a beginner does not exempt You from trying to use Your brain
Last edited by enrico-sorichetti on Sat Oct 22, 2011 12:31 am, edited 1 time in total.
cheers
enrico
When I tell somebody to RTFM or STFW I usually have the page open in another tab/window of my browser,
so that I am sure that the information requested can be reached with a very small effort
enrico-sorichetti
Global moderator
 
Posts: 2994
Joined: Fri Apr 18, 2008 11:25 pm
Has thanked: 0 time
Been thanked: 164 times

Re: how to find the copy book for the file i created

Postby Akatsukami » Sat Oct 22, 2011 12:30 am

PAVA_1 wrote:if u know plz reply to question else know but don't send stupid messages like this because i am just a beginner in mainframes and i am not an expert like u!!!!!!!!!!!

You also seem marginally literate. A solid understanding of and proper usage of English is as important to a successful career in mainframe administrator or software development as important as an understanding of and ability with COBOL, SQL, or Rexx.

Now that you've had your slapping about for the day: you must realize that there need not be any particular relationship -- or any relationship at all -- between a DSN and a copybook member name (or it could be several names; a data set might contain record of several different formats, each of which is stored in a different copybook). Nor does IDCAMS, nor any third-party tool that I know of, create a copybook or copybooks in COBOL, PL/I, HLASM, C, Java, or RPG II when a data set of VSAM, QSAM, BSAM, BPAM, BDAM, or any other organization is created.

Since, at this point, only you know the structure(s) of the records, you must create the copybook(s), naming and handling according to the standards of your shop (or risk termination).
"You have sat too long for any good you have been doing lately ... Depart, I say; and let us have done with you. In the name of God, go!" -- what I say to a junior programmer at least once a day
User avatar
Akatsukami
Global moderator
 
Posts: 1058
Joined: Sat Oct 16, 2010 2:31 am
Location: Bloomington, IL
Has thanked: 6 times
Been thanked: 51 times

Re: how to find the copy book for the file i created

Postby dick scherrer » Sat Oct 22, 2011 12:45 am

Hello,

if u know plz reply to question else know but don't send stupid messages like this because i am just a beginner in mainframes and i am not an expert like u!!!!!!!!!!!
If you keep this attitude, you will not be long in IT. You also need to lose the kiddie chat-speak. Full words and sentences are expected regardless of the level of your proficiency with the technology.

If you created the file, why would you believe there is magically a copybook created somewhere?

As only you probably know about this file, you will have to create the copybook - see the reply from Akatsukami. . .
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times


Return to IBM Cobol

 


  • Related topics
    Replies
    Views
    Last post