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

insert dummy record(Low values) to PS file using DFSORT


IBM Mainframe Forums -> DFSORT/ICETOOL
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
useit

Active User


Joined: 05 Oct 2006
Posts: 152

PostPosted: Wed Sep 24, 2014 4:20 pm
Reply with quote

hi,

Can you help me in syntax to insert a dummy record in PS file using DFSORT. I need a dummy record in PS file with low-values for the entire record length Of the file. If possible i don’t want to specify the rec length in the sort card.

regds,
useit
Back to top
View user's profile Send private message
mistah kurtz

Active User


Joined: 28 Jan 2012
Posts: 316
Location: Room: TREE(3). Hilbert's Hotel

PostPosted: Wed Sep 24, 2014 4:35 pm
Reply with quote

create your dummy record as HEADER or TRAILER depending upon where do you want it.
Back to top
View user's profile Send private message
Bill Woodger

Moderator Emeritus


Joined: 09 Mar 2011
Posts: 7309
Location: Inside the Matrix

PostPosted: Wed Sep 24, 2014 5:15 pm
Reply with quote

useit,

You'll have to make a better description of what you want. F or V records? Why don't you want to know the length? Where would you want to insert the record? Why do you want to do this?

mistah kurtz,

Do you mean HEADER1/TRAILER1? How would you fill those with binary zeros?
Back to top
View user's profile Send private message
mistah kurtz

Active User


Joined: 28 Jan 2012
Posts: 316
Location: Room: TREE(3). Hilbert's Hotel

PostPosted: Wed Sep 24, 2014 5:46 pm
Reply with quote

Hi Bill.

Yes..I meant HEADER1/TRAILER1. I thought we can use the X'00', but yes, with record length. Something like:
Code:
OUTFIL REMOVECC,HEADER1=(80X'00')
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 -> DFSORT/ICETOOL

 


Similar Topics
Topic Forum Replies
No new posts Compare 2 files and retrive records f... DFSORT/ICETOOL 3
No new posts FTP VB File from Mainframe retaining ... JCL & VSAM 8
No new posts Extract the file name from another fi... DFSORT/ICETOOL 6
No new posts How to split large record length file... DFSORT/ICETOOL 10
No new posts INCLUDE OMIT COND for Multiple values... DFSORT/ICETOOL 5
Search our Forums:

Back to Top