View previous topic :: View next topic
|
Author |
Message |
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Yup, went keylexic - wrong double-letter. . . and they're so close on the keyboard . . . |
|
Back to top |
|
|
Bill O'Boyle
CICS Moderator
Joined: 14 Jan 2008 Posts: 2501 Location: Atlanta, Georgia, USA
|
|
|
|
As soon as the program gains control, issue a CALL to IKJEFT01, building a PRINT INDATASET('YOUR.VSAM.FILE') COUNT(0) TSO command.
To make things easier, pass the DSN in a PARM card and let the program extract the DSN.
Upon return from IKJEFT01, if the LASTCC=0, then the file has data or had a record (or multiple records) written to it at one time and its/they've been deleted. It can then be opened as INPUT or I-O.
If the LASTCC=4, then the file is truly < EMPTY > and it needs to be opened as OUTPUT.
If the LASTCC is other than 0 and other than 4, then you've got other problems, such as the file is open/enabled to CICS.
You'll get several hundred hits for "IKJEFT01" when searched-for on all the IBMMAINFRAME forums.
You can experiment with the PRINT INDATASET('YOUR.VSAM.FILE') COUNT(0) TSO command after exiting ISPF, then followed by the Ready prompt and from here you can enter the command.
HTH....
Bill |
|
Back to top |
|
|
Robert Sample
Global Moderator
Joined: 06 Jun 2008 Posts: 8696 Location: Dubuque, Iowa, USA
|
|
|
|
I don't know ... I like the sound of
Quote: |
When I read the post asking for __________ , I scrooled. |
You can fill in the blank appropriately. |
|
Back to top |
|
|
Frank Yaeger
DFSORT Developer
Joined: 15 Feb 2005 Posts: 7129 Location: San Jose, CA
|
|
|
|
Quote: |
Yup, went keylexic - wrong double-letter. . . and they're so close on the keyboard |
Funny coincidence. I was just listening to NPR in my car and they were talking about funny "autocorrections" where the "smart" phone changes words you type to other words. They had some funny examples like changing Taos to Tacos, babe to baboon, and princess to primate. They said there's even a website dedicated to it. |
|
Back to top |
|
|
|