View previous topic :: View next topic
|
Author |
Message |
narenndra_tallapireddy
New User
Joined: 12 Jul 2005 Posts: 5
|
|
|
|
how many screens can be opened at a time by using ispfi?
what is a copybook what does it contain what is use of it?
Where are VSAM files stored????(i know that Vsam & prgs related to
it are present in Virtual storage but how about these datsets are
they stored in DASD or virtual storage |
|
Back to top |
|
|
pa1chandak Currently Banned New User
Joined: 31 Jan 2006 Posts: 55
|
|
|
|
COPY BOOK
we will declare the structure of the file once
and call it in which ever program we required it, instead of writing the same code again and again
VSAM
all vsam files are store on tapes
Pawan |
|
Back to top |
|
|
nuthan
Active User
Joined: 26 Sep 2005 Posts: 146 Location: Bangalore
|
|
|
|
TSO gives you access to up to twelve TSO applications at once?twenty four using ISPF split screen. So you can run Edit and Panvalet, Browse, FileAid, SDSF, and BTS (and any other TSO application)?all at the same time |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
I'm afraid that the previous answers are given for specific shops.
Here are my answers:
- ISPF split screen: ISPF supports up to 32 split screens. The default at installation time is 8 screens. The actual maximum number for ISPF split screens (nothing to do with TSO) is determined by the field MAXIMUM_NUMBER_OF_SPLIT_SCREENS in the ISPF configuration table.
- Copybooks: Copybooks meant to reduce repetative coding, by allowing the programmer to keep source lines in separate member, and COPY them into the program source during compilation (for DB2 you use the INCLUDE statement). Copy books may conatin any type of source lines, like data definitions, logic, computations etc.
- VSAM, like any other datasets, are kept wherever the user stores them. It might be tapes, DASD or any other device.
O. |
|
Back to top |
|
|
narenndra_tallapireddy
New User
Joined: 12 Jul 2005 Posts: 5
|
|
|
|
thanks pawan,
i got ur answer.how should we call this copy book thru cobol pgm.
i know that
copy copybook "bookname" from syslib.
is it correct?
where should be it declared in proc division or datadivision.?
i have one more doubt regarding flat files and vsam files. i came to know that both are same. if so why should we call both files as different names?
i think for vsam files there is index component and data compontent. but these two components are not in flat files. is it correct or not.if not wat is ur answer?
when we are sorting two files in the jcl cards we have to metion two parametrs .i.e
//sysprint dd sysout=*
//sysout dd sysout=*
and in the sysin dd * we have write the sort .
sort(1,2,ch,a) like this
why should we write the two parameters ? can u please explain me in details.
we have EIBRESPCODE know ,in that respcode the return code of the file will be returned after completion of recards.and a file is it correct or not?
what should it contain?
we know that dynamic and static call byreprasenting in the program as dynam or static. how can we know with out seeing the file. what will be seen in the compilition time? |
|
Back to top |
|
|
ofer71
Global Moderator
Joined: 27 Dec 2005 Posts: 2358 Location: Israel
|
|
|
|
narenndra_tallapireddy -
Rgearding your question about copybooks, did you read my answer ???
O. |
|
Back to top |
|
|
vandana2006
New User
Joined: 18 Jan 2006 Posts: 3 Location: pune
|
|
|
|
I Think that VSAM files r stored in virtual storage space as the name suggests & not stored in dasd.
Winners don't do different things they do things differently. |
|
Back to top |
|
|
|