Main frame :
I have a PS file. 4 records. I need toread a particular
field of that file and then add it up.
then write the added field along with all other fields
Answer / dinesh
like this,
1.open the file in I-O mode.
2.Move the file data structure to working-storage data structure.
3.read the particular field, what do you want
4.add the data (or) move the new data to reading the particular field.
5.Rewrite the file.
6.close it.
note: with in the field size you can be add a new data, you are not allowed to add more fields on the file....
Is This Answer Correct ? | 1 Yes | 0 No |
can any body give me answer to this question please? please give me code in cl with the folling specifications. 1.Accept 2 parameters-date and date type 2.If date type is J then convert date to *MDY format 3.If date type is M convert date to *JUL format 4. Send a program message with the value of converted date? Please give me the answer.Because im practicing in my house.Im taking trining on AS/400.
Is it possible to write JAVA program without including any of the packages,such as "import java.io.*"; bcoz I instantly wrote a code without "import..." statement and runned the program on command Line & it worked. the code is: class Person { String name; int age; Person(String s,int a) { name = s; age = a; } accept() { System.out.println(name+"Hi!!!!!"); System.out.println(age); } } class Demo { public static void main(Strings args[])throws IOException { String name = args[0]; int age = Integer.parseInt(args[1]); Person p = new Person(name,age); p.accept(); } }
How many digit have a Polaris 1995 300c.c. 2x4 nad how many have a Polaris 2007 300 c.c 2x4? And what site I can check this information???
In LSMW , what does the following error mean and how to rectify it : Incorrect interface data for set 78 in method C . This error is occuring in idoc processing step of LSMW.
i have two internal tables with customer and credit amount in one table then customer and debit amount in another table. now i need output in single list as customer, credit amount, debit amount and (credit - debit). help me please
Write a Program to find the reverse of a given number.
Write a program in prolog to compute the factorial of a number using iteration/tail recursion?
JasperETL how to install and create simple project explain me clearly fnds iam wtg for ur rply
Write a program that implements a date class containing day, month and year as data members. Implement assignment operator and copy constructor in this class.
Design a timer circuit using VHDL which has the following: input : start_timer(ST) output: long_time(LT) short_time(ST) when the timer is triggered by the ST(either 0 or 1) signal the timer should generate two timing signals accordingly.While the long time is going ON the other should be OFF and vice versa.
i wrote from two tables (employee and department) 1.select * from employee,department; (it is cartesian product) but 2.select * from employee department; (?????????????????) by default it displays the employee table,what is the reason it is not taking department ??? mail @ mak2786@gmail.com Arunkumar
DAL in oracle