Search found 8 matches

by guptae
Thu Mar 22, 2007 10:46 am
Forum: DB2 SQL - DB2 PROGRAMMING
Topic: What is the diff between declaring a cursor in WSS or PD?
Replies: 4
Views: 15082

Hi There, A static cursor needs to be declared before it is opened. The DB2 preprocesser needs to see it before it generates the code for accessing it. .........the declaration generates no executable code in itself so it is usually placed in the data division, that helps keep the procedure division...
by guptae
Fri Feb 23, 2007 11:41 am
Forum: JCL
Topic: RESTART - Executing 2 and 3 rd step in 5 step jcl
Replies: 7
Views: 26733

Hi There, U can also use IEBEDIT for this //STEP1 EXEC PGM=IEBEDIT //SYSUT1 DD DSN=dataset that contain jcl,DISP=SHR //SYSUT2 DD SYSOUT=(*,INTRDR) //SYSPRINT DD SYSOUT=* //SYSIN DD * EDIT TYPE=INCLUDE,STEPNAME=(STEP2,STEP3) /*
by guptae
Wed Feb 21, 2007 4:18 pm
Forum: JCL
Topic: Deleting a Sequential File in IDCAMS Step
Replies: 1
Views: 8952

by guptae
Mon Feb 19, 2007 9:33 am
Forum: COBOL
Topic: Significance of Level 49 in COBOL
Replies: 2
Views: 9060

Hi There,

We must declare VARCHAR character types with the subordinate items at level 49 otherwise the VARCHAR is treated as a group data item with two subordinates, and is subject to the rules of declaring and using group data items.

Hope it is helpful
by guptae
Fri Dec 29, 2006 4:47 pm
Forum: JCL
Topic: How to write a JCL using IEFBR14
Replies: 1
Views: 9214

by guptae
Tue Dec 05, 2006 11:42 am
Forum: INTERVIEW QUESTIONS
Topic: Recently faced mainframe cobol Interview Questions.
Replies: 15
Views: 58205

Hi Rangab, Please find the answer 1). What happens if you add a copybook to linkage section instead of adding it to a working-storage section in a sub-program? In that case u have to pass copybook throgh main progarm suppose your copybook name is pdtlseg then u need to pass it through ur main pgm to...
by guptae
Sat Dec 02, 2006 8:15 pm
Forum: JCL
Topic: CODE THAT WAIT X MINUTES BEFORE EXECUTE A STEP
Replies: 1
Views: 12324

Hi there, The above functionality can also be attained by calling the IBM utility 'ILBOWAT0' in the COBOL program by supplying the delay time which can range from 0001 to 9999999 seconds. e.g. CALL 'ILBOWAT0' USING DELAY-AMT. The benefit of this routine is that it uses minimal CPU time during the wa...
by guptae
Tue Nov 28, 2006 10:20 am
Forum: COBOL
Topic: COBOL
Replies: 4
Views: 8175

Hi pandian_ak

What do u mean by that ?
R u want to know whether we can intialize linkage section variable.