subscript and index r not coded in u r application program
what will happen?
Answers were Sorted based on User's Feedback
Answer / kiran
nothing will happen
instead of subscript and index
we have to write same data repeatedly which occurs multiple
times.
if we use subscript it means occurance of same data multiple
times
by using index we can preform operations fast y bcoze using
index reffers to register variable as we knw if we perform
actions using index variable always fast
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / ganesh
YOu need to code it if you get tired of typing same data
which is being used in program
| Is This Answer Correct ? | 1 Yes | 0 No |
How can you pass values from COBOL program to non-COBOL programs?
what are the control characters used in reports
What is the difference between Global and External Variables?
How can you add a particular field in copybook?
what are the steps to sort in a cobol program?
How to traceback if I am getting SOC7 or SOC4 abend? List down the steps
01rec1. 05 a pic 999v99 value 123.12 05 b pic 99v9 value 45.9 02 rec2. 05 x pic 999v99 05 y pic 99v99 05 z pic x(3) value 'abc' if rec1 is moved to rec2 then what is the value of rec2?
here is my compile and link edit steps in a jcl //COMPILE1 JOB (3CUS,S),'CCDM TEST' //STEPNAME EXEC PGM=IGYCRCTL,PARM='DYNAM,RENT,LIB,OBJECT, // OFFSET,APOST,OPTIMIZE',REGION=4096K //STEPLIB DD DSNAME=PM7351.TEST2.COB,DISP=SHR //SYSIN DD DSNAME=PM7351.TEST2.COB(PGM1),DISP=SHR //SYSUT1 DD UNIT=SYSDA,SPACE=(10,(10,10)) //SYSUT2 DD UNIT=SYSDA,SPACE=(10,(10,10)) //SYSUT3 DD UNIT=SYSDA,SPACE=(10,(10,10)) //SYSUT4 DD UNIT=SYSDA,SPACE=(10,(10,10)) //SYSUT5 DD UNIT=SYSDA,SPACE=(10,(10,10)) //SYSUT6 DD UNIT=SYSDA,SPACE=(10,(10,10)) //SYSUT7 DD UNIT=SYSDA,SPACE=(10,(10,10)) //SYSPRINT DD SYSOUT=* //SYSLIN DD DSNAME=&&LOAD,DISP=(MOD,PASS),UNIT=SYSDA, // SPACE=(10,(10,10)),DCB=BLKSIZE=400 //LKED EXEC PGM=IEWL,REGION=1024K //SYSPRINT DD SYSOUT=A //SYSLIB DD DSN=PM7351.TEST2.LOADLIB,DISP=SHR // DD DSN=PM7351.TEST2.COB(PGM1),DISP=SHR //SYSLMOD DD DSN=PM7351.TEST2.LOADLIB, // DISP=SHR //SYSUT1 DD UNIT=SYSDA,DCB=BLKSIZE=1024,SPACE=(CYL,(1,1)) //SYSTERM DD SYSOUT=* //SYSLIN DD DSN=&&LOAD,DISP=(OLD,DELETE) //SYSIN DD DUMMY i am getting IEW2013I 0F08 NO MEMBER NAME WAS SPECIFIED. MODULE WAS SAVED USING TEMPNAM1. could any one tell me the resolution for this..?
what will happen if i give program name and member name as different? program runs successful or w'll abend?
What is difference between static and dynamic call in cobol?
How To Separate The Numerics From An Alphanumric Data Item Which Contains Both Alphabates And Numerics ?
s9(18) comp-3:: What is the size of memory it takes internally?