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
 

 

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

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL
View previous topic :: :: View next topic  
Author Message
useit

Active User


Joined: 05 Oct 2006
Posts: 144

PostPosted: Wed Sep 24, 2014 4:20 pm    Post subject: insert dummy record(Low values) to PS file using DFSORT
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: 271
Location: Room: TREE(3). Hilbert's Hotel

PostPosted: Wed Sep 24, 2014 4:35 pm    Post subject:
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

DFSORT Moderator


Joined: 09 Mar 2011
Posts: 7306

PostPosted: Wed Sep 24, 2014 5:15 pm    Post subject: Reply to: insert dummy record(Low values) to PS file using D
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: 271
Location: Room: TREE(3). Hilbert's Hotel

PostPosted: Wed Sep 24, 2014 5:46 pm    Post subject:
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    IBMMAINFRAMES.com Support Forums -> DFSORT/ICETOOL All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts splitting of file using XMITIP abdulrafi TSO/ISPF 3 Mon Mar 27, 2017 3:01 pm
No new posts Changing of LRECL of a file abdulrafi DFSORT/ICETOOL 2 Fri Mar 24, 2017 3:25 pm
No new posts splitting a file abdulrafi DFSORT/ICETOOL 4 Fri Mar 24, 2017 11:51 am
No new posts Record Not found in AlX but record re... mukun264 COBOL Programming 5 Fri Mar 24, 2017 9:28 am
No new posts Count the length of the record & ... sreekusr DFSORT/ICETOOL 4 Thu Mar 23, 2017 7:52 pm


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