View previous topic :: View next topic
|
Author |
Message |
sunojsm Warnings : 1 New User
Joined: 21 Jun 2004 Posts: 33 Location: Andorra
|
|
|
|
hi friends,
some int ?'s r below,plase as me.
1.In Job i have 50 steps, the GDG dataset is creating in 1st step, the same GDG is brefer in 25th step. I got abend in 24th step. Is it possible to
restart from 25th step. If possible what are the changes we have to do.
2.When mapfail codition will occur
3.If deadlock occurs in u'r program, how come u know which program or
user trying to access the same resources which is requested by u.
4.How to see recently executed jobs information
5.I want to see the jobs which are executed by other user. Where will
get those information.
6.what will u do to edit a COMP-3 value in a file
7.In a file 50 records are there, i want the records from 50th byte to
80th byte. How can i get it.
8. In Cobol, the end user will enter lowercase letters in the screen
how will u covert it to uppercase.
9.What is the difference between copybook and Include
bye |
|
Back to top |
|
|
shannu
New User
Joined: 01 Jun 2005 Posts: 17 Location: bangalore
|
|
|
|
Hi,
I will be giving answers for some of question if any thing wrong please correct me
thanks
Sgannu.
.In Job i have 50 steps, the GDG dataset is creating in 1st step, the same GDG is brefer in 25th step. I got abend in 24th step. Is it possible to
restart from 25th step. If possible what are the changes we have to do.
You can restart from the 25th stem by coding restart=25th stepname in the job card.
2.When mapfail codition will occur
mapfail will occur when u recieve a map with no values i.e all the fields in that map are blanks.
3.If deadlock occurs in u'r program, how come u know which program or
user trying to access the same resources which is requested by u.
I dontknow exactly if u come across dataset in use and press F1 key two times, then u will come to know the userid of the person who is using that dataset.
4.How to see recently executed jobs information
You can checkit out in the spool.
5.I want to see the jobs which are executed by other user. Where will
get those information.
6.what will u do to edit a COMP-3 value in a file
go to profile in ur file and make hex-on there.
7.In a file 50 records are there, i want the records from 50th byte to
80th byte. How can i get it.
You should handle it by logic just read the records from the 50th byte to 80 th byte and skip thje remaining fields.
8. In Cobol, the end user will enter lowercase letters in the screen
how will u covert it to uppercase.
I didnt get wat u mean by end user.
9.What is the difference between copybook and Include
copybook is expanded during compilation stage whereas include is expanded during pre compilation stage.
Let me know where u encountered these types of problems.
bye |
|
Back to top |
|
|
MGIndaco
Active User
Joined: 10 Mar 2005 Posts: 432 Location: Milan, Italy
|
|
|
|
Let me correct you for the first question:
1) Use a temporary dataset or a simple dataset and cataloge your gdg at the end of your job. If you restart from 25th step you will have jcl error because if you use +1 in the previous step, after the restart the level will be the (0).
3) you must display the thread for your resource and capture the user/job that use it.
4) you can see the sysout in SDSF or in your product of archive as Beta 92 or WSF etc.
5) in SDSF use OWNER USERID and PREFIX 'job' or '*' to display all the queue of a particular USERID
7) you can do it with a sort with INREC or you can also use a IEBGENER or other tool. |
|
Back to top |
|
|
subbprem
New User
Joined: 20 Apr 2005 Posts: 9 Location: Chennai
|
|
|
|
Difference between copybook and include.
------------------------------------------------------
INCLUDE MEMBERNAME is same as a COBOL COPY MEMBERNAME, but the timing is different.
COBOL COPYBOOKs get copied in at COMPILE time; DB2 INCLUDEs get copied in at precompile time. |
|
Back to top |
|
|
mmwife
Super Moderator
Joined: 30 May 2003 Posts: 1592
|
|
|
|
If you intend to restart a job that uses a GDG it's customary to code the relative gen number as a symbolic (e.g. &GEN1). In the original run GEN1='(+1)'. On restart change it to GEN1='(+0)'.
In a lockout situation enter at the terminal CEMT INQ TASK. I think it returns the tasks and what they are enqued on. It's been awhile; you'll have to check. |
|
Back to top |
|
|
thanooz
New User
Joined: 28 Jun 2005 Posts: 99
|
|
|
|
8) IN COBOL YOU HAVE A FUNCTION
YOU R ACCEPTING THAT INTO ONE VARIABLE
FUNCTION UPPERCASE(DATEVARIBLE NAME)
IF ANY WRONG CORRECT ME |
|
Back to top |
|
|
bhaskar_157
New User
Joined: 27 Dec 2005 Posts: 3
|
|
|
|
Hi i have attended the Wipro interview,There asking How we can display the Comp-3 Values using program,
Can you please tel mee whats the answer.
Thanks,
Vijji |
|
Back to top |
|
|
Rupesh.Kothari
Member of the Month
Joined: 27 Apr 2005 Posts: 463
|
|
|
|
HI Vijji,
Quote: |
How we can display the Comp-3 Values using program,
Can you please tel mee whats the answer. |
Move the Comp-3 variable in Normal variable and display it.
Regards
Rupesh |
|
Back to top |
|
|
Nanda Krishna
New User
Joined: 30 Nov 2005 Posts: 19 Location: Bangalore
|
|
|
|
3) you must display the thread for your resource and capture the user/job that use it.
MGIndaco/All,
can you explain how to display the thread.
Thanks in advance... |
|
Back to top |
|
|
|