Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 
How to copy a program in CICS

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions
View previous topic :: :: View next topic  
Author Message
SMRAJAESWARI

New User


Joined: 07 Jul 2005
Posts: 10

PostPosted: Thu May 18, 2006 8:55 am    Post subject: How to copy a program in CICS
Reply with quote

Hello Friends,

Please let me know the answer for these questions.


1) At whast stage DB2 must be up?.

2) can you see s9(4) comp3 data?.

3) what is low values and high values?

4) In my JCL, the 1st step is Delete step. if the dataset is existing, i want to delete that one. If dataset is not existing, i don't want to abend the job. How can we code DISP?


5) How to see the status of the table?.

6) I have update row in table using Spufi. How to revert the update row?. That means original position?

7) By opening an empty VSAM file in i/p or i-o mode, you will get file status of 35. How can we overcome this?.

8) How to Input data in COBOL from JCL?

9) How to copy a program in CICS?


Regards,
Rajaeswari.
Back to top
View user's profile Send private message

Rupesh.Kothari

Member of the Month


Joined: 27 Apr 2005
Posts: 464

PostPosted: Thu May 18, 2006 9:03 am    Post subject: Re: IMPORTANT INTERVIEW QUESTIONS
Reply with quote

Hi,

Quote:
7) By opening an empty VSAM file in i/p or i-o mode, you will get file status of 35. How can we overcome this?.

Put Duumy value in that VSAM first.

Quote:
8) How to Input data in COBOL from JCL?

Using SYSIN in JCL.

Hope this helps

Regards
Rupesh
Back to top
View user's profile Send private message
balajiofcrrcoe

New User


Joined: 07 Jul 2005
Posts: 41
Location: chennai

PostPosted: Thu May 18, 2006 2:39 pm    Post subject: Re: How to copy a program in CICS
Reply with quote

2) can you see s9(4) comp3 data?.

ans) i think we cannot see a comp3 data

3) what is low values and high values?

ans) move lowvalues to a variable means
if the vaiable is declaired as numeric, zeros will be moved .
if the vaiable is declaired as alphanumeric spsces will be moved.

move highvalues to a variable means

if the variable is declaired as numeric 9's will be moved.

4) In my JCL, the 1st step is Delete step. if the dataset is existing, i want to delete that one. If dataset is not existing, i don't want to abend the job. How can we code DISP?

ans)code disp=(old,delete).


pls let me know if am wrong..
Back to top
View user's profile Send private message
gskulkarni

New User


Joined: 01 Mar 2006
Posts: 70

PostPosted: Thu May 18, 2006 5:01 pm    Post subject:
Reply with quote

1) At whast stage DB2 must be up? - Stage of what? if you are talking about the program compilation bind and all of that then DB2 should be up at the time of binding. Compiler doesn't need DB2 to be up. If you are talking about execution of a DB2 program or executing IO on DB2 tables then DB2 should be UP.

2) can you see s9(4) comp3 data?. - It is not a 'display' data type so NO. However, one can see the content by doing "Hex On".

3) what is low values and high values? - Low values is equivalent to null. I.e. hexadecimal zeroes X'0000'. High Values is hexadecimal highest i.e. X'FFFFFF'

4) In my JCL, the 1st step is Delete step. if the dataset is existing, i want to delete that one. If dataset is not existing, i don't want to abend the job. How can we code DISP? YOu can use IEFBR14 utility with DISP = (MOD,DELETE,DELETE)


5) How to see the status of the table?. -display database(DB2)

6) I have update row in table using Spufi. How to revert the update row?. That means original position? Using spufi means the change has been comitted already so rollback won't work. You can't.

7) By opening an empty VSAM file in i/p or i-o mode, you will get file status of 35. How can we overcome this?. You CAN open the empty vsam file in I-O mode if you have coded the file for random or dynamic access and the file is optional.
Optional files are files that are not necessarily present each time the program is run. You can define files opened in INPUT, I-O, or OUTPUT mode as optional by defining them with the SELECT OPTIONAL phrase in the FILE-CONTROL section of your program.

Also Sort products are capable of handling an empty VSAM file by coding the parms VSAMEMT=YES.

8) How to Input data in COBOL from JCL? - using ACCEPT and provide data in SYSIN.

9) How to copy a program in CICS? If you are talking about introducing a new CICS program you will need to define a new transaction or associate it with existing tran by updating your PPT. make an entry in PCT and TCT as required. Also if program is accessing DB2 you will need to make any entry in RCT resource Control table. If an existing program in modified and needs to reflect that change, then in CICS you can do it with CEMT S PROG(prog_name) NEWC.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> Mainframe Interview Questions All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Need to track the CICS transaction fr... sam8051 CICS 3 Mon Aug 07, 2017 3:11 pm
No new posts Unable to copy data from spool in a d... srikant314 JCL & VSAM 8 Fri Jul 28, 2017 9:10 pm
No new posts Writing a file using online program grvtomar PL/I & Assembler 3 Fri Jun 30, 2017 1:06 pm
No new posts How to Clear all TSQs during CICS sta... Hooman24 CICS 10 Mon Jun 26, 2017 9:46 pm
No new posts pre-compiler for program in an HFS Pedro DB2 0 Fri Jun 23, 2017 11:13 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us