View previous topic :: View next topic
|
Author |
Message |
Barbara
New User
Joined: 21 Jan 2009 Posts: 8 Location: Baltimore, Md
|
|
|
|
How do I stop losing the carriage controls on my VB records when I NDM this file?? |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Does the same thing happen with FB files?
When does this happen - transmitting to the mainframe or from the mainframe?
If this happens sending to the mainframe, what is the recfm of the target file? |
|
Back to top |
|
|
Barbara
New User
Joined: 21 Jan 2009 Posts: 8 Location: Baltimore, Md
|
|
|
|
I am going to the windows server. This does NOT happen if the file is fixed. |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
Please post the recfm from the jcl that creates an fb file that works correctly and the recfm from the jcl that creates a vb file that works incorrectly.
What parameters have been used in the ndm control info? Are they the same for both files? |
|
Back to top |
|
|
Barbara
New User
Joined: 21 Jan 2009 Posts: 8 Location: Baltimore, Md
|
|
|
|
SIGNON
SUBMIT DSN=user.PARMLIB(NDMOUTX) -
PNODE=NDM.HCFA -
SNODE=CMSDYN -
SNODEID=(user,password) -
&FROMDSN=input.file.here.ZIPPED -
&TODSN=LTST7287.ZIP -
&COMPRESS=COMPRESS(EXT)
SIGNOFF
NDMPARM PROC PNODE=&PNODE SNODE=&SNODE
STEP01 COPY FROM (PNODE -
DSN=&FROMDSN -
DISP=SHR -
) -
TO (SNODE -
DSN=&TODSN -
SYSOPTS="DATATYPE(BINARY)" -
DISP=RPL -
)
STEP02 IF (STEP01 NE 0) THEN
RUN TASK (PGM=DMNOTFY2,PARM=(FAIL,&TODSN,P2SB)) -
PNODE
EIF |
|
Back to top |
|
|
dick scherrer
Moderator Emeritus
Joined: 23 Nov 2006 Posts: 19244 Location: Inside the Matrix
|
|
|
|
Hello,
That covers the ndm control
Is pkzip being used on the mainframe (some other compression utility)? Is it possibly being told to remove carriage control?
If the file is zipped (or otherwise compressed) ndm would not see the carriage control. . . and would not be able to remove it.
Also,
Quote: |
Please post the recfm from the jcl that creates an fb file that works correctly and the recfm from the jcl that creates a vb file that works incorrectly. |
|
|
Back to top |
|
|
|