Hi all,
I have a following requirement to write the cobol program.
I have to load the 129 variables from input sequential file
which are in excel sheet to the cobol inernal table. and
after loading into table i have to compare this data with
the business file. here compare means controlling the data
whether the format(numeric,alpha) is same in the business
file and in the table??? i have the same data in input and
business file.
could anyone please give me any idea of the logic?//
i have all the 129 different variables(129rows,1 column)is
there .
Answers were Sorted based on User's Feedback
Answer / ng
There is an FTP Utility, where u can load excel sheet into mainframe flat and then u can copy that file into VSAM,GDG whtever u want by using IDCAMS.for FTP ucan use 'GET' command of JCLand there are various methods to do START-RUN-utility.
Below example is by doing thru JCL , have a look!
http://www.google.co.in/#hl=en&sugexp=les%3B&gs_nf=3&cp=26&gs_id=3o&xhr=t&q=how+to+do+ftp+in+mainframes&pf=p&sclient=psy-ab&oq=how+to+do+ftp+in+mainframe&gs_l=&pbx=1&bav=on.2,or.r_gc.r_pw.r_qf.&fp=124c53738206d2fc&bpcl=37189454&biw=1366&bih=667
| Is This Answer Correct ? | 2 Yes | 0 No |
Answer / madhan
plz anybody knows forward it to my mail id:-
kpalli_ms001@yahoo.co.in
| Is This Answer Correct ? | 1 Yes | 0 No |
Answer / ravi
Hi,
Step 1.. convert all the data into to ASCII data with the rows
step 2.. Read this input file
Step 3.. Load all the data in the internal table
Step 4.. Read your business data with the internal table
| Is This Answer Correct ? | 0 Yes | 0 No |
i was faced one question- i have value -00001234.56 Suppress the zeroes and the output should be -1234.56 But Not - 1234.56 spaces should not be available after suppressing the zeroes. logic in jcl and cobol?
what is index and how to use two tables using index?
can we use go to statement inline-perform?
How to Pass table from a cobol program to another cobol program and how to use that table in called program
How to execute a set of JCL statements from a COBOL program?
sample code for read a 2nd record from last in flatfile how can do?
What R 2 of the common forms of the EVALUATE STATEMENT ?
HOW WE WILL SORT THE ARRAY WHICH IS GOING TO USE FOR SEARCH ALL?
1.Is it possible to move the data from 99.99 to 99v99? 2.What is the CICS-vsam Compilation process? 3.In My GDG 5 generation will be there GDG3 got an abend what will happen? 4.In my GDG first generation is +1 And I want to add the new generation what will happen previous generation? 5.How can you give the PIC clause below conditions A). s9 (reddy), B). s9 (5) occurs 5 times? 6.How override the proc from a particular step? and what is symbolic and override Procs?
What is the difference between Perform para and perform asaection in cobol?
Can you REWRITE a record in an ESDS file? Can you DELETE a record from it?
6 Answers ABC, IBM, Mphasis, Wipro,
Whtz the specialty of 77 level number ?