View previous topic :: View next topic
|
Author |
Message |
nagalakshmi
New User
Joined: 23 Feb 2005 Posts: 7
|
|
|
|
Hi,
Please Clarify :
1. What is the diff b/w opening/reading an empty PS/VSAM file and opening/fetching an empty CURSOR?
and some questions on Xpeditor
2. How to Setup data in Xpeditor before the preparation of the jcllist
3. How the variables in the linkage section of a called program are setup
4. what are the ddio files and load libraries
If anyone having detail description of Xpeditor with screenshots please do forward
Thanks in advance
Lakshmi |
|
Back to top |
|
|
Bakulesh
New User
Joined: 01 Sep 2004 Posts: 3
|
|
|
|
Opening and reading PS (Physical Sequential) and VSAM file means we issue OPEN verb and then a READ verb (which because the file is empty should raise an END OF FILE condition and in COBOL/2 control should go to statements in AT END clause. I say 'should' because that is commonsense answer but IBM would not be IBM if it did not do these things in convoluted way. Not sure even OPEN in case VSAM file might also fail.
Anyways OPEN of a cursor which produces zero rows in result table should always be successful and FETCH should return End of Table condition (IIRC it is SQLCODE = 100).
Donno much about XPDTR.
Variables in a linkage section: You do not set them up, it is the business of calling program.
DDIO? Whatzzat?
Load libraries are excutable libraries. |
|
Back to top |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
Hi Lakshmi,
Just an addition to Bakulesh's OPEN ans. There are 2 kinds of "empty" for MVS, etc. files:
1) Where the file has been properly closed. In this case a READ will produce an EOF condition as Bakulesh indicated.
2) Where the file has not been closed (e.g. allocated, but not used). In this case a READ will produce an "exception condition". If you don't use FILE-STATUS or some other SYNAD routine the pgm will abend. |
|
Back to top |
|
|
venu_anne
New User
Joined: 24 Feb 2005 Posts: 3
|
|
|
|
Hi all,
Iam a new member to this group.
1. when we want to read a record from vsam file from the vsam and send it to insert statement.
cursor is used when we want read a table and and put it on a select statement.
More Precise vsam is a file and cursur is used with tables.
4. 1. DDIO libraries containing the source listing members.
2. Load libraries containing the programs to be tested and
Debugged.
Note: The source listing dataset and your load libraries are
the output of the compile and link.
can u reframe the third question..
The answers are to my knowledge....
if any thing wrong pl. correct it |
|
Back to top |
|
|
mainframemouli
New User
Joined: 01 Mar 2005 Posts: 52 Location: Mysore
|
|
|
|
Quote: |
How to Setup data in Xpeditor before the preparation of the jcllist
|
1.first enter into Xpediter primary option menu.
2.enter the optio 2. ( 2== TSO)
3.Enter SET
4. Enter 2 ( loadlib option)
in that give the loadlibraries u need to debugg the programs.
loadlibs are nothing but the loadlibs for your programs.
( the link-edited module)
5. press F3
6. Enter 1 ( DDIO optio)
here we have to give the source listing library files.
(Unlike loadlibs which needs to be changed for each and every program,this set up is applicable for all program )
If u want the Screen shots of the Xpediter pls send a mail to my personal ID in subject mention Xpediter. |
|
Back to top |
|
|
ovreddy
Active User
Joined: 06 Dec 2004 Posts: 211 Location: Keane Inc., Minneapolis USA.
|
|
|
|
Hi Lakshmi,
I will give more suggestions on XPEDITOR INTERVIEW QUESTIONS and SCREEN SHOTS. Give me your personal mail id. Mail me to ****Email Deleted****Bye,
Reddy. |
|
Back to top |
|
|
anuradha
Active User
Joined: 06 Jan 2004 Posts: 247 Location: Hyderabad
|
|
|
|
Hi OVReddy,
This is an open forum and it will be better if you post those kind of helpful stuff here itself. What do you say???
This is just my suggestion:-) |
|
Back to top |
|
|
shashi
New User
Joined: 10 Mar 2005 Posts: 8
|
|
|
|
Hello Reddy,
I think wat Anu says is crect ....THis is an open forum so u can post ur answers here itself ..than sending it in personal mail ids...others will also learn if u post the answers ...
Bye |
|
Back to top |
|
|
ovreddy
Active User
Joined: 06 Dec 2004 Posts: 211 Location: Keane Inc., Minneapolis USA.
|
|
|
|
Hi Anu and Shashi,
I agree with you. But the problem is Laxmi asked for screen shots and material, which we cannot post directly. I have posted this answer on 06 Dec 2004, At that time we dont have an upload option ( which was Introduced recently). Thats the reason why i gave the answer personally.
Any way thanks for your suggestions.
Bye,
Reddy. |
|
Back to top |
|
|
ankyhunk
Moderator
Joined: 05 May 2005 Posts: 98 Location: Navi Mumbai, India
|
|
Back to top |
|
|
rammf Currently Banned New User
Joined: 24 Jul 2005 Posts: 17 Location: chennai
|
|
|
|
mainframemouli wrote: |
Quote: |
How to Setup data in Xpeditor before the preparation of the jcllist
|
1.first enter into Xpediter primary option menu.
2.enter the optio 2. ( 2== TSO)
3.Enter SET
4. Enter 2 ( loadlib option)
in that give the loadlibraries u need to debugg the programs.
loadlibs are nothing but the loadlibs for your programs.
( the link-edited module)
5. press F3
6. Enter 1 ( DDIO optio)
here we have to give the source listing library files.
(Unlike loadlibs which needs to be changed for each and every program,this set up is applicable for all program )
If u want the Screen shots of the Xpediter pls send a mail to my personal ID in subject mention Xpediter. |
|
|
Back to top |
|
|
harinatha
New User
Joined: 24 Jul 2005 Posts: 28
|
|
|
|
Hi OVreddy,
even i need XPEDITER materials and SCREEN SHOTS
Can u send to my mail id *****Email Id Deleted*****
otherwise u can send to this forum also.
Thanks & Regards
Hari. |
|
Back to top |
|
|
vijayamadhuri
Active User
Joined: 06 Apr 2005 Posts: 180
|
|
|
|
please find the attachments enclosed |
|
Back to top |
|
|
HIRAKI81
New User
Joined: 17 Aug 2005 Posts: 5
|
|
|
|
Hi,
There is a tutorial option (Option # T ) in Expeditor. Probably you can go through that for further details.
Regards,
Ram |
|
Back to top |
|
|
manjulapragathy Warnings : 1 New User
Joined: 30 Nov 2005 Posts: 1 Location: bangalore
|
|
Back to top |
|
|
|