Before repositioning

At the receiver end (DIRECT = R) with file accessing managed by the user, the user function has to reposition using the information (rpos, frecs and fcars) the Transfer CFT provides.

At the sender end (DIRECT = S) or if file accessing is managed by Transfer CFT, the Transfer CFT has all the information it requires for repositioning.

In both cases, you can request the restart of the transfer  from the beginning of the file by setting the ret1 field to 1.

Fields to define

Field Description

ret1

Return code:

  • 0: processing ok
  • 1: restart at the beginning of the file
  • 9: refusal and end of transfer

ret2

Error message 

msg

Message sent to the standard output 

Field values

  Sender mode Receiver mode

 

 

 

Field

Before

After

Before

After

mtype

5

5

5

5

masc

=

*

=

*

access

=

=

=

=

retsync

0

 

0

 

ret1

0

*

0

*

ret2

blank

*

blank

*

us-sem

 

 

 

 

us-ctx

 

 

 

 

idexit

=

=

=

=

exname

=

=

=

=

parmexit

=

=

=

=

version

=

=

=

=

language

=

=

=

=

reserv

=

=

=

=

waittask

=

=

=

=

part

=

=

=

=

idf

=

=

=

=

nidf

=

=

=

=

idt

=

=

=

=

direct

=

=

=

=

mode

=

=

=

=

relance

=

=

=

=

prot

=

=

=

=

prof

=

=

=

=

spart

=

=

=

=

rpart

=

=

=

=

suser

=

=

=

=

ruser

=

=

=

=

fpassw

=

=

=

=

sappl

=

=

=

=

rappl

=

=

=

=

userid

=

=

=

=

groupid

=

=

=

=

exec

=

=

=

=

fdate

=

=

=

=

ftime

=

=

=

=

fdisp

=

=

=

=

faction

=

=

=

=

state

=

=

=

=

parm

=

=

=

=

comment

=

=

=

=

fname

=

=

=

=

fdb

=

=

=

=

fksize

=

=

=

=

fkloc

=

=

=

=

flrecl

=

=

=

=

fblksize

=

=

=

=

frecfm

=

=

=

=

frecfmx

=

=

=

=

fspace

=

=

=

=

ftype

=

=

=

=

fcode

=

=

=

=

forg

=

=

=

=

facc

=

=

=

=

fsyst

=

=

=

=

nfname

=

=

=

=

nfver

=

=

=

=

nlrecl

=

=

=

=

nblksize

=

=

=

=

nrecfm

=

=

=

=

nrecfmx

=

=

=

=

nspace

=

=

=

=

ntype

=

=

=

=

ncode

=

=

=

=

norg

=

=

=

=

nsyst

=

=

=

=

ncomp

=

=

=

=

fcars

fcars

/

fcars

/

frecs

frecs

/

frecs

/

ecars

ecars

/

ecars

/

nrecs

nrecs

/

nrecs

/

rpos

rpos

/

rpos

/

notify

=

=

=

=

msg

blank

*

blank

*

ldata

/

/

/

/

idtu

=

=

=

=

cMode

=

=

=

=

cAuthPolicy

=

=

=

=

bCipher

=

=

=

=

sParm

=

=

=

=

sRemoteUserDn

=

=

=

=

sRemoteIssuerDn

=

=

=

=

sRemoteCaId

=

=

=

=

sUserCId

=

=

=

=

sCertFname

=

=

=

=

sProf

=

=

=

=

sRemoteSerial

=

=

=

=

ExitFree

=

X

=

X

nspart

=

=

=

=

nrpart

=

=

=

=

XferCycleId

=

=

=

=

XferObjectId

=

=

=

=

Related Links