Pls help me solve my assignment



Re: Pls help me solve my assignment

Postby breentha_d » Mon Feb 04, 2008 9:39 pm

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
You do not have the required permissions to view the files attached to this post.
breentha_d
 
Posts: 29
Joined: Mon Dec 10, 2007 2:26 am
Has thanked: 0 time
Been thanked: 0 time

Re: Re: Pls help me solve my assignment

 

Re: Pls help me solve my assignment

Postby dick scherrer » Mon Feb 04, 2008 10:10 pm

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 :)
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

Re: Pls help me solve my assignment

Postby dick scherrer » Thu Feb 07, 2008 7:44 am

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 :)
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

Re: Pls help me solve my assignment

Postby breentha_d » Fri Feb 08, 2008 11:59 am

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
breentha_d
 
Posts: 29
Joined: Mon Dec 10, 2007 2:26 am
Has thanked: 0 time
Been thanked: 0 time

Re: Pls help me solve my assignment

Postby breentha_d » Fri Feb 08, 2008 6:05 pm

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.
You do not have the required permissions to view the files attached to this post.
breentha_d
 
Posts: 29
Joined: Mon Dec 10, 2007 2:26 am
Has thanked: 0 time
Been thanked: 0 time

Re: Pls help me solve my assignment

Postby breentha_d » Sat Feb 09, 2008 1:20 am

someone pls answer me......i am lack of time
breentha_d
 
Posts: 29
Joined: Mon Dec 10, 2007 2:26 am
Has thanked: 0 time
Been thanked: 0 time

Re: Pls help me solve my assignment

Postby dick scherrer » Sat Feb 09, 2008 1:49 am

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.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

Re: Pls help me solve my assignment

Postby dick scherrer » Sat Feb 09, 2008 9:09 am

Hello,

Please see the attached review.
You do not have the required permissions to view the files attached to this post.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6304
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 91 times

Re: Pls help me solve my assignment

Postby breentha_d » Sat Feb 09, 2008 11:57 am

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
breentha_d
 
Posts: 29
Joined: Mon Dec 10, 2007 2:26 am
Has thanked: 0 time
Been thanked: 0 time

Re: Pls help me solve my assignment

Postby breentha_d » Sat Feb 09, 2008 3:56 pm

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,
You do not have the required permissions to view the files attached to this post.
breentha_d
 
Posts: 29
Joined: Mon Dec 10, 2007 2:26 am
Has thanked: 0 time
Been thanked: 0 time

PreviousNext

Return to Off-Topics