how to change pic of variables declared in copy book
inside progrm?
Answers were Sorted based on User's Feedback
Answer / poonam
Iam agree with prasanna,
REPLACE verb is used to change the name of the varriable
and not the PIC clause..
only way is to REDEFINE it in the program
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / pradeep
copy membername replacing==existin pic clause==new pic clause
| Is This Answer Correct ? | 0 Yes | 1 No |
can we use already existing access path?
When do you get -811 sqlcode and how to resolve it?
What is meant by drda?
Why do you need a secondary index in an ims?
Can min or max be used with alphanumeric data?
can alternate index use in ESDS since it does not contain primary index? if yes can you explain?
How long have you been working on mainframes?
Can you define path?
What is the advantage of defragmentation?
In the procedure division stmt OPEN OUTPUT FILE1. Which of the following is not true about file1. a) there must be a select clause for this file in the file-control paragraph of environment division. b) There must be an FD entry in the file section of the data division. c) The file name must appear in a WRITE stmt in the procedure division. d) There?ll be a CLOSE stmt in procedure division.
How is data retrieved from multiple tables using a single sql statement?
how can u view a vsam file using file-aid