Portal | Manuals | References | Downloads | Info | Programs | JCLs | Master the Mainframes
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Usergroups Profile Log in to check your private messages Log in
 

 

BXEnter?? - in VSAM file processing

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM
View previous topic :: :: View next topic  
Author Message
avelayudhan

New User


Joined: 30 Nov 2005
Posts: 26

PostPosted: Thu Mar 15, 2007 6:29 pm    Post subject: BXEnter?? - in VSAM file processing
Reply with quote

I am getting a mysterious 'error' while processing a KSDS VSAM file. Initially, the file's top few rows are

-NOTE- CAPS MODE IS "ON"
H***H01 000 ::PAYMENT HISTORY REPORT FOR HRP
H***H01 001 //GSSXXXX JOB XXXXX,'GENESYS OLPHRPTH',PRTY=12,
H***H01 002 // REGION=5100K,CLASS=A
H***H01 003 // JCLLIB ORDER=GENESYS.PROCLIB
H***H01 004 //JOBLIB DD DSN=GENESYS.LOADLIB,DISP=SHR
H***H01 006 //* DD DSN=SYS1.CEE.V1R5M0.SCEERUN,DISP=SHR
H***H01 007 //OLPHRPTH EXEC OLPHRPTH


Then while accessing the program that uses this VSAM, a record is added at the top of the file by the OS? Anyone know what this record is and why this been inserted? The file length is 100 and key length is 15



BXEnter Cmd000
H***H01 000 ::PAYMENT HISTORY REPORT FOR HRP
H***H01 001 //GSSXXXX JOB XXXXX,'GENESYS OLPHRPTH',PRTY=12,
H***H01 002 // REGION=5100K,CLASS=A
H***H01 003 // JCLLIB ORDER=GENESYS.PROCLIB
H***H01 004 //JOBLIB DD DSN=GENESYS.LOADLIB,DISP=SHR
H***H01 006 //* DD DSN=SYS1.CEE.V1R5M0.SCEERUN,DISP=SHR
Back to top
View user's profile Send private message

expat

Global Moderator


Joined: 14 Mar 2007
Posts: 8593
Location: Back in jolly old England

PostPosted: Fri Mar 16, 2007 4:37 pm    Post subject:
Reply with quote

I would somehow doubt that the OS is adding the record.

Have a gooooood long look at everything your program is doing, because the operating system does not hijack programs and insert spurious records into files.

If it does, I think you may have just discovered the very first hack into a mainframe icon_eek.gif
Back to top
View user's profile Send private message
dick scherrer

Site Director


Joined: 23 Nov 2006
Posts: 19270
Location: Inside the Matrix

PostPosted: Fri Mar 16, 2007 9:53 pm    Post subject:
Reply with quote

Hello,

Does this record still exist in the output file?
Quote:
H***H01 007 //OLPHRPTH EXEC OLPHRPTH


You post does not show it in the "problem" file.

Something in your code created a "key" that was lower than "H***H01 " so when you look at the "top" of the file the BXEnter record is first.

When you examine your code you may find that you issued a write without moving proper values to the output area.
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> JCL & VSAM All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Receive a file using PCOMM macro Harald.v.K IBM Tools 0 Thu Mar 23, 2017 6:50 pm
No new posts Export flat file data into excel sheet murali.andaluri DFSORT/ICETOOL 2 Mon Mar 20, 2017 5:39 pm
No new posts Formatting VB File Learncoholic DFSORT/ICETOOL 3 Mon Mar 20, 2017 12:29 pm
No new posts Updating a VSAM file with DISP=OLD sheersh JCL & VSAM 8 Tue Mar 14, 2017 6:14 pm
No new posts SORT VSAM file with each field one by... maxsubrat DFSORT/ICETOOL 6 Tue Mar 14, 2017 1:07 pm


Facebook
Back to Top
 
Mainframe Wiki | Forum Rules | Bookmarks | Subscriptions | FAQ | Tutorials | Contact Us