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: 7313

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
This topic is locked: you cannot edit posts or make replies. SDSF multiple spool datasets extracte... PJAlarcon CLIST & REXX 1 Fri Apr 21, 2017 10:50 pm
No new posts Length of Tape file Mohan Kothakota JCL & VSAM 9 Thu Apr 20, 2017 10:24 pm
No new posts Need help in reading and validating a... ABINAYATHULASI COBOL Programming 8 Tue Apr 18, 2017 11:42 am
No new posts Validating file with multiple header/... mohitsaini DFSORT/ICETOOL 6 Thu Apr 13, 2017 1:53 am
No new posts Sort Large record length cmsmoon DFSORT/ICETOOL 14 Tue Apr 11, 2017 5:49 pm


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