Page 2 of 5

Re: Pls help me solve my assignment

PostPosted: Mon Feb 04, 2008 9:39 pm
by breentha_d
hi,there

i have done my assignment partly. i am not sure that i am doing the right thing. pls guide me from here. i have attached my work here. pls hightlight the errors i made and how i should correct it. i am not sure on how to perform the search function to locate the files. do guide me. i understand that in batch processing the program is read into the buffer before processing.pls explain to me how the process of loading into the buffer is done.


thanks

Re: Pls help me solve my assignment

PostPosted: Mon Feb 04, 2008 10:10 pm
by dick scherrer
Hello,

i am not sure that i am doing the right thing.
As i mentioned earlier, it looks like your have a good start. The code you attached today looks very much like te code i last looked at. You have a lot more code to add and i'd suggest that be your main focus.

i am not sure on how to perform the search function to locate the files.
I do not understand the question. There should be no "search function" to locate files. FIles are named in a SELECT/FD and used via the corresponding DD statement in the execute jcl.

i understand that in batch processing the program is read into the buffer before processing.pls explain to me how the process of loading into the buffer is done.
How programs are loaded is typically not part of a cobol programming class - it is more of an MVS internals subject (it may be that i misunderstand).

If you have accesdsd to a terminal and can compile your code, i'd suggest you begin compiling as soon as possible, correcting errors and adding the remaining code as you proceed.

When i've worked with students in a training environment, nearly all of them spent very much time at the computer lab working on these projects. Much can be learned talking with others with the same requirement.

When you add more code, i'll try to review it :)

Re: Pls help me solve my assignment

PostPosted: Thu Feb 07, 2008 7:44 am
by dick scherrer
Hello,

How is your project going?

Thought i'd ask as it is now Thursday (your time<g>) and i've not seen any new code to review for a few days.

Hope progress is being made - good luck :)

Re: Pls help me solve my assignment

PostPosted: Fri Feb 08, 2008 11:59 am
by breentha_d
hi dick,


thanks for writing to me. i am in the midst of coding..i compliled the program , and there were lots of errors..lots. i am still debugging. i am stuck at the moment i dont know how to format names using string and unstring i havent done that yet. finally i have to print individual pay slip..i am really really stuck..hopefully by tonite i will send u whatever i have done..hopefully u can help me put from there..



thanks

Re: Pls help me solve my assignment

PostPosted: Fri Feb 08, 2008 6:05 pm
by breentha_d
hi
i am submiting my work now...i am done partially and i have compiled i found alots errors i need help from here on wards. i am stuck and dunno how to proceed.pls help me . i am not done with the string inspection. pls help me and i have to get my program running plus i need to print the pay slip .


thanks.

Re: Pls help me solve my assignment

PostPosted: Sat Feb 09, 2008 1:20 am
by breentha_d
someone pls answer me......i am lack of time

Re: Pls help me solve my assignment

PostPosted: Sat Feb 09, 2008 1:49 am
by dick scherrer
Hello,

I downloaded your attachment an hour or so ago and yes, there are many diagnostics that need to be corrected.

For starters (something i may have suggested previously), any "real" words need to be replaced with cobol-friendly words (one of the first errors is the use of POSITION as a data-name). Also, quite a few errors are caused by the improper use of pic X field definition as a subscript.

Time permitting this evening, i can go thru the code in more detail, but in the meantime, i'd suggest you correct those errors and any others that are similar, run another compile, and upload the output to be reviewed.

Re: Pls help me solve my assignment

PostPosted: Sat Feb 09, 2008 9:09 am
by dick scherrer
Hello,

Please see the attached review.

Re: Pls help me solve my assignment

PostPosted: Sat Feb 09, 2008 11:57 am
by breentha_d
HI,

there


thanks for guiding me ..i am in the midst of correcting my errors. i will post my updates once i am done..

thanks

Re: Pls help me solve my assignment

PostPosted: Sat Feb 09, 2008 3:56 pm
by breentha_d
Hi,
there


I have corrected some of the errors based on the attachemtn u have sent me. However there are some still repeating inspite me correcting..kindly pls help me out . Another things pls look at my codes is there any chances that my program might abend...i am very worried about that since i don't have much time. ..further more based on my specs i need to inspect the employee file on the following delimiters :/ * -. Pls guide on how to do this and also on the printing of the printing of payslips for 4 employees on 1 one page. I need to complete these my tuesday. By the way i am actually working but attending a crush course on cobol for a month since i am suppose to work on a cobol environment. I am not a college student.

Thanks,