| View previous topic :: View next topic |
| Author |
Message |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12399 Topics: 75 Location: San Jose
|
|
| Back to top |
|
 |
dbzTHEdinosauer Supermod
Joined: 20 Oct 2006 Posts: 1411 Topics: 26 Location: germany
|
Posted: Thu May 24, 2007 10:07 am Post subject: |
|
|
suma,
you can't delete an ESDS record
you can't have dups with an INDEXED file
At this point, I would venture to say - the design of your system is in question. I am not trying to be nasty or sarcastic. Why do you need to delete these records? The record name suggests a daily activity to update another file based on this input. Are you deleting these records as a RESTART methodology?
If you would take a couple of moments and explain the process, we might be able to provide a solution - or hints to a solution - regardless of how old your compiler is.
By the way, those little squiggly-red-lines underneath words that you type in these posts means that the word is misspelled. If thru trial and error you can not remove the red, here is link to a really good on-line dictionary _________________ Dick Brenholtz
American living in Varel, Germany |
|
| Back to top |
|
 |
Nic Clouston Advanced
Joined: 01 Feb 2007 Posts: 1075 Topics: 7 Location: At Home
|
Posted: Thu May 24, 2007 10:11 am Post subject: |
|
|
wot squiggly little red lines? I do not see any - what option am I missing? or not - as the screen would be full of squiggly red lines - some of them mine! _________________ Utility and Program control cards are NOT, repeat NOT, JCL. |
|
| Back to top |
|
 |
shekar123 Advanced
Joined: 22 Jul 2005 Posts: 528 Topics: 90 Location: Bangalore India
|
|
| Back to top |
|
 |
shekar123 Advanced
Joined: 22 Jul 2005 Posts: 528 Topics: 90 Location: Bangalore India
|
Posted: Thu May 24, 2007 11:19 am Post subject: |
|
|
Kolusu,
The link posted by you routes to the same topic started:
_________________ Shekar
Grow Technically |
|
| Back to top |
|
 |
Nic Clouston Advanced
Joined: 01 Feb 2007 Posts: 1075 Topics: 7 Location: At Home
|
Posted: Thu May 24, 2007 11:22 am Post subject: |
|
|
And there are 2 links that point you to the correct place(s) _________________ Utility and Program control cards are NOT, repeat NOT, JCL. |
|
| Back to top |
|
 |
Phantom Data Mgmt Moderator

Joined: 07 Jan 2003 Posts: 1056 Topics: 91 Location: The Blue Planet
|
Posted: Thu May 24, 2007 11:27 am Post subject: |
|
|
Shekar123
| Quote: | | The link posted by you routes to the same topic started: |
So what ??? The answer to OP's question is there in the link - never mind whether it is the same thread or a different one.
Thanks,
Phantom |
|
| Back to top |
|
 |
shekar123 Advanced
Joined: 22 Jul 2005 Posts: 528 Topics: 90 Location: Bangalore India
|
Posted: Thu May 24, 2007 11:35 am Post subject: |
|
|
Thanks Phantom,
I was in the view that Kolusu by mistake wrongly posted the link. _________________ Shekar
Grow Technically |
|
| Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12399 Topics: 75 Location: San Jose
|
Posted: Thu May 24, 2007 11:46 am Post subject: |
|
|
| Quote: |
I was in the view that Kolusu by mistake wrongly posted the link.
|
sekhar123,
I haven't lost it yet. atleast for now I know what I am linking
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
| Back to top |
|
 |
suma Beginner
Joined: 23 Jan 2006 Posts: 65 Topics: 29
|
Posted: Thu May 24, 2007 12:12 pm Post subject: |
|
|
dbzTHEdinosauer,
I have to create a daily cycle whose requirement is as follows....
copy the records from SOURCE-FILE into FIRST-FILE....
Create a program to read that FIRST-FILE and match against MATCH-FILE records. if the records
MATCH: write the needed information to the OUTPUT-FILE and DELETE the record from the File being read.
IF NO MATCH: then read the next record and process until end of file.These unmatched records should be kept to compare in tomorrows daily cycle(this same cycle will run again).
can anyone suggest a good logic for this.
thanks
Suma |
|
| Back to top |
|
 |
dbzTHEdinosauer Supermod
Joined: 20 Oct 2006 Posts: 1411 Topics: 26 Location: germany
|
Posted: Thu May 24, 2007 12:43 pm Post subject: |
|
|
suma,
I would:- SORT
- Input
- Source-File
- First-File (Son from yesterday)
- Output
- First-File (Father for today)
- Pgm
- Input
- First-File (father for today)
- Match-File
- Output
- First-File (Son for today)
- Output-File
_________________ Dick Brenholtz
American living in Varel, Germany |
|
| Back to top |
|
 |
suma Beginner
Joined: 23 Jan 2006 Posts: 65 Topics: 29
|
Posted: Thu May 24, 2007 1:24 pm Post subject: |
|
|
Thanks dbzTHEdinosauer......
regards
Suma |
|
| Back to top |
|
 |
suma Beginner
Joined: 23 Jan 2006 Posts: 65 Topics: 29
|
|
| Back to top |
|
 |
kolusu Site Admin

Joined: 26 Nov 2002 Posts: 12399 Topics: 75 Location: San Jose
|
Posted: Thu May 24, 2007 1:43 pm Post subject: |
|
|
| Quote: |
This is the bad link which mis guided me....which tell we can delete ESDS file records
|
Did you read the link carefully? The record from an ESDS can be deleted logically , but not physcially.
Kolusu _________________ Kolusu
www.linkedin.com/in/kolusu |
|
| Back to top |
|
 |
dbzTHEdinosauer Supermod
Joined: 20 Oct 2006 Posts: 1411 Topics: 26 Location: germany
|
Posted: Thu May 24, 2007 2:04 pm Post subject: |
|
|
Back in the 70's (3 computer generations ago and 100 OpSYS ago) IBM COBOL allowed for this logical delete on an ESDS file. The file then had to immediately go thru a VSAM reorg in order to drop the record (as well as properly seq the new ones that were added). But IBM dropped the DELETE as an allowable I/O function against an ESDS about 20? years ago. BS2000, Siemens version of MVS, still allows it. This Power Point Presentation was from a university, who's computer science departments are well known for changing/writing their own compilers.
That's why you should always refer to documentation about the compiler that you are using.
just another reason consultant work is so much fun: no one seems to read the change info for new releases. _________________ Dick Brenholtz
American living in Varel, Germany |
|
| Back to top |
|
 |
|
|
|