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