how to access vsam files in cobol and how to differentiate
that this is ESDS file
Answer / javiad
In order to access VSAM file in a cobol program, we need to
code oransiation, access and rec key in the file descrption.
For ESDS add prefix AS- to the DD Name.
| Is This Answer Correct ? | 20 Yes | 0 No |
WT R TECHNICAL MAINFRAME QUESTION ASKED IIN ANJANASOFTEARE??
can i use multiple when statements in search & search all ? justify ur answer?
A cobol program to read a file , match it with other if. If match occurs then write it to an output file. If no match then no need to write it.Error log created by program to track any error.
I am sending values a and b with pic x(10) and pic x(10) by using call statement. In linkage section, I am receiving values with pic x(10) and pic x(11). Will my program fail? will it be compile error or run time abend?
which is better either static call or dynamic call? and why?
study the following 01 A PIC 99V0 VALUE 5 01 B PIC 9V9 VALUE 6 01 C PIC 99V9 VALUE 2.5 01 D PIC 99 VALUE 3 COMPUTE A ROUNDED B C = A+B*C/D ON SIZE ERROR PERFORM PRINT-ERROR the comments of A.B.C after execution of the above statement are a.A=10 B=0 C=10 b.A=10 B=9.9 C=9.9 c.A=10 B=0 C=9.9 d.A=10 B=6 C=10
how many subpgms we can use in a main pgm ? how do u link sub pgm to main pgm ? how can i use the parameters declared in main pgm to sub pgm ?
How can we find that module can be called – whether DYNAMICALLY or STATICALLY?
What is the utilization of copybook in cobol?
BY seeing a program how can we say that it is static call or dynamic call
can we redefine 77 level item is it possible
01 NAME1 PIC X(13) VALUE "COBOL PROGRAMMING". 01 NAME2 PIC X(13). now I want to display the value of NAME1 in reverse order i.e value should be displayed as "GNIMMARGORP LOBOC" HOW can I do that ??? please let me know if any one knows it.