View previous topic :: View next topic
|
Author |
Message |
Lavanya_Dhushetty Warnings : 2 New User
Joined: 30 Aug 2007 Posts: 24 Location: Chennai
|
|
|
|
How to write the records into ps file from vsam file?
IF EMP-ID IS NUMERIC
MOVE EMP-ID TO OUT-EMP-ID.
IF FIRST-NAME IS ALPHABETIC
MOVE FIRST-NAME TO FIRST-NAME-OUT.
IF MIDDLE-NAME IS ALPHABETIC
MOVE MIDDLE-NAME TO MIDDLE-NAME-OUT.
IF LAST-NAME IS ALPHABETIC
MOVE LAST-NAME TO LAST-NAME-OUT.
write fd-out.
I have written the above code but some junk values are loaded????? |
|
Back to top |
|
|
murmohk1
Senior Member
Joined: 29 Jun 2006 Posts: 1436 Location: Bangalore,India
|
|
|
|
Lavanya,
From your post, nothing is clear. Could you please elaborate? |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Your situation is a probably a data content or alignment problem. It is not a vsam/ps issue.
As Murali requests, please post some detail.
You need to define "junk". You might show the "bad" output (in hex) as well as the input that was moved to that output (also in hex). |
|
Back to top |
|
|
|