IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

Having a JCL error: CONFLICTING DCB PARAMETERS


IBM Mainframe Forums -> JCL & VSAM
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
Douglas Wilder

Active User


Joined: 28 Nov 2006
Posts: 305
Location: Deerfield IL

PostPosted: Tue Oct 09, 2007 8:12 pm
Reply with quote

I will repost my previous post because I believe it has your answer. The first 4 bytes are the length of the variable length record. To remove them use the following.

I think you want OUTREC=(1:5,108).
If you do not need to sort the file SORT FIELDS=COPY will work fine in place of SORT FIELDS=COPY.
Note that with length 108 you are still cutting off byte 109. Check to see if this contains needed data.
Back to top
View user's profile Send private message
swapnadeep.ganguly

Active User


Joined: 21 Mar 2007
Posts: 203
Location: India

PostPosted: Wed Oct 10, 2007 9:19 am
Reply with quote

I think I cannot make myself clear to you Guru's.

My question is while we use the IBM Utility DSNUTILB, do we get a junk value in the first two columns of the generated dataset?

After following the method you all suggested, I was able to generate the file without the junk characters.
Back to top
View user's profile Send private message
enrico-sorichetti

Superior Member


Joined: 14 Mar 2007
Posts: 10873
Location: italy

PostPosted: Wed Oct 10, 2007 11:27 am
Reply with quote

Quote:
My question is while we use the IBM Utility DSNUTILB, do we get a junk value in the first two columns of the generated dataset?


Why do You ask a question which You already replied by Yourself,

the original program, AS YOU SAID, creates a VB ( variable blocked ) dataset

what You consider JUNK ( garbage/useless things) is the most important component of VB organization...
THE LENGHT OF THE RECORD
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic View Bookmarks
All times are GMT + 6 Hours
Forum Index -> JCL & VSAM Goto page Previous  1, 2

 


Similar Topics
Topic Forum Replies
No new posts Error to read log with rexx CLIST & REXX 11
No new posts Error when install DB2 DB2 2
No new posts CLIST - Virtual storage allocation error CLIST & REXX 5
No new posts Passing Parameters to Programs Invoke... PL/I & Assembler 5
No new posts Error while running web tool kit REXX... CLIST & REXX 5
Search our Forums:

Back to Top