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: 287
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: 7315

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: 287
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 editting the file by inserting zeros ... pramodrsingh DFSORT/ICETOOL 9 Mon Aug 21, 2017 5:58 pm
No new posts Match two files using multiple keys a... santoshks1987 SYNCSORT 11 Fri Aug 18, 2017 10:50 am
No new posts Multiple VSAM files single output fil... Mohan Kothakota DFSORT/ICETOOL 11 Wed Aug 09, 2017 7:57 pm
This topic is locked: you cannot edit posts or make replies. rexx code to create a ps file Bharath Vikraman CLIST & REXX 4 Mon Aug 07, 2017 10:30 am
No new posts Split file based on comparsion to 2 f... Div Grad DFSORT/ICETOOL 3 Thu Jul 27, 2017 9:16 pm


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