how to change the length of the field in a physicalfile?
Answers were Sorted based on User's Feedback
Answer / mind
first open the source and change the field length or add
field then save and exit. now using chgpf command we can do
this without compiling again. if we increase the length
it's o.k. but if we decresed the length warning message
appear like data may be lost. in this case we can't
decresed length.
| Is This Answer Correct ? | 2 Yes | 4 No |
Answer / prima krishnan
By using the CHGPF command,we can change the length of a
field in a physical file....
| Is This Answer Correct ? | 2 Yes | 6 No |
what is ment by "MDT"
How can we access Interactive job LDA in Batch Job?. and How we can access a file in interactive QTEMP lib in Batch job?.
what built in function can be used with SETLL.If you want to check whether the search argument is successful or not? Please give me answer with example?
Assume my file has 100 records and I want to see only first 10 records. Is this possible through lf?
When PGMA calls PGMB for the first time PGMB executes the *INZSR. PGMB uses the RETRN operation to return to PGMA. When PGMA call PGMB the second time is the *INZSR executed?
suppose one file is used by 100 user and file is locked by 100 user, what are the impact analysis?
1.String operatio such as moving the characters to the variables? 2.what are the building functions for check file longs? 3.which of the following methods will make externally describe file fields available to a program? A: A/copy statement that specifies the library file and member of the field reference file source code B: A data structure definition specification that names the file on the EXTNAME keyword C: A data structure definition specification that names the file on the IMPORT keyword? D: A Definition specification for each desired field with the REFFLD keyword
i hav 2 logical files(L1,L2) both r derived from one physical file(P1). how can i use both the logical files in one RPG program? if yes what i have to d.
How can i check the object existance in RPG program without using QCMDEXC command.
in a cl pgm records are copied to a file in qtemp a pgm is called to delete records from the file in qtemp no of records in file in library qtemp is checked wat shud be the count of records let say it was 10 initially endpgm
we hav job which is running as batch. it takes atleast 06hours to complete tht job. bu i wana do tht job with in 3hours.........? so plz post ur answers
can any body correct the following code? Following a procedure which returns the maximum of two numbers.Correct the following code. P GETMAX B D GETMAX PI D NUM1 35 0 D NUM2 45 0 C IF NUM1 > NUM2 C RETURN NUM1 C ELSE C RETURN NUM2 C ENDIF P GETMAX E