Pls help me solve my assignment



Re: Pls help me solve my assignment

Postby breentha_d » Sat Feb 09, 2008 4:06 pm

Hi,

I really need help in this assignment and i have another coming later next week. I very new to COBOL I dont know much on this. I am only learning COBOL for the past maybe 20days. Pls help me in learning COBOL.


Thanks.
breentha_d
 
Posts: 28
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 9:14 pm

Hello,

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
A large part of programming is dealing with abends in newly written code. I would expect there will be some abends during testing.

Additonal info is in this attachment.
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: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: Pls help me solve my assignment

Postby breentha_d » Sun Feb 10, 2008 12:40 am

hi,

thanks for the guide u gave but i am still not clear on how to define the yyyymmdd and in line 426 i really dont know how to correct this. how do i load to a internal table. this is what i am suppose to do actually and i am having errors here for the past few days. and regarding the link u gave there are many links. not sure which to download pls guide me on this.

thanks
breentha_d
 
Posts: 28
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 » Sun Feb 10, 2008 7:15 am

hi,
there

thanks for guiding me all the way, there are errors that i manged to correct but there are still repeating ..and i really dunno how to go about it..pls assist me on how to load an internal table. I do have some errors in the string and unstring as well. after rectifying this i need to proceed to genearating the output which is the payroll summary then finally i have to print the individual payslips. i really dun have any idea on how to print the payslip. i have attached the specs. hope you can assist me on this too.

thanks.
You do not have the required permissions to view the files attached to this post.
breentha_d
 
Posts: 28
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 » Sun Feb 10, 2008 12:37 pm

hi,

there

is there anyone who can guide me on my assignment which i have posted?
breentha_d
 
Posts: 28
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 » Mon Feb 11, 2008 3:13 am

Hello,

Attached is another code review.

One thing that i would strongly encourage is becoming more familiar and comfortable with the COBOL documentation (link provided previously). The documentation is always available while one of us might not be.

I'll try to check back in later tonight (my time) which will be early Monday your time.

Does your next assignment build on this one or is the next assignment something different?
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: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: Pls help me solve my assignment

Postby breentha_d » Mon Feb 11, 2008 4:24 am

hi,

the next assignment( individual payslips) runs together , it is the second output after the payroll summary.



thanks
breentha_d
 
Posts: 28
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 » Mon Feb 11, 2008 9:22 am

Hello,

I'm signing off for the night - i'll check back tomorrow.

d
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

Re: Pls help me solve my assignment

Postby breentha_d » Mon Feb 11, 2008 4:37 pm

hi

there


i have corrected the errors but there are still minor ones appearing..i tried correcting it didnt work i have tried increasing the number of storage spaces but it never worked. hope u can help me on this.

thanks
You do not have the required permissions to view the files attached to this post.
breentha_d
 
Posts: 28
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 » Mon Feb 11, 2008 11:17 pm

Hello,

i have tried increasing the number of storage spaces but it never worked
I don't understand what this is telling me. . .

From your attachment:

000469 2 MOVE K(YY) TO KX(BX)
==000469==> IGYPS2013-E Not enough subscripts or indices were specified for "K".
000469==> IGYPS2013-E Not enough subscripts or indices were specified for "KX"

These (and the other ones further down in the code) are 2-dimensional arrays and require 2 levels (l1, l2) when being
indexed/subscripted). Refer to other places these variables were used - you have 2 levels specified there.
Hope this helps,
d.sch.
User avatar
dick scherrer
Global moderator
 
Posts: 6268
Joined: Sat Jun 09, 2007 8:58 am
Has thanked: 3 times
Been thanked: 93 times

PreviousNext

Return to Off-Topics